PT-2019-2028 · Python+8 · Python+8

Sihoon Lee

·

Published

2019-03-23

·

Updated

2024-07-11

·

CVE-2019-9948

CVSS v3.1

9.1

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions Python versions 2.x through 2.7.16
Description The issue is related to the urllib module in Python, which supports the local file: scheme. This makes it easier for remote attackers to bypass protection mechanisms that blacklist file: URIs. An example of exploitation is triggering a urllib.urlopen('local file:///etc/passwd') call, allowing attackers to access confidential data and compromise its integrity. The vulnerability is associated with errors in input data verification.
Recommendations For versions 2.x through 2.7.16, consider disabling the use of the local file: scheme in the urllib module as a temporary workaround until a patch is available. Restrict access to sensitive files and data to minimize the risk of exploitation. Avoid using the urllib.urlopen() function with unverified input. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2019:3335
ALT-PU-2019-2535
ALT-PU-2019-2944
ALT-PU-2019-3103
ALT-PU-2020-3318
BDU:2019-01741
CESA-2019_2030
CESA-2019_3335
CESA-2019_3520
CVE-2019-9948
DLA-1834-1
DLA-1852-1
DLA-2280-1
DLA-2337-1
MGASA-2019-0165
MGASA-2019-0318
OPENSUSE-SU-2019:1273-1
OPENSUSE-SU-2019_1273-1
OPENSUSE-SU-2019_1580-1
OPENSUSE-SU-2024:11202-1
PSF-2019-12
RHSA-2019:1700
RHSA-2019:2030
RHSA-2019:3335
RHSA-2019:3520
RHSA-2019:3725
RHSA-2019_2030
RHSA-2019_3335
RHSA-2019_3520
RHSA-2020:1268
RHSA-2020:1346
RHSA-2020:1462
RLSA-2019:3335
SUSE-SU-2019:0972-1
SUSE-SU-2019:14018-1
SUSE-SU-2019:1439-1
SUSE-SU-2019_14018-1
SUSE-SU-2019_1439-1
SUSE-SU-2020:0234-1
USN-4127-1
USN-4127-2
USN-6891-1

Affected Products

Alt Linux
Almalinux
Centos
Linuxmint
Python
Red Hat
Rocky Linux
Suse
Ubuntu