Arbitrary Addition Creation Affecting json package, versions >=1.7.0, <1.7.7


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Addition Creation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-JSON-20056
  • published3 Feb 2013
  • disclosed3 Feb 2013
  • creditSteve Root

Introduced: 3 Feb 2013

CVE NOT AVAILABLE CWE-284  (opens in a new tab)

Overview

The json gem is a JSON implementation as a Ruby extension in C.

Affected versions of this gem contain a vulnerability in the JSON::GenericObject function which does not restrict users from creating additions, regardless of the state of create_additions. This may allow a remote attacker to create arbitrary additions.

CVSS Scores

version 3.1