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.
0.0.20-10.0.22-10.0.23-10.0.23-20.0.23-30.0.24-10.0.24-20.0.30-10.0.30-20.0.30-2ubuntu20.1.0+git20250711.2ba3a33-0ubuntu10.1.0+git20250711.2ba3a33-0ubuntu20.1.0+git20250711.2ba3a33-0ubuntu30.1.0+git20250711.2ba3a33-0ubuntu40.1.0+git20250801.cf79675-0ubuntu10.1.0+git20250813.4af2a84-0ubuntu20.1.0+git20250813.4af2a84-0ubuntu4+6 more0:0.10.0-1ubuntu2~26.04.1Exploitability
AV:LAC:LPR:LUI:NScope
S:UImpact
C:LI:HA:LCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L