Red Hat VEX
RHVEX-CVE-2023-45803
urllib3: Request body not stripped after redirect from 303 status changes request method to GET
Details
A flaw was found in urllib3, an HTTP client library for Python. urllib3 doesn't remove the HTTP request body when an HTTP redirect response using status 301, 302, or 303, after changing the method in a request from one that could accept a request body such as POST to GET, as is required by HTTP RFCs. This issue requires a previously trusted service to become compromised in order to have an impact on confidentiality, therefore, the exploitability of this vulnerability is low. Additionally, many users aren't putting sensitive data in HTTP request bodies; if this is the case, this vulnerability isn't exploitable.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:6 | python-urllib3 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python-pip | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python-s3transfer | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python-urllib3 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python3-pip | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | resource-agents | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | resource-agents-aliyun | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | resource-agents-gcp | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | resource-agents-sap | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | resource-agents-sap-hana | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | resource-agents-sap-hana-scaleout | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | sap-cluster-connector | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | platform-python-pip | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python-pip | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python3-pip | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python3-pip-wheel | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | python-pip | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | python3-pip | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | python3-pip-wheel | All versions, no fix yet |
References
- https://access.redhat.com/security/cve/CVE-2023-45803
- https://bugzilla.redhat.com/show_bug.cgi?id=2246840
- https://www.cve.org/CVERecord?id=CVE-2023-45803
- https://nvd.nist.gov/vuln/detail/CVE-2023-45803
- https://github.com/urllib3/urllib3/commit/4e98d57809dacab1cbe625fddeec1a290c478ea9
- https://github.com/urllib3/urllib3/security/advisories/GHSA-g4mx-q9vg-27p4
- https://www.rfc-editor.org/rfc/rfc9110.html#name-get