Advisory

GHSA-x457-cw4h-hq5f

Also known as: CVE-2013-0269

Summary

JSON gem has Improper Input Validation vulnerability

Details

The JSON gem before 1.5.5, 1.6.x before 1.6.8, and 1.7.x before 1.7.7 for Ruby allows remote attackers to cause a denial of service (resource consumption) or bypass the mass assignment protection mechanism via a crafted JSON document that triggers the creation of arbitrary Ruby symbols or certain internal objects, as demonstrated by conducting a SQL injection attack against Ruby on Rails, aka "Unsafe Object Creation Vulnerability."

Severity

High Basis: The source's own band: HIGH

Dates

Published
2017-10-24 18:33 UTC
Modified
2024-12-05 05:39 UTC

Affected packages and fixes

json

RubyGems · All systems

Affected

  • introduced 0, fixed 1.5.5 (ecosystem)

Fixed versions

1.5.5

Fix

The export has no generic command for this ecosystem.

json

RubyGems · All systems

Affected

  • introduced 1.6.0, fixed 1.6.8 (ecosystem)

Fixed versions

1.6.8

Fix

The export has no generic command for this ecosystem.

json

RubyGems · All systems

Affected

  • introduced 1.7.0, fixed 1.7.7 (ecosystem)

Fixed versions

1.7.7

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