uutils coreutils cp Unexpected Privileged Executable Creation with -p
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions |
|---|---|---|---|
| Uutils | coreutils | affected | — |
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Uutils | Coreutils |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-x2wv-9p67-mh9w | uutils coreutils doesn't properly handle setuid and setgid bits when ownership preservation fails |
Ubuntu USN |
USN-9041-1 | uutils coreutils vulnerabilities |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.125% probability within 30 days)
| Link | Providers |
|---|---|
| https://github.com/uutils/coreutils/issues/9750 |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Uutils
Uutils coreutils |
|
| CPEs | cpe:2.3:a:uutils:coreutils:-:*:*:*:*:rust:*:* | |
| Vendors & Products |
Uutils
Uutils coreutils |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | The cp utility in uutils coreutils fails to properly handle setuid and setgid bits when ownership preservation fails. When copying with the -p (preserve) flag, the utility applies the source mode bits even if the chown operation is unsuccessful. This can result in a user-owned copy retaining original privileged bits, creating unexpected privileged executables that violate local security policies. This differs from GNU cp, which clears these bits when ownership cannot be preserved. | |
| Title | uutils coreutils cp Unexpected Privileged Executable Creation with -p | |
| Weaknesses | CWE-281 | |
| References |
| |
| Metrics |
cvssV3_1
|