Ruby JSON
Ruby JSON has a format string injection vulnerability
Ruby JSON is a JSON implementation for Ruby. From version 2.14.0 to before versions 2.15.2.1, 2.17.1.2, and 2.19.2, a format string injection vulnerability can lead to denial of service attacks or information disclosure, when the allow_duplicate_key: false parsing option is used to parse user supplied documents. This issue has been patched in versions 2.15.2.1, 2.17.1.2, and 2.19.2.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.1critical · scored by NVD · CWE-134
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
ruby json
- >= 2.14.0, < 2.15.2.1
- >= 2.16.0, < 2.17.1.2
- >= 2.18.0, < 2.19.2
Fixed in 2.15.2.1, 2.17.1.2, 2.19.2
Mitigation
Upgrade json to 2.15.2.1 or 2.17.1.2 or 2.19.2 or later.
References
- Vendor advisory github.com/ruby/json/security/advisories/GHSA-…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.