{"id":"MGASA-2019-0393","summary":"Updated git packages fix security vulnerabilities","details":"The updated packages fix security vulnerabilities:\n\nThe --export-marks option of git fast-import is exposed also via the\nin-stream command feature export-marks=... and it allows overwriting\narbitrary paths. (CVE-2019-1348)\n\nWhen submodules are cloned recursively, under certain circumstances Git\ncould be fooled into using the same Git directory twice. We now require\nthe directory to be empty. (CVE-2019-1349)\n\nRecursive clones are currently affected by a vulnerability that is caused\nby too-lax validation of submodule names, allowing very targeted attacks\nvia remote code execution in recursive clones. (CVE-2019-1387)\n\nArbitrary command execution is possible in Git before 2.21.1,\nbecause a \"git submodule update\" operation can run commands found in the\n.gitmodules file of a malicious repository. (CVE-2019-19604)\n","modified":"2026-03-25T17:45:21.128264Z","published":"2019-12-15T18:03:05Z","related":["CVE-2019-1348","CVE-2019-1349","CVE-2019-1387","CVE-2019-19604"],"references":[{"type":"ADVISORY","url":"https://advisories.mageia.org/MGASA-2019-0393.html"},{"type":"REPORT","url":"https://bugs.mageia.org/show_bug.cgi?id=25867"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2019/12/13/1"}],"affected":[{"package":{"name":"git","ecosystem":"Mageia:7","purl":"pkg:rpm/mageia/git?arch=source&distro=mageia-7"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.21.1-1.mga7"}]}],"ecosystem_specific":{"section":"core"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2019-0393.json"}}],"schema_version":"1.7.5","credits":[{"name":"Mageia","contact":["https://wiki.mageia.org/en/Packages_Security_Team"],"type":"COORDINATOR"}]}