{"id":"MGASA-2022-0147","summary":"Updated git packages fix security vulnerability","details":"On multi-user machines, Git users might find themselves unexpectedly in a Git\nworktree, e.g. when another user created a repository in /tmp, in a mounted\nnetwork drive or in a scratch space. Merely having a Git-aware prompt that\nruns 'git status' (or 'git diff') and navigating to a directory which is\nsupposedly not a Git worktree, or opening such a directory in an editor or IDE\nsuch as VS Code or Atom, will potentially run commands defined by that other\nuser (CVE-2022-24765).\n","modified":"2026-04-16T04:43:26.939118156Z","published":"2022-04-22T17:07:29Z","upstream":["CVE-2022-24765"],"references":[{"type":"ADVISORY","url":"https://advisories.mageia.org/MGASA-2022-0147.html"},{"type":"REPORT","url":"https://bugs.mageia.org/show_bug.cgi?id=30277"},{"type":"WEB","url":"https://lore.kernel.org/git/xmqqv8veb5i6.fsf@gitster.g/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5376-1"},{"type":"WEB","url":"https://lore.kernel.org/git/xmqq1qy04iqa.fsf@gitster.g/T/#u"}],"affected":[{"package":{"name":"git","ecosystem":"Mageia:8","purl":"pkg:rpm/mageia/git?arch=source&distro=mageia-8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.30.4-1.mga8"}]}],"ecosystem_specific":{"section":"core"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2022-0147.json"}}],"schema_version":"1.7.5","credits":[{"name":"Mageia","contact":["https://wiki.mageia.org/en/Packages_Security_Team"],"type":"COORDINATOR"}]}