Improper temporary file locking in setpwnam.c
Multiple products
At a glance
setpwnam.c in the util-linux package, as included in Red Hat Linux 7.3 and earlier, and other operating systems, does not properly lock a temporary file when modifying /etc/passwd, which may allow local users to gain privileges via a complex race condition that uses an open file descriptor in utility programs such as chfn and chsh.
Source description · CVE List / CNA
System impact
CVSS summary v2.0
- Published:
- Updated:
- EPSS:
- 0.529%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Local
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:mandrakesoft | mandrake single network firewall | Affected versions: 7.2 |
| Vendor:hp | secure os | Affected versions: 1.0 |
| Vendor:mandrakesoft | mandrake linux | Affected versions:7.0Show full version range for mandrake linux7.17.28.08.18.2 |
| Vendor:mandrakesoft | mandrake linux corporate server | Affected versions: 1.0.1 |
| Vendor:redhat | linux | Affected versions:6.0Show full version range for linux6.16.27.07.17.27.3 |
1–5 of 5 · Page 1 of 1
CVSS scores and metrics2
[email protected] · NVD (Primary)Primary6.2 / 10MediumCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
- Attack vector
- Local
- Authentication
- Not required
Source vector
AV:L/AC:H/Au:N/C:C/I:C/A:Cnvd · Wazuh CTI (cna)6.2 / 10MediumCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
- Attack vector
- Local
- Authentication
- Not required
Source vector
AV:L/AC:H/Au:N/C:C/I:C/A:CCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
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