Python Untrusted Search Path (CVE-2023-41105)

high Nessus Plugin ID 180578

Synopsis

The remote host has an application installed that is affected by a vulnerability.

Description

The version of Python installed on the remote Windows host is potentially affected by a vulnerability. Passing a path with null bytes to the os.path.normpath() function causes the returned path to be unexpectedly truncated at the first occurrence of null bytes within the path.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Python 3.11.5, 3.12.0rc2 or later, apply a patch, or see workarounds.

See Also

http://www.nessus.org/u?6b943c37

Plugin Details

Severity: High

ID: 180578

File Name: python_3_12_0rc2_cve-2023-41105.nasl

Version: 1.2

Type: local

Agent: windows

Family: Windows

Published: 9/7/2023

Updated: 10/16/2023

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:C/A:N

CVSS Score Source: CVE-2023-41105

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:python:python

Required KB Items: installed_sw/Python Software Foundation Python, SMB/Registry/Enumerated

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/24/2023

Vulnerability Publication Date: 8/24/2023

Reference Information

CVE: CVE-2023-41105

IAVA: 2023-A-0442