CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NHigh (7.5). EPSS 6.8% estimated probability of exploitation activity in the next 30 days. Fixed in json 2.3.0.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:Njson (RubyGems): fixed in 2.3.0Explain CVE-2020-10663 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-10663?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-10663?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-10663 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| json_project:json | through 2.2.0 |
| fedoraproject:fedora | 30 |
| fedoraproject:fedora | 31 |
| opensuse:leap | 15.1 |
| debian:debian_linux | 8.0 |
| debian:debian_linux | 10.0 |
| apple:macos | 11.0.1 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-jphg-qwrw-7w9g | RubyGems | json | <2.3.0 | 2.3.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 8 | ruby-json | 1.8.1-1+deb8u1 | DLA-2190-1 |
| Debian | 8 | ruby2.1 | 2.1.5-2+deb8u10 | DLA-2192-1 |
| Debian | 10 | ruby2.5 | 2.5.5-3+deb10u2 | DSA-4721-1 |
| Debian | 12, 13, 14 | ruby-json | 2.3.0+dfsg-1 | DEBIAN-CVE-2020-10663 |
| Ubuntu | 14.04:LTS, 16.04:LTS, 18.04:LTS | ruby-json | no fix listed | UBUNTU-CVE-2020-10663 |
| Ubuntu | 16.04:LTS | ruby2.3 | 2.3.1-2~ubuntu16.04.15 | UBUNTU-CVE-2020-10663 USN-4882-1 |
| Ubuntu | 18.04:LTS | ruby2.5 | 2.5.1-1ubuntu1.8 | UBUNTU-CVE-2020-10663 USN-4882-1 |
| Ubuntu | 20.04:LTS | ruby2.7 | 2.7.0-5ubuntu1.3 | USN-4882-1 |
| Red Hat | enterprise_linux:8::appstream | ruby, ruby-doc, ruby-irb and 5 more | 0:2.5.9-107.module+el8.4.0+10822+fe4fffb1 | RHSA-2021:2587 |
| Red Hat | enterprise_linux:8::appstream | ruby, ruby-doc, ruby-libs and 4 more | 0:2.6.7-107.module+el8.4.0+10830+bbd85cce | RHSA-2021:2588 |
| Red Hat | enterprise_linux:8::appstream | rubygem-abrt, rubygem-abrt-doc | 0:0.3.0-4.module+el8.1.0+3653+beb38eb0 | RHSA-2021:2588 |
| Red Hat | enterprise_linux:8::appstream | rubygem-abrt, rubygem-abrt-doc | 0:0.3.0-4.module+el8.1.0+3656+f80bfa1d | RHSA-2021:2587 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bigdecimal, rubygem-bigdecimal-debuginfo | 0:1.3.4-107.module+el8.4.0+10822+fe4fffb1 | RHSA-2021:2587 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bigdecimal, rubygem-bigdecimal-debuginfo | 0:1.4.1-107.module+el8.4.0+10830+bbd85cce | RHSA-2021:2588 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bson, rubygem-bson-doc, rubygem-bson-debuginfo and 1 more | 0:4.3.0-2.module+el8.1.0+3656+f80bfa1d | RHSA-2021:2587 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bson, rubygem-bson-doc, rubygem-bson-debuginfo and 1 more | 0:4.5.0-1.module+el8.1.0+3653+beb38eb0 | RHSA-2021:2588 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bundler | 0:1.17.2-107.module+el8.4.0+10830+bbd85cce | RHSA-2021:2588 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bundler, rubygem-bundler-doc | 0:1.16.1-3.module+el8.1.0+3656+f80bfa1d | RHSA-2021:2587 |
| Red Hat | enterprise_linux:8::appstream | rubygem-did_you_mean | 0:1.2.0-107.module+el8.4.0+10822+fe4fffb1 | RHSA-2021:2587 |
| Red Hat | enterprise_linux:8::appstream | rubygem-did_you_mean | 0:1.3.0-107.module+el8.4.0+10830+bbd85cce | RHSA-2021:2588 |
| 110 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL and 14 more | ruby2.1 | 2.1.9-19.3.2 | SUSE-SU-2020:1570-1 |
| SUSE | HPE Helion OpenStack 8 | documentation-hpe-helion-openstack-user, documentation-hpe-helion-openstack-planning, documentation-hpe-helion-openstack-security and 3 more | 8.20200527-1.26.1 | SUSE-SU-2020:1901-1 |
| SUSE | HPE Helion OpenStack 8 | openstack-dashboard-theme-HPE | 8+git.1523473653.6599ec8-3.3.1 | SUSE-SU-2020:1901-1 |
| SUSE | HPE Helion OpenStack 8 | venv-openstack-horizon-hpe | 12.0.5~dev3-14.30.1 | SUSE-SU-2020:1901-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | ansible1 | 1.9.6-7.3.1 | SUSE-SU-2020:1901-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | ardana-ansible | 8.0+git.1589740980.6c3bcdc-3.73.1 | SUSE-SU-2020:1901-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | ardana-cluster | 8.0+git.1585685203.3e71e49-3.36.1 | SUSE-SU-2020:1901-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | ardana-freezer | 8.0+git.1586539529.b7d295f-3.21.1 | SUSE-SU-2020:1901-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | ardana-input-model | 8.0+git.1589740934.0e0ad61-3.39.1 | SUSE-SU-2020:1901-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | ardana-logging | 8.0+git.1591194866.b7375d0-3.24.1 | SUSE-SU-2020:1901-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | ardana-mq | 8.0+git.1589715269.62ad6df-3.22.1 | SUSE-SU-2020:1901-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | ardana-neutron | 8.0+git.1590756744.ba84abc-3.42.1 | SUSE-SU-2020:1901-1 |
| 89 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 15.1 | ruby2.5 | 2.5.8-lp151.4.9.1 | openSUSE-SU-2020:0586-1 |
| openSUSE | Tumbleweed | ruby2.7 | 2.7.3-3.2 | openSUSE-SU-2024:11310-1 |
| openSUSE | Tumbleweed | ruby3.0 | 3.0.1-3.2 | openSUSE-SU-2024:11311-1 |
| openSUSE | Tumbleweed | ruby3.1 | 3.1.0-1.1 | openSUSE-SU-2024:11786-1 |
| openSUSE | Tumbleweed | ruby3.2 | 3.2.1-1.1 | openSUSE-SU-2024:12712-1 |
| openSUSE | Tumbleweed | ruby3.2-rubygem-json_pure | 2.6.3-1.3 | openSUSE-SU-2024:13160-1 |
| openSUSE | Tumbleweed | ruby3.3 | 3.3.0-1.2 | openSUSE-SU-2024:13623-1 |
| openSUSE | Tumbleweed | ruby3.4 | 3.4.1-1.1 | openSUSE-SU-2025:14621-1 |
| openSUSE | Tumbleweed | ruby4.0 | 4.0.0~preview2-1.1 | openSUSE-SU-2025:15819-1 |
| openSUSE | Tumbleweed | rubygem-json_pure | 2.6.1-1.1 | openSUSE-SU-2024:11829-1 |
| openSUSE | Tumbleweed | rubygem-json_pure | 2.7.1-1.1 | openSUSE-SU-2024:13719-1 |
| openSUSE | Tumbleweed | rubygem-json_pure | 2.7.6-1.3 | openSUSE-SU-2025:15118-1 |
| 1 more for openSUSE in the JSON and on openSUSE's page. | ||||
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.3.0-4.module_el8.5.0+259+8cec6917 | ALSA-2021:2587 ALSA-2021:2588 |
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.3.0-4.module_el8.5.0+2623+08a8ba32 | ALSA-2021:2587 ALSA-2021:2588 |
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.3.0-4.module_el8.5.0+2625+ec418553 | ALSA-2021:2587 |
| AlmaLinux | 8 | rubygem-bson, rubygem-bson-doc | 4.3.0-2.module_el8.5.0+259+8cec6917 | ALSA-2021:2587 |
| AlmaLinux | 8 | rubygem-bson, rubygem-bson-doc | 4.3.0-2.module_el8.5.0+2625+ec418553 | ALSA-2021:2587 |
| AlmaLinux | 8 | rubygem-bson, rubygem-bson-doc | 4.5.0-1.module_el8.5.0+250+ba22dbf7 | ALSA-2021:2588 |
| AlmaLinux | 8 | rubygem-bson, rubygem-bson-doc | 4.5.0-1.module_el8.5.0+2623+08a8ba32 | ALSA-2021:2588 |
| AlmaLinux | 8 | rubygem-mongo, rubygem-mongo-doc | 2.5.1-2.module_el8.5.0+259+8cec6917 | ALSA-2021:2587 |
| AlmaLinux | 8 | rubygem-mongo, rubygem-mongo-doc | 2.5.1-2.module_el8.5.0+2625+ec418553 | ALSA-2021:2587 |
| AlmaLinux | 8 | rubygem-mongo, rubygem-mongo-doc | 2.8.0-1.module_el8.5.0+250+ba22dbf7 | ALSA-2021:2588 |
| AlmaLinux | 8 | rubygem-mongo, rubygem-mongo-doc | 2.8.0-1.module_el8.5.0+2623+08a8ba32 | ALSA-2021:2588 |
| AlmaLinux | 8 | rubygem-mysql2, rubygem-mysql2-doc | 0.4.10-4.module_el8.5.0+259+8cec6917 | ALSA-2021:2587 |
| 7 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | ruby | 0:2.5.9-107.module+el8.4.0+592+03ff458a | RLSA-2021:2587 |
| Rocky Linux | 8 | ruby | 0:2.6.7-107.module+el8.4.0+593+8d7f9f0c | RLSA-2021:2588 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.3.0-4.module+el8.3.0+167+5c390590 | RLSA-2021:2587 RLSA-2021:2588 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.3.0-4.module+el8.4.0+592+03ff458a | RLSA-2021:2587 RLSA-2021:2588 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.3.0-4.module+el8.5.0+738+032c9c02 | RLSA-2021:2587 RLSA-2021:2588 |
| Rocky Linux | 8 | rubygem-bson | 0:4.3.0-2.module+el8.3.0+167+5c390590 | RLSA-2021:2587 |
| Rocky Linux | 8 | rubygem-bson | 0:4.3.0-2.module+el8.4.0+592+03ff458a | RLSA-2021:2587 |
| Rocky Linux | 8 | rubygem-bson | 0:4.5.0-1.module+el8.4.0+446+80b53620 | RLSA-2021:2588 |
| Rocky Linux | 8 | rubygem-bson | 0:4.5.0-1.module+el8.4.0+593+8d7f9f0c | RLSA-2021:2588 |
| Rocky Linux | 8 | rubygem-bundler | 0:1.16.1-3.module+el8.3.0+167+5c390590 | RLSA-2021:2587 |
| Rocky Linux | 8 | rubygem-bundler | 0:1.16.1-3.module+el8.4.0+592+03ff458a | RLSA-2021:2587 |
| Rocky Linux | 8 | rubygem-mongo | 0:2.5.1-2.module+el8.4.0+349+3470f258 | RLSA-2021:2587 |
| 14 more for Rocky Linux in the JSON. | ||||
| Alpine | v3.7 | ruby | 2.4.10-r0 | ALPINE-CVE-2020-10663 |
| Alpine | v3.10 | ruby | 2.5.8-r0 | ALPINE-CVE-2020-10663 |
| Alpine | v3.11, v3.12, v3.13 and 11 more | ruby | 2.6.6-r0 | ALPINE-CVE-2020-10663 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
Red Hat CloudForms 5 uses vulnerable rubygem-json, however, is not vulnerable in Ruby since it does not use version which includes JSON into stdlib.
This issue affects the version of JSON(embedded in pcs) as shipped with Red Hat Gluster Storage 3. However, the vulnerable method calls are currently not used by the product and hence this issue has been rated as having a security impact of Low.
To mitigate this vulnerability, do not supply untrusted user input and/or untrusted strings to the following method calls or utilize code libraries which do so:
```
JSON(user_input)
JSON[user_input, nil]
JSON.parse(user_input, nil)
JSON::Parser.new(user_input).parse
```
Also note that JSON.load() should never be given input from unknown sources.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | ruby:2.5-8040020200923213910.522a0ee4 | Fixed 2021-06-29 | RHSA-2021:2587 |
| Red Hat Enterprise Linux 8 | ruby:2.6-8040020210430142949.522a0ee4 | Fixed 2021-06-29 | RHSA-2021:2588 |
| Red Hat Enterprise Linux 8 | pcs-0:0.10.4-6.el8_2.1 | Fixed 2020-06-10 | RHSA-2020:2462 |
| Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions | pcs-0:0.10.1-4.el8_0.5 | Fixed 2020-06-10 | RHSA-2020:2473 |
| Red Hat Enterprise Linux 8.1 Extended Update Support | pcs-0:0.10.2-4.el8_1.1 | Fixed 2020-06-23 | RHSA-2020:2670 |
| Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions | ruby:2.6-8010020220201152941.c27ad7f8 | Fixed 2022-02-21 | RHSA-2022:0581 |
| Red Hat Enterprise Linux 8.2 Extended Update Support | ruby:2.6-8020020220201131207.4cda2c84 | Fixed 2022-02-21 | RHSA-2022:0582 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-ruby25-ruby-0:2.5.9-9.el7 | Fixed 2021-05-26 | RHSA-2021:2104 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-ruby26-ruby-0:2.6.7-119.el7 | Fixed 2021-06-03 | RHSA-2021:2230 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-ruby25-ruby-0:2.5.9-9.el7 | Fixed 2021-05-26 | RHSA-2021:2104 |
| CloudForms Management Engine 5 | ruby | Not affected | |
| CloudForms Management Engine 5 | rubygem-json | Affected | |
| Red Hat 3scale API Management Platform 2 | system | Fix deferred | |
| Red Hat Enterprise Linux 5 | ruby | Not affected | |
| Red Hat Enterprise Linux 6 | ruby | Not affected | |
| Red Hat Enterprise Linux 7 | pcs | Not affected | |
| Red Hat Enterprise Linux 7 | ruby | Will not fix | |
| Red Hat Fuse 7 | jruby | Not affected | |
| Red Hat JBoss A-MQ 6 | jruby-3977 | Not affected | |
| Red Hat JBoss A-MQ 6 | jruby-4198 | Not affected | |
| 12 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-10663.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).