Lucene search

K
osvGoogleOSV:USN-6275-1
HistoryAug 03, 2023 - 2:30 p.m.

cargo, rust-cargo vulnerability

2023-08-0314:30:10
Google
osv.dev
6
addison crump
file permissions
unix
crate archives
local attacker
execute code

CVSS3

7.9

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

AI Score

7

Confidence

Low

EPSS

0

Percentile

5.1%

Addison Crump discovered that Cargo incorrectly set file permissions
on UNIX-like systems when extracting crate archives. If the crate would
contain files writable by any user, a local attacker could possibly use
this issue to execute code as another user.

CVSS3

7.9

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

AI Score

7

Confidence

Low

EPSS

0

Percentile

5.1%