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)jessie, jessie (lts)2.26.2+really2.25.2-6+deb8u2fixed
stretch (security)2.29.2-1+deb9u1fixed
stretch (lts), stretch2.29.2-1+deb9u3fixed
buster (security), buster, buster (lts)2.33.1-0.1+deb10u1fixed
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