{"id":"UBUNTU-CVE-2014-9462","details":"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.","modified":"2025-09-08T16:43:15Z","published":"2015-03-31T14:59:00Z","upstream":["CVE-2014-9462"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2014-9462"},{"type":"REPORT","url":"http://chargen.matasano.com/chargen/2015/3/17/this-new-vulnerability-mercurial-command-injection-cve-2014-9462.html"},{"type":"REPORT","url":"http://selenic.com/hg/rev/e3f30068d2eb"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2014-9462"}],"affected":[{"package":{"name":"mercurial","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/mercurial@2.8.2-1ubuntu1.3?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.2-1ubuntu1.3"}]}],"versions":["2.6.3-1","2.7.2-1","2.8.1-2","2.8.2-1ubuntu1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"mercurial","binary_version":"2.8.2-1ubuntu1.3"},{"binary_name":"mercurial-common","binary_version":"2.8.2-1ubuntu1.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2014/UBUNTU-CVE-2014-9462.json"}}],"schema_version":"1.7.3","severity":[{"type":"Ubuntu","score":"medium"}]}