Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:43527
HistoryOct 04, 2023 - 9:47 a.m.

Untrusted Search Path

2023-10-0409:47:04
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
29
python
vulnerability
_py_normpath
null characters
os.path.normpath()
attacker
path manipulation

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

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

7 High

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

23.0%

python is vulnerable to Untrusted Search Path. The vulnerability is due to the _Py_normpath function which cannot process paths with embedded null characters without truncating the path. If a path containing the \0 byte is passed to os.path.normpath(), the path will be truncated unexpectedly at the first \0 byte. An attacker can exploit this behavior by constructing a path with null bytes, which will be unexpectedly truncated at the first \0 byte.

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

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

7 High

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

23.0%