CVE-2020-10663
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- v3.1•HIGH•Score: 7.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- v2.0•MEDIUM•Score: 5AV:N/AC:L/Au:N/C:N/I:P/A:N
EPSS Trends
Current EPSS score: 6.81%• Percentile: 94%
Techniques & Countermeasures
- CWE-20•Improper Input Validation
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Affected Systems
- alpine•ruby
< 2.5.8-r0 | < 2.6.6-r0 | < 2.6.6-r0 | < 2.6.6-r0 | < 2.6.6-r0 | < 2.6.6-r0 | < 2.6.6-r0 | < 2.6.6-r0 | < 2.6.6-r0 | < 2.6.6-r0 | < 2.6.6-r0 | < 2.6.6-r0 | < 2.6.6-r0 | < 2.6.6-r0 | < 2.6.6-r0 | < 2.4.10-r0
- apple•macos
11.0.1
- debian•ruby-json
< 2.3.0+dfsg-1 | < 2.3.0+dfsg-1 | < 2.3.0+dfsg-1 | < 2.3.0+dfsg-1
- debian•debian_linux
8.0 | 10.0
- fedoraproject•fedora
30 | 31
- json_project•json
≤ 2.2.0
- opensuse•leap
15.1
- redhat•pcs
< 0:0.10.4-6.el8_2.1 | < 0:0.10.4-6.el8_2.1 | < 0:0.10.1-4.el8_0.5 | < 0:0.10.2-4.el8_1.1 | < 0:0.10.2-4.el8_1.1
- redhat•pcs-snmp
< 0:0.10.4-6.el8_2.1 | < 0:0.10.4-6.el8_2.1 | < 0:0.10.1-4.el8_0.5 | < 0:0.10.2-4.el8_1.1 | < 0:0.10.2-4.el8_1.1
References (38)
- https://www.ruby-lang.org/en/news/2020/03/19/json-dos-cve-2020-10663/
- https://lists.debian.org/debian-lts-announce/2020/04/msg00030.html
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00004.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7QL6MJD2BO4IRJ5CJFNMCDYMQQFT24BJ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NK2PBXWMFRUD7U7Q7LHV4KYLYID77RI4/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F4TNVTT66VPRMX5UZYSDGSVRXKKDDDU5/
- https://www.debian.org/security/2020/dsa-4721
- https://lists.apache.org/thread.html/r8d2e174230f6d26e16c007546e804c343f1f68956f526daaafa4aaae%40%3Cdev.zookeeper.apache.org%3E
- https://lists.apache.org/thread.html/rd9b9cc843f5cf5b532bdad9e87a817967efcf52b917e8c43b6df4cc7%40%3Cissues.zookeeper.apache.org%3E
- https://lists.apache.org/thread.html/ree3abcd33c06ee95ab59faa1751198a1186d8941ddc2c2562c12966c%40%3Cissues.zookeeper.apache.org%3E
- https://lists.apache.org/thread.html/rb023d54a46da1ac0d8969097f5fecc79636b07d3b80db7b818a5c55c%40%3Cissues.zookeeper.apache.org%3E
- https://lists.apache.org/thread.html/rb2b981912446a74e14fe6076c4b7c7d8502727ea0718e6a65a9b1be5%40%3Cissues.zookeeper.apache.org%3E
- https://lists.apache.org/thread.html/r5f17bfca1d6e7f4b33ae978725b2fd62a9f1b3111696eafa9add802d%40%3Cissues.zookeeper.apache.org%3E
- https://support.apple.com/kb/HT211931
- http://seclists.org/fulldisclosure/2020/Dec/32
- https://lists.apache.org/thread.html/rec8bb4d637b04575da41cfae49118e108e95d43bfac39b7b698ee4db%40%3Cissues.zookeeper.apache.org%3E
- https://security.netapp.com/advisory/ntap-20210129-0003/
- https://lists.apache.org/thread.html/r37c0e1807da7ff2bdd028bbe296465a6bbb99e2320dbe661d5d8b33b%40%3Cissues.zookeeper.apache.org%3E
- https://lists.apache.org/thread.html/r3b04f4e99a19613f88ae088aa18cd271231a3c79dfff8f5efa8cda61%40%3Cissues.zookeeper.apache.org%3E
- https://security.alpinelinux.org/vuln/CVE-2020-10663
- https://access.redhat.com/errata/RHSA-2020:2462
- https://access.redhat.com/security/updates/classification/#moderate
- https://bugzilla.redhat.com/show_bug.cgi?id=1827500
- https://bugzilla.redhat.com/show_bug.cgi?id=1832914
- https://bugzilla.redhat.com/show_bug.cgi?id=1838084
- https://bugzilla.redhat.com/show_bug.cgi?id=1840158
- https://security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_2462.json
- https://access.redhat.com/security/cve/CVE-2020-10663
- https://www.cve.org/CVERecord?id=CVE-2020-10663
- https://nvd.nist.gov/vuln/detail/CVE-2020-10663
- https://www.ruby-lang.org/en/news/2020/03/19/json-dos-cve-2020-10663
- https://access.redhat.com/errata/RHSA-2020:2473
- https://bugzilla.redhat.com/show_bug.cgi?id=1840156
- https://security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_2473.json
- https://access.redhat.com/errata/RHSA-2020:2670
- https://bugzilla.redhat.com/show_bug.cgi?id=1840157
- https://security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_2670.json
- https://security-tracker.debian.org/tracker/CVE-2020-10663