6.5medium
CRLF injection in urllib3
- Severity
- 6.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 2.27% (higher than 84% of CVEs)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-wqvq-5m8c-6g24PYSEC-2020-148
Description
urllib3 before 1.25.9 allows CRLF injection if the attacker controls the HTTP request method, as demonstrated by inserting CR and LF control characters in the first argument of putrequest(). NOTE: this is similar to CVE-2020-26116.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| urllib3 (PyPI) | before 1.25.9, before 1dd69c5c5982fae7c87a620d487c2ebf7a6b436b | GitHub Advisory Database, PyPA Advisory Database |
| python urllib3 | before 1.25.9 | NVD |
| canonical ubuntu_linux | 16.04, 18.04, 20.04 | NVD |
| debian debian_linux | 9.0 | NVD |
| oracle communications_cloud_native_core_network_function_cloud_native_environment | 22.2.0 | NVD |
| oracle zfs_storage_appliance_kit | 8.8 | NVD |
All scores
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | 6.4medium CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:N |
Classification
What each source says
CVE List
urllib3 before 1.25.9 allows CRLF injection if the attacker controls the HTTP request method, as demonstrated by inserting CR and LF control characters in the first argument of putrequest(). NOTE: this is similar to CVE-2020-26116.
GitHub Advisory Database
urllib3 before 1.25.9 allows CRLF injection if the attacker controls the HTTP request method, as demonstrated by inserting CR and LF control characters in the first argument of putrequest(). NOTE: this is similar to CVE-2020-26116.
NVD (es)
urllib3 versiones anteriores a 1.25.9, permite una inyección de CRLF si el atacante controla el método de petición HTTP, como es demostrado al insertar caracteres de control CR y LF en el primer argumento de la función putrequest(). NOTA: esto es similar a CVE-2020-26116
References
| https://bugs.python.org/issue39603 | issue-tracking, vendor-advisory, web | |
| https://github.com/urllib3/urllib3/pull/1800 | patch, third-party-advisory, web | |
| https://github.com/urllib3/urllib3/commit/1dd69c5c5982fae7c87a620d487c2ebf7a6b436b | fix, patch, third-party-advisory, web | |
| https://usn.ubuntu.com/4570-1/ | third-party-advisory, vendor-advisory, web | |
| https://lists.debian.org/debian-lts-announce/2021/06/msg00015.html | mailing-list, third-party-advisory, web | |
| https://www.oracle.com/security-alerts/cpuoct2021.html | patch, third-party-advisory, web | |
| https://www.oracle.com/security-alerts/cpujul2022.html | patch, third-party-advisory, web | |
| https://lists.debian.org/debian-lts-announce/2023/10/msg00012.html | mailing-list, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-26137 | advisory | |
| https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2020-148.yaml | web | |
| https://github.com/urllib3/urllib3 | package | |
| https://usn.ubuntu.com/4570-1 | web | |
| https://github.com/advisories/GHSA-wqvq-5m8c-6g24 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-26137 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-wqvq-5m8c-6g24 changed 2024-11-18 | CC-BY-4.0 |
| NVD | CVE-2020-26137 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2020-148 changed 2023-11-08 | CC-BY-4.0 |