Security mailing lists by PureSourceCode

CVE-2019-9948

CRITICAL 9.1CVSS 3.1

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.

Published
23 Mar 2019
Last modified
14 Oct 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-22
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.4 AV:N/AC:L/Au:N/C:P/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD python python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
>= 2.0, < 2.7.17 2.7.17
NVD python python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
>= 3.5.0, < 3.5.8 3.5.8
NVD python python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
>= 3.6.0, < 3.6.9 3.6.9
NVD python python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
>= 3.7.0, < 3.7.4 3.7.4
NVD opensuse leap
cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*
= 15.0
NVD opensuse leap
cpe:2.3:o:opensuse:leap:42.3:*:*:*:*:*:*:*
= 42.3
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*
= 29
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*
= 30
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*
= 12.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*
= 14.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
= 16.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
= 18.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*
= 19.04
NVD redhat enterprise_linux_desktop
cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
= 7.0
NVD redhat enterprise_linux_desktop
cpe:2.3:o:redhat:enterprise_linux_desktop:8.0:*:*:*:*:*:*:*
= 8.0
NVD redhat enterprise_linux_eus
cpe:2.3:o:redhat:enterprise_linux_eus:8.1:*:*:*:*:*:*:*
= 8.1
NVD redhat enterprise_linux_eus
cpe:2.3:o:redhat:enterprise_linux_eus:8.2:*:*:*:*:*:*:*
= 8.2
NVD redhat enterprise_linux_eus
cpe:2.3:o:redhat:enterprise_linux_eus:8.4:*:*:*:*:*:*:*
= 8.4
NVD redhat enterprise_linux_eus
cpe:2.3:o:redhat:enterprise_linux_eus:8.6:*:*:*:*:*:*:*
= 8.6
NVD redhat enterprise_linux_server
cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
= 7.0
NVD redhat enterprise_linux_server
cpe:2.3:o:redhat:enterprise_linux_server:8.0:*:*:*:*:*:*:*
= 8.0
NVD redhat enterprise_linux_server_eus
cpe:2.3:o:redhat:enterprise_linux_server_eus:8.4:*:*:*:*:*:*:*
= 8.4
NVD redhat enterprise_linux_tus
cpe:2.3:o:redhat:enterprise_linux_tus:8.2:*:*:*:*:*:*:*
= 8.2
NVD redhat enterprise_linux_tus
cpe:2.3:o:redhat:enterprise_linux_tus:8.4:*:*:*:*:*:*:*
= 8.4
NVD redhat enterprise_linux_tus
cpe:2.3:o:redhat:enterprise_linux_tus:8.6:*:*:*:*:*:*:*
= 8.6
NVD redhat enterprise_linux_workstation
cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
= 7.0
NVD redhat enterprise_linux_workstation
cpe:2.3:o:redhat:enterprise_linux_workstation:8.0:*:*:*:*:*:*:*
= 8.0

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 23 Mar 2019)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.