{"answers":{"affected":"3 open source packages ship an affected version, including mercurial. It affects 2 products.","exploited":"There is no known exploitation of CVE-2014-9462 in the wild and no public exploit code.","fix":"Upgrade mercurial to 3.2.4 or later.","what":"CVE-2014-9462 is a high-severity command injection vulnerability in Opensuse Opensuse, published on 31 Mar 2015. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2014-9462 and fix it if it is affected.\n\nWhat it is: CVE-2014-9462 is a high-severity command injection vulnerability in Opensuse Opensuse, published on 31 Mar 2015. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2014-9462 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- mercurial (PyPI): affected all versions; fixed in 3.2.4\n- mercurial (PyPI): affected all versions; fixed in 3.2.4\n- mercurial (PyPI): affected all versions; fixed in 3.2.4\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-2014-9462/ (Markdown: https://insights.sbomify.com/CVE-2014-9462/index.md)","id":"CVE-2014-9462","markdown":"https://insights.sbomify.com/CVE-2014-9462/index.md","name":"CVE-2014-9462","record":{"aliases":["DEBIAN-CVE-2014-9462","DSA-3257-1","GHSA-3pmw-h7j4-rf54","MGASA-2015-0129","PYSEC-2015-14","SUSE-SU-2015:0817-1","SUSE-SU-2015:0836-1","UBUNTU-CVE-2014-9462"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Mercurial version control","requires_auth":"none","summary":"Remote attackers can execute arbitrary commands on Mercurial clients by tricking users into cloning a repository with a crafted name.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"mercurial","vendor":"mercurial"},{"product":"opensuse","vendor":"opensuse"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"The _validaterepo function in sshpeer in Mercurial before 3.2.4 allows remote attackers to execute arbitrary commands via a crafted repository name in a clone command.","ecosystems":["PyPI","SUSE:Linux Enterprise Software Development Kit 12"],"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":"Mercurial vulnerable to arbitrary command execution via a crafted repository name in a clone command","id":"CVE-2014-9462","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":"opensuse:opensuse","products":["opensuse:opensuse"],"type":"command_injection","year":"2014"},"n_packages":4,"n_references":7,"next":{"headline":"Code injection in n/a","id":"CVE-2014-9463"},"packages":[{"ecosystem":"PyPI","fixed":["3.2.4"],"introduced":["0"],"last_affected":[],"package":"mercurial","purl":null,"source":"GHSA-3pmw-h7j4-rf54"},{"ecosystem":"PyPI","fixed":["3.2.4"],"introduced":["0"],"last_affected":[],"package":"mercurial","purl":"pkg:pypi/mercurial","source":"GHSA-3pmw-h7j4-rf54"},{"ecosystem":"PyPI","fixed":["3.2.4"],"introduced":["0"],"last_affected":[],"package":"mercurial","purl":"pkg:pypi/mercurial","source":"PYSEC-2015-14"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12","fixed":["2.8.2-3.1"],"introduced":["0"],"last_affected":[],"package":"mercurial","purl":"pkg:rpm/suse/mercurial\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012","source":"SUSE-SU-2015:0836-1"}],"prev":{"headline":"Path traversal in n/a","id":"CVE-2014-9461"},"products":["n/a"],"published":"2015-03-31","related":[{"cvss_score":9.8,"headline":"Mercurial mishandles integer addition and subtraction","id":"CVE-2018-13347","kev_date_added":null,"published":"2018-07-06"},{"cvss_score":9.1,"headline":"Mercurial Out-of-bounds Read vulnerability","id":"CVE-2018-17983","kev_date_added":null,"published":"2018-10-04"},{"cvss_score":7.5,"headline":"Mercurial Improper Input Validation vulnerability","id":"CVE-2018-13346","kev_date_added":null,"published":"2018-07-06"},{"cvss_score":7.5,"headline":"Mercurial Improper Input Validation vulnerability","id":"CVE-2018-13348","kev_date_added":null,"published":"2018-07-06"},{"cvss_score":6.8,"headline":"Mercurial Directory traversal vulnerability","id":"CVE-2008-2942","kev_date_added":null,"published":"2008-06-30"},{"cvss_score":5.9,"headline":"Mercurial Improper Certificate Validation vulnerability","id":"CVE-2010-4237","kev_date_added":null,"published":"2019-10-29"}],"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":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary commands on Mercurial clients by tricking users into cloning a repository with a crafted name.","url":"https://insights.sbomify.com/CVE-2014-9462/"}