{"id":"CVE-2017-12836","published":"2017-08-24T14:00:00Z","modified":"2024-08-05T18:51:06Z","title":"CVS 1.12.x, when configured to use SSH for remote repositories, might allow remote attackers to execute arbitrary code…","vendor":null,"product":null,"tier":"tail","description":{"text":"CVS 1.12.x, when configured to use SSH for remote repositories, might allow remote attackers to execute arbitrary code via a repository URL with a crafted hostname, as demonstrated by \"-oProxyCommand=id;localhost:/bar.\"","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.06642,"percentile":0.94028,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.securityfocus.com/bid/100279","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.openwall.com/lists/oss-security/2017/08/11/4","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.debian.org/security/2017/dsa-3940","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.openwall.com/lists/oss-security/2017/08/11/1","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://lists.nongnu.org/archive/html/bug-cvs/2017-08/msg00000.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1480800","tags":["x_refsource_MISC"]},{"url":"https://security.gentoo.org/glsa/201709-17","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://www.ubuntu.com/usn/USN-3399-1","tags":["vendor-advisory","x_refsource_UBUNTU"]}],"priority":{"score":18.8,"factors":[{"name":"EPSS percentile","points":18.81}]},"summary":{"text":"The flaw lies in CVS 1.12.x when it is configured to use SSH for remote repositories: the handling of repository URL hostnames allows option injection into the underlying SSH invocation. An attacker who can supply a repository URL with a crafted hostname, such as one beginning with an SSH option like \"-oProxyCommand=\", can cause arbitrary code to execute.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:59:20Z"},"euvd":{"id":"EUVD-2017-4373","exploited":false,"provenance":"source"},"lineage":{"parents":[{"from":"CVE-2017-12976","to":"CVE-2017-12836","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"…ackers to execute arbitrary commands via an ssh URL with an initial dash character in the hostname, as demonstrated by an ssh://-eProxyCommand= URL, a related issue to CVE-2017-9800, CVE-2017-12836, CVE-2017-1000116, and CVE-2017-1000117.","from":"CVE.org","in":"CVE-2017-12976"}]}],"children":[{"from":"CVE-2017-12836","to":"CVE-2017-14176","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"…ows remote attackers to execute arbitrary commands via a bzr+ssh URL with an initial dash character in the hostname, a related issue to CVE-2017-9800, CVE-2017-12836, CVE-2017-12976, CVE-2017-16228, CVE-2017-1000116, and CVE-2017-1000117.","from":"CVE.org","in":"CVE-2017-14176"}]},{"from":"CVE-2017-12836","to":"CVE-2017-16228","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"…rocess is used, allows remote attackers to execute arbitrary commands via an ssh URL with an initial dash character in the hostname, a related issue to CVE-2017-9800, CVE-2017-12836, CVE-2017-12976, CVE-2017-1000116, and CVE-2017-1000117.","from":"CVE.org","in":"CVE-2017-16228"}]},{"from":"CVE-2017-12836","to":"CVE-2017-17459","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"…tackers to execute arbitrary commands via an ssh URL with an initial dash character in the hostname, a related issue to CVE-2017-9800, CVE-2017-12836, CVE-2017-12976, CVE-2017-14176, CVE-2017-16228, CVE-2017-1000116, and CVE-2017-1000117.","from":"CVE.org","in":"CVE-2017-17459"}]}]}}