{"answers":{"affected":"2 open source packages ship an affected version, including json. It affects 5 products.","exploited":"There is no known exploitation of CVE-2020-10663 in the wild and no public exploit code.","fix":"Upgrade json to 2.3.0 or later.","what":"CVE-2020-10663 is a high-severity unsafe deserialization vulnerability in Apple Macos, published on 28 Apr 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-10663 and fix it if it is affected.\n\nWhat it is: CVE-2020-10663 is a high-severity unsafe deserialization vulnerability in Apple Macos, published on 28 Apr 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-10663 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- json (RubyGems): affected all versions; fixed in 2.3.0\n- json (RubyGems): affected all versions; fixed in 2.3.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2020-10663/ (Markdown: https://insights.sbomify.com/CVE-2020-10663/index.md)","id":"CVE-2020-10663","markdown":"https://insights.sbomify.com/CVE-2020-10663/index.md","name":"CVE-2020-10663","record":{"aliases":["ALPINE-CVE-2020-10663","CLEANSTART-2026-ZF36625","DEBIAN-CVE-2020-10663","DLA-2190-1","DLA-2192-1","GHSA-jphg-qwrw-7w9g","MGASA-2020-0186","RHSA-2020:2462","RHSA-2020:2473","RHSA-2020:2670","UBUNTU-CVE-2020-10663","openSUSE-SU-2024:11335-1","openSUSE-SU-2024:11829-1","openSUSE-SU-2024:13160-1","openSUSE-SU-2024:13719-1","openSUSE-SU-2025:15118-1","openSUSE-SU-2026:10351-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Ruby JSON library","requires_auth":"none","summary":"Attackers can exploit unsafe object creation in the Ruby JSON gem to potentially execute arbitrary code or cause application-dependent adverse effects.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"macos","vendor":"apple"},{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"json","vendor":"json_project"},{"product":"leap","vendor":"opensuse"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"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.","ecosystems":["Red Hat:enterprise_linux:8::highavailability","Red Hat:enterprise_linux:8::resilientstorage","Red Hat:rhel_e4s:8.0::highavailability","Red Hat:rhel_eus:8.1::highavailability","Red Hat:rhel_eus:8.1::resilientstorage","RubyGems","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2020-03-24","github_poc":1,"max_poc_stars":3,"metasploit":0,"nuclei":0,"refs":[{"date":"2020-03-24T09:53:23Z","kind":"github_poc","ref":"https://github.com/rails-lts/json_cve_2020_10663","stars":3,"title":"Workaround for CVE-2020-10663 (vulnerability in json gem)"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Unsafe object creation in json RubyGem","id":"CVE-2020-10663","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":"apple:macos","products":["apple:macos","debian:debian_linux","fedoraproject:fedora","opensuse:leap"],"type":"deserialization","year":"2020"},"n_packages":17,"n_references":19,"next":{"headline":"Null dereference in n/a","id":"CVE-2020-10664"},"packages":[{"ecosystem":"RubyGems","fixed":["2.3.0"],"introduced":["0"],"last_affected":[],"package":"json","purl":null,"source":"GHSA-jphg-qwrw-7w9g"},{"ecosystem":"RubyGems","fixed":["2.3.0"],"introduced":["0"],"last_affected":[],"package":"json","purl":"pkg:gem/json","source":"GHSA-jphg-qwrw-7w9g"},{"ecosystem":"Red Hat:enterprise_linux:8::highavailability","fixed":["0:0.10.4-6.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/redhat/pcs","source":"RHSA-2020:2462"},{"ecosystem":"Red Hat:enterprise_linux:8::highavailability","fixed":["0:0.10.4-6.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/redhat/pcs-snmp","source":"RHSA-2020:2462"},{"ecosystem":"Red Hat:enterprise_linux:8::resilientstorage","fixed":["0:0.10.4-6.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/redhat/pcs","source":"RHSA-2020:2462"},{"ecosystem":"Red Hat:enterprise_linux:8::resilientstorage","fixed":["0:0.10.4-6.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/redhat/pcs-snmp","source":"RHSA-2020:2462"},{"ecosystem":"Red Hat:rhel_e4s:8.0::highavailability","fixed":["0:0.10.1-4.el8_0.5"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/redhat/pcs","source":"RHSA-2020:2473"},{"ecosystem":"Red Hat:rhel_e4s:8.0::highavailability","fixed":["0:0.10.1-4.el8_0.5"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/redhat/pcs-snmp","source":"RHSA-2020:2473"},{"ecosystem":"Red Hat:rhel_eus:8.1::highavailability","fixed":["0:0.10.2-4.el8_1.1"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/redhat/pcs","source":"RHSA-2020:2670"},{"ecosystem":"Red Hat:rhel_eus:8.1::highavailability","fixed":["0:0.10.2-4.el8_1.1"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/redhat/pcs-snmp","source":"RHSA-2020:2670"},{"ecosystem":"Red Hat:rhel_eus:8.1::resilientstorage","fixed":["0:0.10.2-4.el8_1.1"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/redhat/pcs","source":"RHSA-2020:2670"},{"ecosystem":"Red Hat:rhel_eus:8.1::resilientstorage","fixed":["0:0.10.2-4.el8_1.1"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/redhat/pcs-snmp","source":"RHSA-2020:2670"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.6.3-1.3"],"introduced":["0"],"last_affected":[],"package":"ruby3.2-rubygem-json_pure","purl":"pkg:rpm/opensuse/ruby3.2-rubygem-json_pure\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13160-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.6.1-1.1"],"introduced":["0"],"last_affected":[],"package":"rubygem-json_pure","purl":"pkg:rpm/opensuse/rubygem-json_pure\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:11829-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.7.1-1.1"],"introduced":["0"],"last_affected":[],"package":"rubygem-json_pure","purl":"pkg:rpm/opensuse/rubygem-json_pure\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13719-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.7.6-1.3"],"introduced":["0"],"last_affected":[],"package":"rubygem-json_pure","purl":"pkg:rpm/opensuse/rubygem-json_pure\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15118-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.7.6-1.5"],"introduced":["0"],"last_affected":[],"package":"rubygem-json_pure","purl":"pkg:rpm/opensuse/rubygem-json_pure\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10351-1"}],"prev":{"headline":"HashiCorp Vault Improper Privilege Management","id":"CVE-2020-10661"},"products":["n/a"],"published":"2020-04-28","related":[{"cvss_score":9.8,"headline":"Apple macOS Improper Authentication","id":"CVE-2026-65400","kev_date_added":"2026-08-18","published":"2026-08-06"},{"cvss_score":10,"headline":"Security feature bypass in macOS","id":"CVE-2024-44146","kev_date_added":null,"published":"2024-09-16"},{"cvss_score":10,"headline":"Security feature bypass in macOS","id":"CVE-2024-44148","kev_date_added":null,"published":"2024-09-16"},{"cvss_score":10,"headline":"Security feature bypass in macOS","id":"CVE-2023-38586","kev_date_added":null,"published":"2023-09-26"},{"cvss_score":10,"headline":"Security feature bypass in macOS","id":"CVE-2023-40455","kev_date_added":null,"published":"2023-09-26"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-1999-0590","kev_date_added":null,"published":"2000-02-04"},{"cvss_score":9.8,"headline":"Memory corruption in macOS","id":"CVE-2026-84520","kev_date_added":null,"published":"2026-09-14"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Attackers can exploit unsafe object creation in the Ruby JSON gem to potentially execute arbitrary code or cause application-dependent adverse effects.","url":"https://insights.sbomify.com/CVE-2020-10663/"}