Python 3.6 and 3 others: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
CVE-2019-18348 is fixed in 37 products on 2 platforms, first by idle-python2.7 2.7.17-1~18.04ubuntu1, released January 30, 2020. 2 other affected products have no fix yet. It is not reported as exploited. Patch Radar priority: Routine.
An issue was discovered in urllib2 in Python 2.x through 2.7.17 and urllib in Python 3.x through 3.8.0. CRLF injection is possible if the attacker controls a url parameter, as demonstrated by the first argument to urllib.request.urlopen with \r\n (specifically in the host component of a URL) followed by an HTTP header. This is similar to the CVE-2019-9740 query string issue and the CVE-2019-9947 path string issue. (This is not exploitable when glibc has CVE-2016-10739 fixed.). This is fixed in: v2.7.18, v2.7.18rc1; v3.5.10, v3.5.10rc1; v3.6.11, v3.6.11rc1, v3.6.12; v3.7.8, v3.7.8rc1, v3.7.9; v3.8.3, v3.8.3rc1, v3.8.4, v3.8.4rc1, v3.8.5, v3.8.6, v3.8.6rc1.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Windows apps | |||
| Python 3.7 | 3.7.8 | Python 3.7 3.7.8 | Jun 27, 2020 |
| Python 3.8 | 3.8.3 | Python 3.8 3.8.3 | May 13, 2020 |
| Linux | |||
| idle-python2.7 · Ubuntu 18.04.6 LTS (bionic) | 2.7.17-1~18.04ubuntu1 | idle-python2.7 2.7.17-1~18.04ubuntu1 | Jan 30, 2020 |
| idle-python3.6 · Ubuntu 18.04.6 LTS (bionic) | 3.6.9-1~18.04ubuntu1 | idle-python3.6 3.6.9-1~18.04ubuntu1 | Jan 30, 2020 |
| idle-python3.7 · Ubuntu 18.04.6 LTS (bionic) | 3.7.5-2ubuntu1~18.04.2+esm3 | idle-python3.7 3.7.5-2ubuntu1~18.04.2+esm3 | Mar 19, 2024 |
| idle-python3.8 · Ubuntu 18.04.6 LTS (bionic) | 3.8.0-3ubuntu1~18.04.2+esm2 | idle-python3.8 3.8.0-3ubuntu1~18.04.2+esm2 | Mar 19, 2024 |
| idle-python3.8 · Ubuntu 20.04 LTS (focal) | 3.8.2-1ubuntu1.1 | idle-python3.8 3.8.2-1ubuntu1.1 | Jan 30, 2020 |
| libpython2.7 · Ubuntu 18.04.6 LTS (bionic) | 2.7.17-1~18.04ubuntu1 | libpython2.7 2.7.17-1~18.04ubuntu1 | Jan 30, 2020 |
| libpython2.7-minimal · Ubuntu 18.04.6 LTS (bionic) | 2.7.17-1~18.04ubuntu1 | libpython2.7-minimal 2.7.17-1~18.04ubuntu1 | Jan 30, 2020 |
| libpython2.7-stdlib · Ubuntu 18.04.6 LTS (bionic) | 2.7.17-1~18.04ubuntu1 | libpython2.7-stdlib 2.7.17-1~18.04ubuntu1 | Jan 30, 2020 |
| libpython2.7-testsuite · Ubuntu 18.04.6 LTS (bionic) | 2.7.17-1~18.04ubuntu1 | libpython2.7-testsuite 2.7.17-1~18.04ubuntu1 | Jan 30, 2020 |
| libpython3.6 · Ubuntu 18.04.6 LTS (bionic) | 3.6.9-1~18.04ubuntu1 | libpython3.6 3.6.9-1~18.04ubuntu1 | Jan 30, 2020 |
| libpython3.6-minimal · Ubuntu 18.04.6 LTS (bionic) | 3.6.9-1~18.04ubuntu1 | libpython3.6-minimal 3.6.9-1~18.04ubuntu1 | Jan 30, 2020 |
| libpython3.6-stdlib · Ubuntu 18.04.6 LTS (bionic) | 3.6.9-1~18.04ubuntu1 | libpython3.6-stdlib 3.6.9-1~18.04ubuntu1 | Jan 30, 2020 |
| libpython3.6-testsuite · Ubuntu 18.04.6 LTS (bionic) | 3.6.9-1~18.04ubuntu1 | libpython3.6-testsuite 3.6.9-1~18.04ubuntu1 | Jan 30, 2020 |
| libpython3.7 · Ubuntu 18.04.6 LTS (bionic) | 3.7.5-2ubuntu1~18.04.2+esm3 | libpython3.7 3.7.5-2ubuntu1~18.04.2+esm3 | Mar 19, 2024 |
| libpython3.7-minimal · Ubuntu 18.04.6 LTS (bionic) | 3.7.5-2ubuntu1~18.04.2+esm3 | libpython3.7-minimal 3.7.5-2ubuntu1~18.04.2+esm3 | Mar 19, 2024 |
| libpython3.7-stdlib · Ubuntu 18.04.6 LTS (bionic) | 3.7.5-2ubuntu1~18.04.2+esm3 | libpython3.7-stdlib 3.7.5-2ubuntu1~18.04.2+esm3 | Mar 19, 2024 |
| libpython3.7-testsuite · Ubuntu 18.04.6 LTS (bionic) | 3.7.5-2ubuntu1~18.04.2+esm3 | libpython3.7-testsuite 3.7.5-2ubuntu1~18.04.2+esm3 | Mar 19, 2024 |
| libpython3.8 · Ubuntu 18.04.6 LTS (bionic) | 3.8.0-3ubuntu1~18.04.2+esm2 | libpython3.8 3.8.0-3ubuntu1~18.04.2+esm2 | Mar 19, 2024 |
| libpython3.8 · Ubuntu 20.04 LTS (focal) | 3.8.2-1ubuntu1.1 | libpython3.8 3.8.2-1ubuntu1.1 | Jan 30, 2020 |
| libpython3.8-minimal · Ubuntu 18.04.6 LTS (bionic) | 3.8.0-3ubuntu1~18.04.2+esm2 | libpython3.8-minimal 3.8.0-3ubuntu1~18.04.2+esm2 | Mar 19, 2024 |
| libpython3.8-minimal · Ubuntu 20.04 LTS (focal) | 3.8.2-1ubuntu1.1 | libpython3.8-minimal 3.8.2-1ubuntu1.1 | Jan 30, 2020 |
| libpython3.8-stdlib · Ubuntu 18.04.6 LTS (bionic) | 3.8.0-3ubuntu1~18.04.2+esm2 | libpython3.8-stdlib 3.8.0-3ubuntu1~18.04.2+esm2 | Mar 19, 2024 |
| libpython3.8-stdlib · Ubuntu 20.04 LTS (focal) | 3.8.2-1ubuntu1.1 | libpython3.8-stdlib 3.8.2-1ubuntu1.1 | Jan 30, 2020 |
| libpython3.8-testsuite · Ubuntu 18.04.6 LTS (bionic) | 3.8.0-3ubuntu1~18.04.2+esm2 | libpython3.8-testsuite 3.8.0-3ubuntu1~18.04.2+esm2 | Mar 19, 2024 |
| libpython3.8-testsuite · Ubuntu 20.04 LTS (focal) | 3.8.2-1ubuntu1.1 | libpython3.8-testsuite 3.8.2-1ubuntu1.1 | Jan 30, 2020 |
| python2.7 · Ubuntu 18.04.6 LTS (bionic) | 2.7.17-1~18.04ubuntu1 | python2.7 2.7.17-1~18.04ubuntu1 | Jan 30, 2020 |
| python2.7-examples · Ubuntu 18.04.6 LTS (bionic) | 2.7.17-1~18.04ubuntu1 | python2.7-examples 2.7.17-1~18.04ubuntu1 | Jan 30, 2020 |
| python2.7-minimal · Ubuntu 18.04.6 LTS (bionic) | 2.7.17-1~18.04ubuntu1 | python2.7-minimal 2.7.17-1~18.04ubuntu1 | Jan 30, 2020 |
| python3.6 · Ubuntu 18.04.6 LTS (bionic) | 3.6.9-1~18.04ubuntu1 | python3.6 3.6.9-1~18.04ubuntu1 | Jan 30, 2020 |
| python3.6-examples · Ubuntu 18.04.6 LTS (bionic) | 3.6.9-1~18.04ubuntu1 | python3.6-examples 3.6.9-1~18.04ubuntu1 | Jan 30, 2020 |
| python3.6-minimal · Ubuntu 18.04.6 LTS (bionic) | 3.6.9-1~18.04ubuntu1 | python3.6-minimal 3.6.9-1~18.04ubuntu1 | Jan 30, 2020 |
| python3.6-venv · Ubuntu 18.04.6 LTS (bionic) | 3.6.9-1~18.04ubuntu1 | python3.6-venv 3.6.9-1~18.04ubuntu1 | Jan 30, 2020 |
| python3.7 · Ubuntu 18.04.6 LTS (bionic) | 3.7.5-2ubuntu1~18.04.2+esm3 | python3.7 3.7.5-2ubuntu1~18.04.2+esm3 | Mar 19, 2024 |
| python3.7-examples · Ubuntu 18.04.6 LTS (bionic) | 3.7.5-2ubuntu1~18.04.2+esm3 | python3.7-examples 3.7.5-2ubuntu1~18.04.2+esm3 | Mar 19, 2024 |
| python3.7-minimal · Ubuntu 18.04.6 LTS (bionic) | 3.7.5-2ubuntu1~18.04.2+esm3 | python3.7-minimal 3.7.5-2ubuntu1~18.04.2+esm3 | Mar 19, 2024 |
| python3.7-venv · Ubuntu 18.04.6 LTS (bionic) | 3.7.5-2ubuntu1~18.04.2+esm3 | python3.7-venv 3.7.5-2ubuntu1~18.04.2+esm3 | Mar 19, 2024 |
| python3.8 · Ubuntu 18.04.6 LTS (bionic) | 3.8.0-3ubuntu1~18.04.2+esm2 | python3.8 3.8.0-3ubuntu1~18.04.2+esm2 | Mar 19, 2024 |
| python3.8 · Ubuntu 20.04 LTS (focal) | 3.8.2-1ubuntu1.1 | python3.8 3.8.2-1ubuntu1.1 | Jan 30, 2020 |
| python3.8-examples · Ubuntu 18.04.6 LTS (bionic) | 3.8.0-3ubuntu1~18.04.2+esm2 | python3.8-examples 3.8.0-3ubuntu1~18.04.2+esm2 | Mar 19, 2024 |
| python3.8-examples · Ubuntu 20.04 LTS (focal) | 3.8.2-1ubuntu1.1 | python3.8-examples 3.8.2-1ubuntu1.1 | Jan 30, 2020 |
| python3.8-minimal · Ubuntu 18.04.6 LTS (bionic) | 3.8.0-3ubuntu1~18.04.2+esm2 | python3.8-minimal 3.8.0-3ubuntu1~18.04.2+esm2 | Mar 19, 2024 |
| python3.8-minimal · Ubuntu 20.04 LTS (focal) | 3.8.2-1ubuntu1.1 | python3.8-minimal 3.8.2-1ubuntu1.1 | Jan 30, 2020 |
| python3.8-venv · Ubuntu 18.04.6 LTS (bionic) | 3.8.0-3ubuntu1~18.04.2+esm2 | python3.8-venv 3.8.0-3ubuntu1~18.04.2+esm2 | Mar 19, 2024 |
| python3.8-venv · Ubuntu 20.04 LTS (focal) | 3.8.2-1ubuntu1.1 | python3.8-venv 3.8.2-1ubuntu1.1 | Jan 30, 2020 |
| No fix yet | |||
| Python 3.5 (Windows apps) | No fix yet | no-fix | n/a |
| Python 3.6 (Windows apps) | No fix yet | no-fix | n/a |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.