MGASA-2023-0066

Source
https://advisories.mageia.org/MGASA-2023-0066.html
Import Source
https://advisories.mageia.org/MGASA-2023-0066.json
JSON Data
https://api.osv.dev/v1/vulns/MGASA-2023-0066
Related
Published
2023-02-27T20:27:16Z
Modified
2023-02-27T19:42:21Z
Summary
Updated git packages fix security vulnerability
Details

Using a specially-crafted repository, Git can be tricked into using its local clone optimization even when using a non-local transport. Though Git will abort local clones whose source $GIT_DIR/objects directory contains symbolic links, the objects directory itself may still be a symbolic link. These two may be combined to include arbitrary files based on known paths on the victim's filesystem within the malicious repository's working copy, allowing for data exfiltration in a similar manner as CVE-2022-39253 (CVE-2023-22490).

By feeding a crafted input to "git apply", a path outside the working tree can be overwritten as the user who is running "git apply" (CVE-2023-23946).

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.8-1.mga8

Ecosystem specific

{
    "section": "core"
}