{"schemaVersion":3,"id":"CVE-2014-9462","aliases":["MGASA-2015-0129","SUSE-SU-2015:0836-1","GHSA-3pmw-h7j4-rf54","PYSEC-2015-14","UBUNTU-CVE-2014-9462","DEBIAN-CVE-2014-9462","DSA-3257-1"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2015-03-31T14:00:00.000Z","modified":"2024-08-06T13:47:41.369Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":9.3,"severity":"critical","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true}]},"epss":{"probability":0.04169,"percentile":0.90794,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.04169},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.04169,"percentile":0.90794}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04169,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.04169,"percentile":0.90794}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_FFEE52734ADF1E46","name":"Exploit Reference (chargen.matasano.com)","source":"reference","url":"http://chargen.matasano.com/chargen/2015/3/17/this-new-vulnerability-mercurial-command-injection-cve-2014-9462.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"}],"affected":[{"vendor":"debian","product":"mercurial","name":"mercurial","label":"mercurial","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/mercurial","purlType":"deb","versions":[{"text":"< 3.4-1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.2.2-4+deb7u1","noFixRecorded":false,"fixedIn":null},{"text":"< 3.1.2-2+deb8u1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.4-1 | < 2.2.2-4+deb7u1 | < 3.1.2-2+deb8u1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mercurial","name":"mercurial","label":"mercurial","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mercurial","purlType":"deb","versions":[{"text":"< 2.8.2-1ubuntu1.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.8.2-1ubuntu1.3","eol":null,"hubHref":null},{"vendor":"mageia","product":"mercurial","name":"mercurial","label":"mercurial","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/mercurial","purlType":"rpm","versions":[{"text":"< 2.7.2-3.1.mga4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.7.2-3.1.mga4","eol":null,"hubHref":null},{"vendor":"mercurial","product":"mercurial","name":"mercurial","label":"mercurial","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 3.2.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 3.2.3","eol":null,"hubHref":"/vendor/mercurial/mercurial"},{"vendor":"opensuse","product":"opensuse","name":"opensuse","label":"opensuse","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"13.1","noFixRecorded":false,"fixedIn":null},{"text":"13.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"13.1 | 13.2","eol":{"isEol":true,"eolDate":"2016-02-03T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"13.1","label":"13.1","eolFrom":"2016-02-03T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"opensuse","label":"openSUSE","category":"os"}},"hubHref":"/vendor/opensuse/opensuse"},{"vendor":"PyPI","product":"mercurial","name":"mercurial","label":"mercurial","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/mercurial","purlType":"pypi","versions":[{"text":"< 3.2.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.2.4","eol":null,"hubHref":null},{"vendor":"suse","product":"mercurial&distro=SUSE Linux Enterprise Software Development Kit 12","name":"mercurial","label":"mercurial&distro=SUSE Linux Enterprise Software Development Kit 12","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/mercurial&distro=SUSE Linux Enterprise Software Development Kit 12","purlType":"rpm","versions":[{"text":"< 2.8.2-3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.8.2-3.1","eol":null,"hubHref":null}],"affectedCount":7,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://security.gentoo.org/glsa/201612-19","label":"security.gentoo.org/glsa/201612-19","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","WEB","Advisory"]},{"url":"http://chargen.matasano.com/chargen/2015/3/17/this-new-vulnerability-mercurial-command-injection-cve-2014-9462.html","label":"chargen.matasano.com/chargen/…","hostname":"chargen.matasano.com","tags":["X Refsource MISC","Exploit","WEB","REPORT"]},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html","label":"www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html","hostname":"www.oracle.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"http://lists.opensuse.org/opensuse-updates/2015-03/msg00085.html","label":"lists.opensuse.org/opensuse-updates/2015-03/msg00085.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","WEB"]},{"url":"http://www.osvdb.org/119816","label":"www.osvdb.org/119816","hostname":"www.osvdb.org","tags":["VDB Entry","X Refsource OSVDB","WEB"]},{"url":"http://mercurial.selenic.com/wiki/WhatsNew","label":"mercurial.selenic.com/wiki/WhatsNew","hostname":"mercurial.selenic.com","tags":["X Refsource CONFIRM","Vendor Advisory","WEB"]},{"url":"http://www.debian.org/security/2015/dsa-3257","label":"www.debian.org/security/2015/dsa-3257","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","WEB","Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2015-0129.html","label":"advisories.mageia.org/MGASA-2015-0129.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=15590","label":"bugs.mageia.org/show_bug.cgi?id=15590","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://www.suse.com/support/update/announcement/2015/suse-su-20150836-1/","label":"www.suse.com/support/update/announcement/2015/suse-su-20150836-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/923070","label":"bugzilla.suse.com/923070","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2014-9462","label":"www.suse.com/security/cve/CVE-2014-9462","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-9462","label":"nvd.nist.gov/vuln/detail/CVE-2014-9462","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2015-14.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2015-14.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-3pmw-h7j4-rf54","label":"github.com/advisories/GHSA-3pmw-h7j4-rf54","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2014-9462","label":"ubuntu.com/security/CVE-2014-9462","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"http://selenic.com/hg/rev/e3f30068d2eb","label":"selenic.com/hg/rev/e3f30068d2eb","hostname":"selenic.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2014-9462","label":"www.cve.org/CVERecord?id=CVE-2014-9462","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2014-9462","label":"security-tracker.debian.org/tracker/CVE-2014-9462","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-237-1"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2015-03-31T14:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T13:47:41.369Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T21:13:56.576Z","stale":false,"partial":false}}