CVE-2020-10663
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…
Check your servers for CVE-2020-10663
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2020-10663 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 6.81%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 94.1% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2020-10663 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2020-10663RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2020-10663Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2020-10663
trivy image --scanners vuln IMAGE | grep CVE-2020-10663
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://www.ruby-lang.org/en/news/2020/03/19/json-dos-cve-2020-10663/ ruby-lang.org
- openSUSE-SU-2020:0586 lists.opensuse.org · vendor advisory
- FEDORA-2020-26df92331a lists.fedoraproject.org · vendor advisory
- FEDORA-2020-d171bf636d lists.fedoraproject.org · vendor advisory
- FEDORA-2020-a95706b117 lists.fedoraproject.org · vendor advisory
- DSA-4721 debian.org · vendor advisory
- https://support.apple.com/kb/HT211931 support.apple.com
- https://security.netapp.com/advisory/ntap-20210129-0003/ security.netapp.com
Other references
- [debian-lts-announce] 20200430 [SECURITY] [DLA 2192-1] ruby2.1 security update lists.debian.org · mailing list
- [zookeeper-dev] 20200913 [jira] [Created] (ZOOKEEPER-3933) owasp failing with json-simple-1.1.1.jar: CVE-2020-10663… lists.apache.org · mailing list
- [zookeeper-issues] 20200913 [jira] [Created] (ZOOKEEPER-3933) owasp failing with json-simple-1.1.1.jar… lists.apache.org · mailing list
- [zookeeper-issues] 20200913 [jira] [Resolved] (ZOOKEEPER-3933) owasp failing with json-simple-1.1.1.jar… lists.apache.org · mailing list
- [zookeeper-issues] 20200930 [jira] [Comment Edited] (ZOOKEEPER-3933) owasp failing with json-simple-1.1.1.jar… lists.apache.org · mailing list
- [zookeeper-issues] 20200930 [jira] [Commented] (ZOOKEEPER-3933) owasp failing with json-simple-1.1.1.jar… lists.apache.org · mailing list
- [zookeeper-issues] 20200930 [jira] [Issue Comment Deleted] (ZOOKEEPER-3933) owasp failing with… lists.apache.org · mailing list
- 20201215 APPLE-SA-2020-12-14-4 Additional information for APPLE-SA-2020-11-13-1 macOS Big Sur 11.0.1 seclists.org · mailing list
- [zookeeper-issues] 20210106 [jira] [Updated] (ZOOKEEPER-3933) owasp failing with json-simple-1.1.1.jar… lists.apache.org · mailing list
- [zookeeper-issues] 20210404 [jira] [Updated] (ZOOKEEPER-3933) owasp failing with json-simple-1.1.1.jar… lists.apache.org · mailing list
- [zookeeper-issues] 20210404 [jira] [Assigned] (ZOOKEEPER-3933) owasp failing with json-simple-1.1.1.jar… lists.apache.org · mailing list
Source: the record CVE-2020-10663 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse