CVE-2007-5191
mount and umount in util-linux and loop-aes-utils call the setuid and setgid functions in the wrong order and do not check the return…
Check your servers for CVE-2007-5191
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2007-5191 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
mount and umount in util-linux and loop-aes-utils call the setuid and setgid functions in the wrong order and do not check the return values, which might allow attackers to gain privileges via helpers such as mount.nfs.
Exploitation
EPSS 0.44%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 30.1% of all scored CVEs. Scores of 28 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2007-5191 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2007-5191RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2007-5191Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2007-5191
trivy image --scanners vuln IMAGE | grep CVE-2007-5191
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- USN-533-1 ubuntu.com · vendor advisory
- https://issues.rpath.com/browse/RPL-1757 issues.rpath.com
- 27145 secunia.com · third party advisory
- http://bugs.gentoo.org/show_bug.cgi?id=195390 bugs.gentoo.org
- 27122 secunia.com · third party advisory
- MDKSA-2007:198 frontal2.mandriva.com · vendor advisory
- http://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git%3Ba=commit%3Bh=ebbeb2c7ac1b00b6083905957837a271e80b187e git.kernel.org
- 28349 secunia.com · third party advisory
- DSA-1449 debian.org · vendor advisory
- DSA-1450 debian.org · vendor advisory
- 27104 secunia.com · third party advisory
- 27283 secunia.com · third party advisory
14 more
- 27354 secunia.com · third party advisory
- 28469 secunia.com · third party advisory
- GLSA-200710-18 security.gentoo.org · vendor advisory
- 28348 secunia.com · third party advisory
- FEDORA-2007-2462 redhat.com · vendor advisory
- 27687 secunia.com · third party advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=320041 bugzilla.redhat.com
- 28368 secunia.com · third party advisory
- 27399 secunia.com · third party advisory
- 27188 secunia.com · third party advisory
- http://support.avaya.com/elmodocs2/security/ASA-2008-023.htm support.avaya.com
- RHSA-2007:0969 redhat.com · vendor advisory
- SUSE-SR:2007:022 lists.opensuse.org · vendor advisory
- http://www.vmware.com/security/advisories/VMSA-2008-0001.html vmware.com
Other references
- 20080108 VMSA-2008-0001 Moderate OpenPegasus PAM Authentication Buffer Overflow and updated service console packages securityfocus.com · mailing list
- [Security-announce] 20080107 VMSA-2008-0001 Moderate OpenPegasus PAM Authentication Buffer Overflow and updated… lists.vmware.com · mailing list
- 1018782 securitytracker.com · vdb entry
- oval:org.mitre.oval:def:10101 oval.cisecurity.org · vdb entry, signature
- 25973 securityfocus.com · vdb entry
- ADV-2007-3417 vupen.com · vdb entry
- ADV-2008-0064 vupen.com · vdb entry
- 20080123 UPDATED VMSA-2008-0001.1 Moderate OpenPegasus PAM Authentication Buffer Overflow and updated service… securityfocus.com · mailing list
Source: the record CVE-2007-5191 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse