{"api_version":"1","generated_at":"2026-07-23T03:12:23+00:00","cve":"CVE-2017-12976","urls":{"html":"https://cve.report/CVE-2017-12976","api":"https://cve.report/api/cve/CVE-2017-12976.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-12976","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-12976"},"summary":{"title":"CVE-2017-12976","description":"git-annex before 6.20170818 allows remote attackers 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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2017-08-20 20:29:00","updated_at":"2023-11-07 02:38:00"},"problem_types":["CWE-20"],"metrics":[],"references":[{"url":"http://source.git-annex.branchable.com/?p=source.git;a=commit;h=c24d0f0e8984576654e2be149005bc884fe0403a","name":"http://source.git-annex.branchable.com/?p=source.git;a=commit;h=c24d0f0e8984576654e2be149005bc884fe0403a","refsource":"CONFIRM","tags":["Third Party Advisory"],"title":"source.git-annex.branchable.com Git - source.git/commit","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"http://source.git-annex.branchable.com/?p=source.git;a=blob;f=doc/bugs/dashed_ssh_hostname_security_hole.mdwn","name":"http://source.git-annex.branchable.com/?p=source.git;a=blob;f=doc/bugs/dashed_ssh_hostname_security_hole.mdwn","refsource":"CONFIRM","tags":["Third Party Advisory"],"title":"source.git-annex.branchable.com Git - source.git/blob - doc/bugs/dashed_ssh_hostname_security_hole.mdwn","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"http://source.git-annex.branchable.com/?p=source.git%3Ba=commit%3Bh=c24d0f0e8984576654e2be149005bc884fe0403a","name":"http://source.git-annex.branchable.com/?p=source.git%3Ba=commit%3Bh=c24d0f0e8984576654e2be149005bc884fe0403a","refsource":"","tags":[],"title":"source.git-annex.branchable.com Git - source.git/commit","mime":"text/xml","httpstatus":"404","archivestatus":"200"},{"url":"https://lists.debian.org/debian-lts-announce/2018/09/msg00004.html","name":"[debian-lts-announce] 20180905 [SECURITY] [DLA 1495-1] git-annex security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 1495-1] git-annex security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2017/dsa-4010","name":"DSA-4010","refsource":"DEBIAN","tags":[],"title":"Debian -- Security Information -- DSA-4010-1 git-annex","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://source.git-annex.branchable.com/?p=source.git;a=commit;h=df11e54788b254efebb4898b474de11ae8d3b471","name":"http://source.git-annex.branchable.com/?p=source.git;a=commit;h=df11e54788b254efebb4898b474de11ae8d3b471","refsource":"CONFIRM","tags":["Third Party Advisory"],"title":"source.git-annex.branchable.com Git - source.git/commit","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"http://source.git-annex.branchable.com/?p=source.git%3Ba=commit%3Bh=df11e54788b254efebb4898b474de11ae8d3b471","name":"http://source.git-annex.branchable.com/?p=source.git%3Ba=commit%3Bh=df11e54788b254efebb4898b474de11ae8d3b471","refsource":"","tags":[],"title":"source.git-annex.branchable.com Git - source.git/commit","mime":"text/xml","httpstatus":"404","archivestatus":"200"},{"url":"http://source.git-annex.branchable.com/?p=source.git%3Ba=blob%3Bf=doc/bugs/dashed_ssh_hostname_security_hole.mdwn","name":"http://source.git-annex.branchable.com/?p=source.git%3Ba=blob%3Bf=doc/bugs/dashed_ssh_hostname_security_hole.mdwn","refsource":"","tags":[],"title":"source.git-annex.branchable.com Git - source.git/blob - doc/bugs/dashed_ssh_hostname_security_hole.mdwn","mime":"text/xml","httpstatus":"404","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-12976","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-12976","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2017","cve_id":"12976","vulnerable":"1","versionEndIncluding":"6.20170520","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"git-annex_project","cpe5":"git-annex","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2017-12976","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"git-annex before 6.20170818 allows remote attackers 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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"[debian-lts-announce] 20180905 [SECURITY] [DLA 1495-1] git-annex security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2018/09/msg00004.html"},{"name":"http://source.git-annex.branchable.com/?p=source.git;a=commit;h=c24d0f0e8984576654e2be149005bc884fe0403a","refsource":"CONFIRM","url":"http://source.git-annex.branchable.com/?p=source.git;a=commit;h=c24d0f0e8984576654e2be149005bc884fe0403a"},{"name":"http://source.git-annex.branchable.com/?p=source.git;a=commit;h=df11e54788b254efebb4898b474de11ae8d3b471","refsource":"CONFIRM","url":"http://source.git-annex.branchable.com/?p=source.git;a=commit;h=df11e54788b254efebb4898b474de11ae8d3b471"},{"name":"DSA-4010","refsource":"DEBIAN","url":"http://www.debian.org/security/2017/dsa-4010"},{"name":"http://source.git-annex.branchable.com/?p=source.git;a=blob;f=doc/bugs/dashed_ssh_hostname_security_hole.mdwn","refsource":"CONFIRM","url":"http://source.git-annex.branchable.com/?p=source.git;a=blob;f=doc/bugs/dashed_ssh_hostname_security_hole.mdwn"}]}},"nvd":{"publishedDate":"2017-08-20 20:29:00","lastModifiedDate":"2023-11-07 02:38:00","problem_types":["CWE-20"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.8},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:git-annex_project:git-annex:*:*:*:*:*:*:*:*","versionEndIncluding":"6.20170520","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2017","CveId":"12976","Ordinal":"110378","Title":"CVE-2017-12976","CVE":"CVE-2017-12976","Year":"2017"},"notes":[{"CveYear":"2017","CveId":"12976","Ordinal":"1","NoteData":"git-annex before 6.20170818 allows remote attackers 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.","Type":"Description","Title":null},{"CveYear":"2017","CveId":"12976","Ordinal":"2","NoteData":"2017-08-20","Type":"Other","Title":"Published"},{"CveYear":"2017","CveId":"12976","Ordinal":"3","NoteData":"2018-09-06","Type":"Other","Title":"Modified"}]}}}