CVE-2019-9948

Impact:
Moderate
Public Date:
2019-03-23
CWE:
CWE-749
Bugzilla:
1695570: CVE-2019-9948 python: Undocumented local_file protocol allows remote attackers to bypass protection mechanisms

The MITRE CVE dictionary describes this issue as:

urllib in Python 2.x through 2.7.16 supports the local_file: scheme, which makes it easier for remote attackers to bypass protection mechanisms that blacklist file: URIs, as demonstrated by triggering a urllib.urlopen('local_file:///etc/passwd') call.

Find out more about CVE-2019-9948 from the MITRE CVE dictionary dictionary and NIST NVD.

CVSS v3 metrics

CVSS3 Base Score 7.4
CVSS3 Base Metrics CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack Vector Network
Attack Complexity High
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity Impact High
Availability Impact None

Red Hat Security Errata

Platform Errata Release Date
Red Hat Software Collections for Red Hat Enterprise Linux 6 (python27-python) RHSA-2019:1700 2019-07-08
Red Hat Enterprise Linux 7 (python) RHSA-2019:2030 2019-08-06
Red Hat Software Collections for Red Hat Enterprise Linux 7 (python27-python) RHSA-2019:1700 2019-07-08

Affected Packages State

Platform Package State
Red Hat Software Collections for Red Hat Enterprise Linux rh-python35-python Will not fix
Red Hat Software Collections for Red Hat Enterprise Linux rh-python36-python Affected
Red Hat Enterprise Linux 8 python27:2.7/python2 Affected
Red Hat Enterprise Linux 8 python3 Affected
Red Hat Enterprise Linux 8 python36:3.6/python36 Not affected
Red Hat Enterprise Linux 7 python3 Not affected
Red Hat Enterprise Linux 6 python Will not fix
Red Hat Enterprise Linux 5 python Will not fix
Unless explicitly stated as not affected, all previous versions of packages in any minor update stream of a product listed here should be assumed vulnerable, although may not have been subject to full analysis.

Mitigation

If your application uses a blacklist to prevent "file://" schema from being used, consider using a whitelist approach to just allow the schemas you want or add "local_file://" schema to your blacklist.

Last Modified

CVE description copyright © 2017, The MITRE Corporation