VDB

CVE-2020-10663

CVE-2020-10663 PUBLISHED

Unsafe object creation in json RubyGem

Reported by mitre · Published April 28, 2020

json is fixed in 2.3.0 (RubyGems)

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
jsonRubyGems2.3.0
ruby-docAmazon Linux2.0.0.648-36.amzn2.0.2
rubyAlpine2.6.6-r0, 2.5.8-r0, 2.4.10-r0
rubygem-minitestAmazon Linux4.3.2-36.amzn2.0.2
rubygem-bigdecimalAmazon Linux1.2.0-36.amzn2.0.2
rubygemsAmazon Linux2.0.14.1-36.amzn2.0.2
jsonjson_project2.2.0
ruby2.5Ubuntu:18.04:LTS2.5.1-1ubuntu1.8
ruby2.3Ubuntu:16.04:LTS2.3.1-2~ubuntu16.04.15

Affected products

VendorProductVersions
n/an/an/a
n/an/a*

Timeline

  • Mar 20, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 6, 2026 Distribution Patch (11 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (18 in total, the first dated here)
  • Sep 6, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-10663
vulnetix vdb fixes CVE-2020-10663

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-10663/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›