Live threats

All CVEs / Json Project

CVE-2020-10663Json Project Json

High 7.5 No auth needed

Priority
61
CVSS 3.1
7.5
EPSS
6.8%
probability of exploitation in 30 days · percentile 95
Auth required
No
Published
Apr 28, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Json.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems json < 2.3.0 2.3.0 gem "json", ">= 2.3.0"

Per OSV / GitHub Advisories (GHSA-jphg-qwrw-7w9g). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
json_projectjson≤ 2.2.0
fedoraprojectfedora30
fedoraprojectfedora31
opensuseleap15.1
debiandebian_linux8.0
debiandebian_linux10.0
applemacos11.0.1

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.