Summary
It was discovered that json-jwt did not properly verify the authentication
tag when decrypting AES-GCM encrypted JSON Web Tokens. A remote attacker
could possibly use this issue to forge encrypted tokens. (CVE-2018-1000539)
It was discovered that json-jwt did not check the number of elements when
splitting JSON Web Encryption strings. A remote attacker could possibly use
this issue to cause json-jwt to accept malformed tokens. (CVE-2019-18848)
Fixed packages 1
| Release | Package | Fixed in |
|---|---|---|
| Ubuntu · Pro 18.04 LTS Pro:18.04:LTS | ruby-json-jwt | 1.7.2-1ubuntu0.1~esm1 |
Vulnerabilities 2
-
High 7.5
JSON-jwt Gem lacked element count during splitting of JWE string
The json-jwt gem before 1.11.0 for Ruby lacks an element count during the splitting of a JWE string.
-
Medium 5.3
Json-jwt did not verify the cryptographic signature for data
Nov json-jwt version >= 0.5.0 && < 1.9.4 contains a CWE-347: Improper Verification of Cryptographic Signature vulnerability in Decryption of AES-GCM encrypted JSON Web Tokens that can result in Attacker can forge a authentication tag. This attack appear to be…