Vulnerability GHSA-3m6g-2423-7cp3
High Risk
HIGH RISK
CVSS Score: 8.0
Score Range: 7.0–8.9
High severity vulnerabilities (CVSS 7.0–8.9). Serious vulnerabilities that should be prioritized soon after critical fixes.
8 months ago
March 19, 2026 at 12:45 PM UTC
Ruby JSON has a format string injection vulnerability
2.14.0 - 2.19.1
2.14.0 - 2.19.1
Summary
Ruby JSON has a format string injection vulnerability
Details
Impact
A format string injection vulnerability than that 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 option isn't the default, if you didn't opt-in to use it, you are not impacted.
Patches
Patched in 2.19.2.
Workarounds
The issue can be avoided by not using the allow_duplicate_key: false parsing option.
References
- WEB — github.com
- ADVISORY — nvd.nist.gov
- WEB — github.com
- WEB — github.com
- WEB — access.redhat.com
- WEB — access.redhat.com
- WEB — access.redhat.com
- WEB — access.redhat.com
- WEB — bugzilla.redhat.com
- PACKAGE — github.com
- WEB — github.com
- WEB — github.com
- WEB — github.com
- WEB — github.com
- WEB — github.com
- WEB — security.access.redhat.com
Related Vulnerabilities
Other vulnerabilities affecting the same packages
Low Risk
3 months ago
Ruby JSON: JSON::ResumableParser#partial_value dereferences a freed input buffer and crashes on truncated duplicate-key streams
2.20.0 - 2.21.1 GHSA-9hj4-r449-hfvc
2.20.0 - 2.21.1 GHSA-9hj4-r449-hfvc
Low Risk
4 months ago
Ruby json: JSON generator heap buffer overflow when streaming to an IO
2.9.0 - 2.15.2 and 2.15.2.1 and 2.16.0 - 2.17.1 and 2.17.1.2 and 2.18.0 - 2.19.8 GHSA-x2f5-4prf-w687
2.9.0 - 2.15.2 and 2.15.2.1 and 2.16.0 - 2.17.1 and 2.17.1.2 and 2.18.0 - 2.19.8 GHSA-x2f5-4prf-w687
High Risk
1 year ago
Out-of-bounds Read in Ruby JSON Parser
2.10.0 - 2.10.1 GHSA-9m3q-rhmv-5q44
2.10.0 - 2.10.1 GHSA-9m3q-rhmv-5q44
High Risk
6 years ago
Unsafe object creation in json RubyGem
0.4.0 - 1.2.4 and 1.4.0 - 1.6.0 and 1.6.0.1 and 1.6.1 - 1.8.3 and 1.8.5 - 2.2.0 GHSA-jphg-qwrw-7w9g
0.4.0 - 1.2.4 and 1.4.0 - 1.6.0 and 1.6.0.1 and 1.6.1 - 1.8.3 and 1.8.5 - 2.2.0 GHSA-jphg-qwrw-7w9g
High Risk
9 years ago
JSON gem has Improper Input Validation vulnerability
0.4.0 - 1.2.4 and 1.4.0 - 1.6.0 and 1.6.0.1 and 1.6.1 - 1.7.6 GHSA-x457-cw4h-hq5f
0.4.0 - 1.2.4 and 1.4.0 - 1.6.0 and 1.6.0.1 and 1.6.1 - 1.7.6 GHSA-x457-cw4h-hq5f
Impacted packages
Timeline
Published
8 months ago
March 19, 2026 at 12:45 PM UTC
Fixed (2.19.2)
8 months ago
March 18, 2026 at 05:26 PM UTC
Fixed (2.17.1.2)
8 months ago
March 18, 2026 at 05:44 PM UTC
Fixed (2.15.2.1)
8 months ago
March 18, 2026 at 05:48 PM UTC
Last Modified
16 hours ago
November 30, 2026 at 04:00 PM UTC