Skip to content

JSON gem has Improper Input Validation vulnerability

High severity GitHub Reviewed Published Oct 24, 2017 to the GitHub Advisory Database • Updated Nov 6, 2023

Package

bundler json (RubyGems)

Affected versions

< 1.5.5
>= 1.6.0, < 1.6.8
>= 1.7.0, < 1.7.7

Patched versions

1.5.5
1.6.8
1.7.7

Description

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."

References

Published by the National Vulnerability Database Feb 13, 2013
Published to the GitHub Advisory Database Oct 24, 2017
Reviewed Jun 16, 2020
Last updated Nov 6, 2023

Severity

High

Weaknesses

CVE ID

CVE-2013-0269

GHSA ID

GHSA-x457-cw4h-hq5f

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.