{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.commons:commons-configuration2. It affects 3 products.","exploited":"There is no known exploitation of CVE-2020-1953 in the wild and no public exploit code.","fix":"Upgrade org.apache.commons:commons-configuration2 to 2.7 or later.","what":"CVE-2020-1953 is a critical unsafe deserialization vulnerability in Oracle Database Server, published on 13 Mar 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-1953 and fix it if it is affected.\n\nWhat it is: CVE-2020-1953 is a critical unsafe deserialization vulnerability in Oracle Database Server, published on 13 Mar 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-1953 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.commons:commons-configuration2 (Maven): affected from 2.2; fixed in 2.7\n- org.apache.commons:commons-configuration2 (Maven): affected from 2.2; fixed in 2.7\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-1953/ (Markdown: https://insights.sbomify.com/CVE-2020-1953/index.md)","id":"CVE-2020-1953","markdown":"https://insights.sbomify.com/CVE-2020-1953/index.md","name":"CVE-2020-1953","record":{"aliases":["DEBIAN-CVE-2020-1953","GHSA-7qx4-pp76-vrqh","UBUNTU-CVE-2020-1953"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Java configuration library","requires_auth":"none","summary":"Attackers can execute arbitrary code by supplying malicious YAML files to applications using Apache Commons Configuration.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"commons_configuration","vendor":"apache"},{"product":"database_server","vendor":"oracle"},{"product":"healthcare_foundation","vendor":"oracle"}],"cvss":{"score":10,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[],"description":"Apache Commons Configuration uses a third-party library to parse YAML files which by default allows the instantiation of classes if the YAML includes special statements. Apache Commons Configuration versions 2.2, 2.3, 2.4, 2.5, 2.6 did not change the default settings of this library. So if a YAML file was loaded from an untrusted source, it could therefore load and execute code out of the control of the host application.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Remote code execution in Apache Commons Configuration","id":"CVE-2020-1953","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"oracle:database_server","products":["oracle:database_server"],"type":"deserialization","year":"2020"},"n_packages":2,"n_references":4,"next":{"headline":"Apache CXF JMX Integration is vulnerable to a MITM attack","id":"CVE-2020-1954"},"packages":[{"ecosystem":"Maven","fixed":["2.7"],"introduced":["2.2"],"last_affected":[],"package":"org.apache.commons:commons-configuration2","purl":null,"source":"GHSA-7qx4-pp76-vrqh"},{"ecosystem":"Maven","fixed":["2.7"],"introduced":["2.2"],"last_affected":[],"package":"org.apache.commons:commons-configuration2","purl":"pkg:maven/org.apache.commons/commons-configuration2","source":"GHSA-7qx4-pp76-vrqh"}],"prev":{"headline":"Improper Certificate Validation in Apache IoTDB","id":"CVE-2020-1952"},"products":["Apache Commons Configuration"],"published":"2020-03-13","related":[{"cvss_score":9.8,"headline":"Apache Commons Configuration insecure interpolation defaults","id":"CVE-2022-33980","kev_date_added":null,"published":"2022-07-06"},{"cvss_score":7.3,"headline":"Apache Commons Configuration: StackOverflowError adding property in AbstractListDelimiterHandler.flattenIterator()","id":"CVE-2024-29131","kev_date_added":null,"published":"2024-03-21"},{"cvss_score":6.5,"headline":"Apache Commons Configuration: Uncontrolled Resource Consumption when loading untrusted configurations in 1.x","id":"CVE-2025-46392","kev_date_added":null,"published":"2025-05-09"},{"cvss_score":5.4,"headline":"Apache Commons Configuration: StackOverflowError calling ListDelimiterHandler.flatten(Object, int) with a cyclical object tree","id":"CVE-2024-29133","kev_date_added":null,"published":"2024-03-21"},{"cvss_score":5.3,"headline":"Apache Commons Configuration: StackOverflowError for YAML input with cycles","id":"CVE-2026-45205","kev_date_added":null,"published":"2026-05-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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["Apache"]},"summary":"Attackers can execute arbitrary code by supplying malicious YAML files to applications using Apache Commons Configuration.","url":"https://insights.sbomify.com/CVE-2020-1953/"}