NetSight
high7.5

CVE-2020-10663

Unsafe object creation in json RubyGem

Impact

The JSON gem through 2.2.0 for Ruby, as used in Ruby 2.4 through 2.4.9, 2.5 through 2.5.7, and 2.6 through 2.6.5, has an Unsafe Object Creation Vulnerability. This is quite similar to CVE-2013-0269/GHSA-x457-cw4h-hq5f, but does not rely on poor garbage-collection behavior within Ruby. Specifically, use of JSON parsing methods can lead to creation of a malicious object within the interpreter, with adverse effects that are application-dependent.

Affected packages

EcosystemPackageAffectedFixed in
rubygemsjson< 2.3.02.3.0

Affected products

VendorProductAffected versions
Json ProjectJson
through 2.2.0
FedoraprojectFedora
Versions 30, 31
OpensuseLeap
Version 15.1
DebianDebian Linux
Versions 8.0, 10.0
AppleMacos
Version 11.0.1

Weakness classification

References