CVE catalog

CVE-2019-9948

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

[CVE catalog]

Severity
Critical · CVSS 9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N/E:P/RL:O/RC:C
Published
Updated
Source
[NVD] · [CVE record]
EPSS
11.84% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
CpepythonNot reported3.7.4fixed
CpepythonNot reported3.5.8fixed
CpepythonNot reported3.6.9fixed
CpepythonNot reported3.7.4fixed
CpeleapNot reportedNot reportedunknown
CpeleapNot reportedNot reportedunknown
Cpedebian_linuxNot reportedNot reportedunknown
Cpedebian_linuxNot reportedNot reportedunknown
CpefedoraNot reportedNot reportedunknown
CpefedoraNot reportedNot reportedunknown
Cpeubuntu_linuxNot reportedNot reportedunknown
Cpeubuntu_linuxNot reportedNot reportedunknown
Cpeubuntu_linuxNot reportedNot reportedunknown
Cpeubuntu_linuxNot reportedNot reportedunknown
Cpeubuntu_linuxNot reportedNot reportedunknown
Cpeenterprise_linux_desktopNot reportedNot reportedunknown
Cpeenterprise_linux_desktopNot reportedNot reportedunknown
Cpeenterprise_linux_eusNot reportedNot reportedunknown
Cpeenterprise_linux_eusNot reportedNot reportedunknown
Cpeenterprise_linux_eusNot reportedNot reportedunknown
Ubuntupython2.7pro2.7.5-8ubuntu3vulnerable
Ubuntupython2.7pro2.7.5-8ubuntu4vulnerable
Ubuntupython2.7pro2.7.6-2vulnerable
Ubuntupython2.7pro2.7.6-2ubuntu1vulnerable
Ubuntupython2.7pro2.7.6-3vulnerable
Ubuntupython2.7pro2.7.6-3ubuntu1vulnerable
Ubuntupython2.7pro2.7.6-4vulnerable
Ubuntupython2.7pro2.7.6-4ubuntu1vulnerable
Ubuntupython2.7pro2.7.6-5vulnerable
Ubuntupython2.7pro2.7.6-7vulnerable
Ubuntupython2.7pro2.7.6-8vulnerable
Ubuntupython2.7pro2.7.6-8ubuntu0.2vulnerable
Ubuntupython2.7pro2.7.6-8ubuntu0.3vulnerable
Ubuntupython2.7pro2.7.6-8ubuntu0.4vulnerable
Ubuntupython2.7pro2.7.6-8ubuntu0.5vulnerable
Ubuntupython2.7pro2.7.6-8ubuntu0.6+esm2fixed
Ubuntupython3.4pro3.4~b1-0ubuntu3vulnerable
Ubuntupython3.4pro3.4~b1-4ubuntu4vulnerable
Ubuntupython3.4pro3.4~b1-4ubuntu6vulnerable
Ubuntupython3.4pro3.4~b1-5ubuntu2vulnerable
Ubuntupython3.4pro3.4~b2-1vulnerable
Ubuntupython3.4pro3.4~b3-1ubuntu1vulnerable
Ubuntupython3.4pro3.4~rc1-1build1vulnerable
Ubuntupython3.4pro3.4~rc2-1vulnerable
Ubuntupython3.4pro3.4~rc3-0ubuntu1vulnerable
Ubuntupython3.4pro3.4.0-1vulnerable
Ubuntupython3.4pro3.4.0-2ubuntu1vulnerable
Ubuntupython3.4pro3.4.0-2ubuntu1.1vulnerable
Ubuntupython3.4pro3.4.3-1ubuntu1~14.04.1vulnerable
Ubuntupython3.4pro3.4.3-1ubuntu1~14.04.3vulnerable
Ubuntupython3.4pro3.4.3-1ubuntu1~14.04.4vulnerable
Ubuntupython3.4pro3.4.3-1ubuntu1~14.04.5vulnerable
Ubuntupython3.4pro3.4.3-1ubuntu1~14.04.6vulnerable
Ubuntupython3.4pro3.4.3-1ubuntu1~14.04.7vulnerable
Ubuntupython3.4pro3.4.3-1ubuntu1~14.04.7+esm2fixed
Ubuntupython3.5pro3.5.2-2ubuntu0~16.04.4~14.04.1vulnerable
Ubuntupython3.5pro3.5.2-2ubuntu0~16.04.4~14.04.1+esm1fixed
Ubuntupython2.716.042.7.10-4ubuntu1vulnerable
Ubuntupython2.716.042.7.10-4ubuntu2vulnerable
Ubuntupython2.716.042.7.11-2vulnerable
Ubuntupython2.716.042.7.11-3vulnerable
Ubuntupython2.716.042.7.11-4vulnerable
Ubuntupython2.716.042.7.11-6vulnerable
Ubuntupython2.716.042.7.11-7vulnerable
Ubuntupython2.716.042.7.11-7ubuntu1vulnerable
Ubuntupython2.716.042.7.12-1~16.04vulnerable
Ubuntupython2.716.042.7.12-1ubuntu0~16.04.1vulnerable
Ubuntupython2.716.042.7.12-1ubuntu0~16.04.2vulnerable
Ubuntupython2.716.042.7.12-1ubuntu0~16.04.3vulnerable
Ubuntupython2.716.042.7.12-1ubuntu0~16.04.4vulnerable
Ubuntupython2.716.042.7.12-1ubuntu0~16.04.8fixed
Ubuntupython3.516.043.5.0-3vulnerable
Ubuntupython3.516.043.5.0-3ubuntu1vulnerable
Ubuntupython3.516.043.5.1~rc1-2ubuntu1vulnerable
Ubuntupython3.516.043.5.1-1vulnerable
Ubuntupython3.516.043.5.1-2vulnerable
Ubuntupython3.516.043.5.1-3vulnerable
Ubuntupython3.516.043.5.1-5vulnerable
Ubuntupython3.516.043.5.1-6ubuntu1vulnerable
Ubuntupython3.516.043.5.1-6ubuntu2vulnerable
Ubuntupython3.516.043.5.1-9ubuntu1vulnerable
Ubuntupython3.516.043.5.1-10vulnerable
Ubuntupython3.516.043.5.2-2~16.01vulnerable
Ubuntupython3.516.043.5.2-2~16.04vulnerable
Ubuntupython3.516.043.5.2-2ubuntu0~16.04.1vulnerable
Ubuntupython3.516.043.5.2-2ubuntu0~16.04.2vulnerable
Ubuntupython3.516.043.5.2-2ubuntu0~16.04.3vulnerable
Ubuntupython3.516.043.5.2-2ubuntu0~16.04.4vulnerable
Ubuntupython3.516.043.5.2-2ubuntu0~16.04.5vulnerable
Ubuntupython3.516.043.5.2-2ubuntu0~16.04.8fixed
Ubuntupython2.718.042.7.14-2ubuntu2vulnerable
Ubuntupython2.718.042.7.14-4vulnerable
Ubuntupython2.718.042.7.14-6vulnerable
Ubuntupython2.718.042.7.14-7vulnerable
Ubuntupython2.718.042.7.14-8vulnerable
Ubuntupython2.718.042.7.15~rc1-1vulnerable
Ubuntupython2.718.042.7.15~rc1-1ubuntu0.1vulnerable
Ubuntupython2.718.042.7.15-4ubuntu4~18.04vulnerable
Ubuntupython2.718.042.7.15-4ubuntu4~18.04.1fixed
Ubuntupython3.618.043.6.3-1ubuntu1vulnerable
Ubuntupython3.618.043.6.4~rc1-1vulnerable
Ubuntupython3.618.043.6.4~rc1-2vulnerable
Ubuntupython3.618.043.6.4-1vulnerable
Ubuntupython3.618.043.6.4-2vulnerable
Ubuntupython3.618.043.6.4-3build1vulnerable
Ubuntupython3.618.043.6.4-4vulnerable
Ubuntupython3.618.043.6.5~rc1-1vulnerable
Ubuntupython3.618.043.6.5-3vulnerable
Ubuntupython3.618.043.6.6-1~18.04vulnerable
Ubuntupython3.618.043.6.7-1~18.04vulnerable
Ubuntupython3.618.043.6.8-1~18.04.1vulnerable
Ubuntupython3.618.043.6.8-1~18.04.2fixed
Alpinepython23.102.7.16-r1fixed
Alpinepython23.112.7.16-r1fixed
Alpinepython23.122.7.16-r1fixed
Alpinepython23.72.7.15-r2fixed
Alpinepython23.82.7.15-r2fixed
Alpinepython23.92.7.16-r1fixed
Debianpython2.7112.7.16-2fixed
Debianpython3.483.4.2-1vulnerable
Debianpython3.483.4.2-1+deb8u1vulnerable
Debianpython3.483.4.2-1+deb8u2vulnerable
Debianpython3.483.4.2-1+deb8u3vulnerable
Debianpython3.483.4.2-1+deb8u4vulnerable
Debianpython3.483.4.2-1+deb8u5fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
CpepythoncpeNot reported3.7.4Not reportedNVD-CVE-2019-9948Not reported
CpepythoncpeNot reported3.5.8Not reportedNVD-CVE-2019-9948Not reported
CpepythoncpeNot reported3.6.9Not reportedNVD-CVE-2019-9948Not reported
CpepythoncpeNot reported3.7.4Not reportedNVD-CVE-2019-9948Not reported
Ubuntupython2.7debpro2.7.6-8ubuntu0.6+esm2Not reportedUBUNTU-CVE-2019-9948Not reported
Ubuntupython3.4debpro3.4.3-1ubuntu1~14.04.7+esm2Not reportedUBUNTU-CVE-2019-9948Not reported
Ubuntupython3.5debpro3.5.2-2ubuntu0~16.04.4~14.04.1+esm1Not reportedUBUNTU-CVE-2019-9948Not reported
Ubuntupython2.7deb16.042.7.12-1ubuntu0~16.04.8Not reportedUBUNTU-CVE-2019-9948Not reported
Ubuntupython3.5deb16.043.5.2-2ubuntu0~16.04.8Not reportedUBUNTU-CVE-2019-9948Not reported
Ubuntupython2.7deb18.042.7.15-4ubuntu4~18.04.1Not reportedUBUNTU-CVE-2019-9948Not reported
Ubuntupython3.6deb18.043.6.8-1~18.04.2Not reportedUBUNTU-CVE-2019-9948Not reported
Alpinepython2apk3.102.7.16-r1Not reportedALPINE-CVE-2019-9948Not reported
Alpinepython2apk3.112.7.16-r1Not reportedALPINE-CVE-2019-9948Not reported
Alpinepython2apk3.122.7.16-r1Not reportedALPINE-CVE-2019-9948Not reported
Alpinepython2apk3.72.7.15-r2Not reportedALPINE-CVE-2019-9948Not reported
Alpinepython2apk3.82.7.15-r2Not reportedALPINE-CVE-2019-9948Not reported
Alpinepython2apk3.92.7.16-r1Not reportedALPINE-CVE-2019-9948Not reported
Debianpython2.7deb112.7.16-2Not reportedDEBIAN-CVE-2019-9948Not reported
Debianpython3.4deb83.4.2-1+deb8u5Not reportedDLA-1852-1Not reported

OpenFactory catalog packages

No matching packages in this catalog.

Observed:

References