Back to CVE catalog
CVE-2007-5191

Incorrect order of setuid and setgid calls in mount and umount

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityComplete
IntegrityComplete
AvailabilityComplete

CVSS summary v2.0

7.2High
Published:
Updated:
EPSS:
0.44%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Local

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:kernelutil-linuxAffected versions:
≤ 2.13.1.1
Vendor:Canonicalubuntu linuxAffected versions:
6.06Show full version range for ubuntu linux
6.107.04
Vendor:Debiandebian linuxAffected versions:
3.1
Vendor:FedorafedoraAffected versions:
7
Vendor:Debianbsdutils
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 1:2.13-8
Vendor:Debiancfdisk-udeb
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2.13-8
Vendor:Debianfdisk-udeb
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2.13-8
Vendor:Debianmount
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2.13-8
Vendor:Debianutil-linux
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2.13-8
Vendor:Debianutil-linux-locales
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2.13-8

1–10 of 12 · Page 1 of 2

CVSS scores and metrics2
[email protected] · NVD (Primary)Primary7.2 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:L/Au:N/C:C/I:C/A:C
nvd · Wazuh CTI (cna)7.2 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories41

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences