{"id":"CVE-2018-17456","state":"PUBLISHED","title":"Git before 2.14.5, 2.15.x before 2.15.3, 2.16.x before 2.16.5, 2.17.x before 2.17.2, 2.18.x before 2.18.1, and 2.19.x before 2.19.1 allows remote code execution during processing o","description":"Git before 2.14.5, 2.15.x before 2.15.3, 2.16.x before 2.16.5, 2.17.x before 2.17.2, 2.18.x before 2.18.1, and 2.19.x before 2.19.1 allows remote code execution during processing of a recursive \"git clone\" of a superproject if a .gitmodules file has a URL field beginning with a '-' character.","publishedAt":"2018-10-06T14:00:00.000Z","updatedAt":"2024-08-05T10:47:04.938Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://www.exploit-db.com/exploits/45631/","http://www.securityfocus.com/bid/105523","http://www.securitytracker.com/id/1041811","https://www.debian.org/security/2018/dsa-4311","https://access.redhat.com/errata/RHSA-2018:3505","https://github.com/git/git/commit/1a7fd1fb2998002da6e9ff2ee46e1bdd25ee8404","https://www.exploit-db.com/exploits/45548/","https://access.redhat.com/errata/RHSA-2018:3541","https://github.com/git/git/commit/a124133e1e6ab5c7a9fef6d0e6bcb084e3455b46","https://access.redhat.com/errata/RHSA-2018:3408","https://marc.info/?l=git&m=153875888916397&w=2","https://www.openwall.com/lists/oss-security/2018/10/06/3","https://usn.ubuntu.com/3791-1/","https://seclists.org/bugtraq/2019/Mar/30","http://www.securityfocus.com/bid/107511","http://packetstormsecurity.com/files/152173/Sourcetree-Git-Arbitrary-Code-Execution-URL-Handling.html","https://access.redhat.com/errata/RHSA-2020:0316","http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:44:28.183Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/17xxx/CVE-2018-17456.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-17456","state":"PUBLISHED","datePublished":"2018-10-06T14:00:00.000Z","dateUpdated":"2024-08-05T10:47:04.938Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2018-09-25T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"Git before 2.14.5, 2.15.x before 2.15.3, 2.16.x before 2.16.5, 2.17.x before 2.17.2, 2.18.x before 2.18.1, and 2.19.x before 2.19.1 allows remote code execution during processing of a recursive \"git clone\" of a superproject if a .gitmodules file has a URL field beginning with a '-' character."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://www.exploit-db.com/exploits/45631/","name":"45631","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://www.securityfocus.com/bid/105523","name":"105523","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.securitytracker.com/id/1041811","name":"1041811","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://www.debian.org/security/2018/dsa-4311","name":"DSA-4311","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3505","name":"RHSA-2018:3505","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://github.com/git/git/commit/1a7fd1fb2998002da6e9ff2ee46e1bdd25ee8404","tags":["x_refsource_MISC"]},{"url":"https://www.exploit-db.com/exploits/45548/","name":"45548","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3541","name":"RHSA-2018:3541","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://github.com/git/git/commit/a124133e1e6ab5c7a9fef6d0e6bcb084e3455b46","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3408","name":"RHSA-2018:3408","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://marc.info/?l=git&m=153875888916397&w=2","tags":["x_refsource_MISC"]},{"url":"https://www.openwall.com/lists/oss-security/2018/10/06/3","tags":["x_refsource_MISC"]},{"url":"https://usn.ubuntu.com/3791-1/","name":"USN-3791-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://seclists.org/bugtraq/2019/Mar/30","name":"20190320 March 2019 Sourcetree Advisory - Multiple Remote Code Execution Vulnerabilities","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.securityfocus.com/bid/107511","name":"107511","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://packetstormsecurity.com/files/152173/Sourcetree-Git-Arbitrary-Code-Execution-URL-Handling.html","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0316","name":"RHSA-2020:0316","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html","name":"openSUSE-SU-2020:0598","tags":["vendor-advisory","x_refsource_SUSE"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2020-05-01T23:06:05.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2018-10-06T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-17456","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 before 2.14.5, 2.15.x before 2.15.3, 2.16.x before 2.16.5, 2.17.x before 2.17.2, 2.18.x before 2.18.1, and 2.19.x before 2.19.1 allows remote code execution during processing of a recursive \"git clone\" of a superproject if a .gitmodules file has a URL field beginning with a '-' character."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"45631","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/45631/"},{"name":"105523","refsource":"BID","url":"http://www.securityfocus.com/bid/105523"},{"name":"1041811","refsource":"SECTRACK","url":"http://www.securitytracker.com/id/1041811"},{"name":"DSA-4311","refsource":"DEBIAN","url":"https://www.debian.org/security/2018/dsa-4311"},{"name":"RHSA-2018:3505","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:3505"},{"name":"https://github.com/git/git/commit/1a7fd1fb2998002da6e9ff2ee46e1bdd25ee8404","refsource":"MISC","url":"https://github.com/git/git/commit/1a7fd1fb2998002da6e9ff2ee46e1bdd25ee8404"},{"name":"45548","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/45548/"},{"name":"RHSA-2018:3541","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:3541"},{"name":"https://github.com/git/git/commit/a124133e1e6ab5c7a9fef6d0e6bcb084e3455b46","refsource":"MISC","url":"https://github.com/git/git/commit/a124133e1e6ab5c7a9fef6d0e6bcb084e3455b46"},{"name":"RHSA-2018:3408","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:3408"},{"name":"https://marc.info/?l=git&m=153875888916397&w=2","refsource":"MISC","url":"https://marc.info/?l=git&m=153875888916397&w=2"},{"name":"https://www.openwall.com/lists/oss-security/2018/10/06/3","refsource":"MISC","url":"https://www.openwall.com/lists/oss-security/2018/10/06/3"},{"name":"USN-3791-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3791-1/"},{"name":"20190320 March 2019 Sourcetree Advisory - Multiple Remote Code Execution Vulnerabilities","refsource":"BUGTRAQ","url":"https://seclists.org/bugtraq/2019/Mar/30"},{"name":"107511","refsource":"BID","url":"http://www.securityfocus.com/bid/107511"},{"name":"http://packetstormsecurity.com/files/152173/Sourcetree-Git-Arbitrary-Code-Execution-URL-Handling.html","refsource":"MISC","url":"http://packetstormsecurity.com/files/152173/Sourcetree-Git-Arbitrary-Code-Execution-URL-Handling.html"},{"name":"RHSA-2020:0316","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2020:0316"},{"name":"openSUSE-SU-2020:0598","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.exploit-db.com/exploits/45631/","name":"45631","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"http://www.securityfocus.com/bid/105523","name":"105523","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.securitytracker.com/id/1041811","name":"1041811","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"https://www.debian.org/security/2018/dsa-4311","name":"DSA-4311","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3505","name":"RHSA-2018:3505","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://github.com/git/git/commit/1a7fd1fb2998002da6e9ff2ee46e1bdd25ee8404","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.exploit-db.com/exploits/45548/","name":"45548","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3541","name":"RHSA-2018:3541","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://github.com/git/git/commit/a124133e1e6ab5c7a9fef6d0e6bcb084e3455b46","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3408","name":"RHSA-2018:3408","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://marc.info/?l=git&m=153875888916397&w=2","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.openwall.com/lists/oss-security/2018/10/06/3","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://usn.ubuntu.com/3791-1/","name":"USN-3791-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://seclists.org/bugtraq/2019/Mar/30","name":"20190320 March 2019 Sourcetree Advisory - Multiple Remote Code Execution Vulnerabilities","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://www.securityfocus.com/bid/107511","name":"107511","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://packetstormsecurity.com/files/152173/Sourcetree-Git-Arbitrary-Code-Execution-URL-Handling.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0316","name":"RHSA-2020:0316","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html","name":"openSUSE-SU-2020:0598","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T10:47:04.938Z"}}]}}}