CVE-2007-5191

NameCVE-2007-5191
Descriptionmount 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-1449-1, DSA-1450-1, DTSA-64-1, DTSA-70-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
util-linux (PTS)bullseye (security), bullseye2.36.1-8+deb11u2fixed
bookworm2.38.1-5+deb12u2fixed
bookworm (security)2.38.1-5+deb12u1fixed
sid, trixie2.40.2-12fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
loop-aes-utilssourcesarge2.12p-4sarge2DSA-1449-1
loop-aes-utilssourceetch2.12r-15+etch1DSA-1449-1
loop-aes-utilssourcelenny2.12r-16+lenny1DTSA-70-1
loop-aes-utilssource(unstable)2.13-2low
util-linuxsourcesarge2.12p-4sarge2DSA-1450-1
util-linuxsourceetch2.12r-19etch1DSA-1450-1
util-linuxsourcelenny2.12r-19+lenny1DTSA-64-1
util-linuxsource(unstable)2.13-8low

Search for package or bug name: Reporting problems