MGASA-2022-0147

Source
https://advisories.mageia.org/MGASA-2022-0147.html
Import Source
https://advisories.mageia.org/MGASA-2022-0147.json
JSON Data
https://api.osv.dev/v1/vulns/MGASA-2022-0147
Related
Published
2022-04-22T17:07:29Z
Modified
2022-04-22T16:24:34Z
Summary
Updated git packages fix security vulnerability
Details

On multi-user machines, Git users might find themselves unexpectedly in a Git worktree, e.g. when another user created a repository in /tmp, in a mounted network drive or in a scratch space. Merely having a Git-aware prompt that runs 'git status' (or 'git diff') and navigating to a directory which is supposedly not a Git worktree, or opening such a directory in an editor or IDE such as VS Code or Atom, will potentially run commands defined by that other user (CVE-2022-24765).

References
Credits

Affected packages

Mageia:8 / git

Package

Name
git
Purl
pkg:rpm/mageia/git?distro=mageia-8

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.30.4-1.mga8

Ecosystem specific

{
    "section": "core"
}