CVE-2013-4419 The guestfish command in libguestfs 1.20.12, 1.22.7, and earlier, when using the --remote or --listen option, does not properly check the ownership of /tmp/.guestfish-$UID/ when creating a temporary s...
MediumCVSS 6.8
EPSS 0.75%
- Published
- Updated
- Exploit status
- No public exploit known
Description
The guestfish command in libguestfs 1.20.12, 1.22.7, and earlier, when using the --remote or --listen option, does not properly check the ownership of /tmp/.guestfish-$UID/ when creating a temporary socket file in this directory, which allows local users to write to the socket and execute arbitrary commands by creating /tmp/.guestfish-$UID/ in advance.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libguestfs(Debian:12) | < 1:1.22.7-1 | 1:1.22.7-1 |
| debian/libguestfs(Debian:13) | < 1:1.22.7-1 | 1:1.22.7-1 |
| debian/libguestfs(Debian:14) | < 1:1.22.7-1 | 1:1.22.7-1 |
| libguestfs | >= 1.20.0, <= 1.20.12 | No fix listed |
| libguestfs | >= 1.22.0, <= 1.22.7 | No fix listed |
| suse linux enterprise software development kit | = 11.0-sp3 | No fix listed |
| novell suse linux enterprise server | = 11.0-sp3 | No fix listed |
| ubuntu/libguestfs(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/libguestfs(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/libguestfs(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/libguestfs(Ubuntu:22.04) | All versions | No fix listed |
References
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- Debian Security Tracker CVE-2013-4419 vendor-advisory
- SUSE-SU-2013:1626 mailing-list third-party-advisory vendor-advisory
- RHSA-2013:1536 third-party-advisory vendor-advisory
- 55813 third-party-advisory
- bugzilla.redhat.com patch third-party-advisory
- [Libguestfs] 20131017 ANNOUNCE: CVE-2013-4419: insecure temporary directory handling for guestfish's network socket mailing-list third-party-advisory