Advisory

GHSA-3m6g-2423-7cp3

Also known as: CVE-2026-33210

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-03-19 12:45 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

json

RubyGems · All systems

Affected

  • introduced 2.18.0, fixed 2.19.2 (ecosystem)

Fixed versions

2.19.2

Fix

The export has no generic command for this ecosystem.

json

RubyGems · All systems

Affected

  • introduced 2.16.0, fixed 2.17.1.2 (ecosystem)

Fixed versions

2.17.1.2

Fix

The export has no generic command for this ecosystem.

json

RubyGems · All systems

Affected

  • introduced 2.14.0, fixed 2.15.2.1 (ecosystem)

Fixed versions

2.15.2.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences