CVE-2020-10663
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| json | RubyGems | 2.3.0 |
| ruby-doc | Amazon Linux | 2.0.0.648-36.amzn2.0.2 |
| ruby | Alpine | 2.6.6-r0, 2.5.8-r0, 2.4.10-r0 |
| rubygem-minitest | Amazon Linux | 4.3.2-36.amzn2.0.2 |
| rubygem-bigdecimal | Amazon Linux | 1.2.0-36.amzn2.0.2 |
| rubygems | Amazon Linux | 2.0.14.1-36.amzn2.0.2 |
| json | json_project | 2.2.0 |
| ruby2.5 | Ubuntu:18.04:LTS | 2.5.1-1ubuntu1.8 |
| ruby2.3 | Ubuntu:16.04:LTS | 2.3.1-2~ubuntu16.04.15 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/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
- x_refsource_CONFIRM
- [debian-lts-announce] 20200430 [SECURITY] [DLA 2192-1] ruby2.1 security update mailing-listx_refsource_MLIST
- openSUSE-SU-2020:0586 vendor-advisoryx_refsource_SUSE
- FEDORA-2020-26df92331a vendor-advisoryx_refsource_FEDORA
- FEDORA-2020-d171bf636d vendor-advisoryx_refsource_FEDORA
- FEDORA-2020-a95706b117 vendor-advisoryx_refsource_FEDORA
- DSA-4721 vendor-advisoryx_refsource_DEBIAN
- [zookeeper-dev] 20200913 [jira] [Created] (ZOOKEEPER-3933) owasp failing with json-simple-1.1.1.jar: CVE-2020-10663, CVE-2020-7712 mailing-listx_refsource_MLIST
- [zookeeper-issues] 20200913 [jira] [Created] (ZOOKEEPER-3933) owasp failing with json-simple-1.1.1.jar: CVE-2020-10663, CVE-2020-7712 mailing-listx_refsource_MLIST
- [zookeeper-issues] 20200913 [jira] [Resolved] (ZOOKEEPER-3933) owasp failing with json-simple-1.1.1.jar: CVE-2020-10663, CVE-2020-7712 mailing-listx_refsource_MLIST
- [zookeeper-issues] 20200930 [jira] [Comment Edited] (ZOOKEEPER-3933) owasp failing with json-simple-1.1.1.jar: CVE-2020-10663, CVE-2020-7712 mailing-listx_refsource_MLIST
- [zookeeper-issues] 20200930 [jira] [Commented] (ZOOKEEPER-3933) owasp failing with json-simple-1.1.1.jar: CVE-2020-10663, CVE-2020-7712 mailing-listx_refsource_MLIST
- [zookeeper-issues] 20200930 [jira] [Issue Comment Deleted] (ZOOKEEPER-3933) owasp failing with json-simple-1.1.1.jar: CVE-2020-10663, CVE-2020-7712 mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- 20201215 APPLE-SA-2020-12-14-4 Additional information for APPLE-SA-2020-11-13-1 macOS Big Sur 11.0.1 mailing-listx_refsource_FULLDISC
- [zookeeper-issues] 20210106 [jira] [Updated] (ZOOKEEPER-3933) owasp failing with json-simple-1.1.1.jar: CVE-2020-10663, CVE-2020-7712 mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- [zookeeper-issues] 20210404 [jira] [Updated] (ZOOKEEPER-3933) owasp failing with json-simple-1.1.1.jar: CVE-2020-10663, CVE-2020-7712 mailing-listx_refsource_MLIST
- [zookeeper-issues] 20210404 [jira] [Assigned] (ZOOKEEPER-3933) owasp failing with json-simple-1.1.1.jar: CVE-2020-10663, CVE-2020-7712 mailing-listx_refsource_MLIST