{"id":"UBUNTU-CVE-2017-1000116","details":"Mercurial prior to 4.3 did not adequately sanitize hostnames passed to ssh, leading to possible shell-injection attacks.","modified":"2025-09-08T16:44:36Z","published":"2017-10-05T01:29:00Z","upstream":["CVE-2017-1000116"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-1000116"},{"type":"REPORT","url":"https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.3_.282017-08-10.29"},{"type":"REPORT","url":"https://www.mercurial-scm.org/repo/hg/rev/53224b1ffbc2"},{"type":"REPORT","url":"https://www.mercurial-scm.org/repo/hg/rev/e10745311406"},{"type":"REPORT","url":"https://www.mercurial-scm.org/repo/hg/rev/f93975a5ebe8"},{"type":"REPORT","url":"https://www.mercurial-scm.org/repo/hg/rev/f9134e96ed0f"},{"type":"REPORT","url":"https://www.mercurial-scm.org/repo/hg/rev/92b583e3e522"},{"type":"REPORT","url":"https://www.mercurial-scm.org/repo/hg/rev/08cfc4baf3ba"},{"type":"REPORT","url":"https://www.mercurial-scm.org/repo/hg/rev/55681baf4cf9"},{"type":"REPORT","url":"https://www.mercurial-scm.org/repo/hg/rev/173ecccb9ee7"},{"type":"REPORT","url":"https://www.mercurial-scm.org/repo/hg/rev/ca398a50ca00"},{"type":"REPORT","url":"https://www.mercurial-scm.org/repo/hg/rev/00a75672a9cb"},{"type":"REPORT","url":"https://www.mercurial-scm.org/repo/hg/rev/943c91326b23"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-1000116"}],"affected":[{"package":{"name":"mercurial","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/mercurial@2.8.2-1ubuntu1.4?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.2-1ubuntu1.4"}]}],"versions":["2.6.3-1","2.7.2-1","2.8.1-2","2.8.2-1ubuntu1","2.8.2-1ubuntu1.3"],"ecosystem_specific":{"binaries":[{"binary_name":"mercurial","binary_version":"2.8.2-1ubuntu1.4"},{"binary_name":"mercurial-common","binary_version":"2.8.2-1ubuntu1.4"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-1000116.json"}},{"package":{"name":"mercurial","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/mercurial@3.7.3-1ubuntu1.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.7.3-1ubuntu1.1"}]}],"versions":["3.4-1ubuntu2","3.6.2-1ubuntu2","3.7.3-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"mercurial","binary_version":"3.7.3-1ubuntu1.1"},{"binary_name":"mercurial-common","binary_version":"3.7.3-1ubuntu1.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-1000116.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}