Home › News › Vulnerabilities
Ubuntu notice USN-9339-1 patches two json-jwt flaws affecting Ruby token handling
According to Ubuntu USN, Ubuntu Security Notice USN-9339-1 covers two security issues in the json-jwt Ruby package, one affecting AES-GCM token decryption and one affecting JSON Web Encryption parsing. The notice says a standard system update applies the fixes.
VulnerabilitiesData protectionKey points
- Ubuntu Security Notice USN-9339-1 covers two issues in the json-jwt Ruby package.
- CVE-2018-1000539 involves authentication tag checking when decrypting AES-GCM encrypted JSON Web Tokens.
- CVE-2019-18848 involves missing element-count validation when parsing JSON Web Encryption strings.
- The notice says a standard system update applies the fixes.
According to Ubuntu USN, Ubuntu Security Notice USN-9339-1 covers several security issues in the json-jwt package for Ruby. The first, CVE-2018-1000539, involves improper authentication tag checking when decrypting AES-GCM encrypted JSON Web Tokens. The notice says a remote attacker could potentially forge encrypted tokens. The second, CVE-2019-18848, involves failing to validate the count of elements when parsing JSON Web Encryption strings, which could let a remote attacker get malformed tokens accepted. The notice lists each CVE twice, although each is described once per issue. It says a standard system update applies the needed changes and lists fixed package versions for affected Ubuntu releases. The fixed versions are not reproduced in this brief, so check the original notice for the version that matches your release. Readers can find the full notice on the Ubuntu security notices site.
What to do
- Apply the standard Ubuntu system update that the notice describes.
- Confirm the installed json-jwt package version against the fixed versions listed in USN-9339-1 for your Ubuntu release.
Original report
“USN-9339-1: json-jwt vulnerabilities”
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-…
Vulnerabilities mentioned
- CVE-2018-1000539 Medium