Flatpak-builder: host code execution via `git am` hook execution in patch source extraction (`use-git-am`)
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: poc
- Automatable: no
- Technical impact: total
Summary
A flaw was found in flatpak-builder where Git hooks are not disabled when applying patch sources with use-git-am: true. An attacker who can provide a malicious source containing a Git post-applypatch hook can cause the hook to execute on the host during the build process, resulting in arbitrary code execution with the privileges of the user running flatpak-builder.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: poc · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- flatpak-builder
Version range not reported
- flatpak-builder
Version range not reported
- flatpak-builder
Version range not reported
- flatpak-builder
Version range not reported
- flatpak-builder
Version range not reported
- flatpak-builder
Version range not reported
- flatpak-builder
Version range not reported
- flatpak-builder
Version range not reported
- flatpak-builder
Version range not reported
- flatpak-builder
Version range not reported
- flatpak-builder
Version range not reported
- flatpak-builder
Version range not reported
- flatpak-builder
Version range not reported