Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2023-43804

MEDIUM 5.9EPSS 75%

`Cookie` HTTP header isn't stripped on cross-origin redirects

Also known as GHSA-v845-jxx5-vc9f, PYSEC-2023-192

Mitigation

  • Upgrade urllib3 to one of 2.0.6, 1.26.17 (or later in the same release line).

Who should check

  • Projects that depend on PyPI package urllib3 (>= 2.0.0, < 2.0.6)
  • Anyone running urllib3 >= 2.0.0, < 2.0.6; < 1.26.17

Vulnerability facts

Affected
urllib3 >= 2.0.0, < 2.0.6
Fixed in
2.0.6, 1.26.17
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
5.9 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: High
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: None
EPSS
1.52% chance of exploitation in 30 days (percentile 75, 2026-11-26)
CWE
CWE-200
Published
Modified

Description

urllib3 is a user-friendly HTTP client library for Python. urllib3 doesn't treat the `Cookie` HTTP header special or provide any helpers for managing cookies over HTTP, that is the responsibility of the user. However, it is possible for a user to specify a `Cookie` header and unknowingly leak information via HTTP redirects to a different origin if that user doesn't disable redirects explicitly. This issue has been patched in urllib3 version 1.26.17 or 2.0.5.

Affected and fixed versions

Package / productAffectedFixedSource
PyPI urllib3>= 2.0.0, < 2.0.62.0.6, 1.26.17osv
urllib3>= 2.0.0, < 2.0.6; < 1.26.17—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2023-43804. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-43804.md
Affected: urllib3 >= 2.0.0, < 2.0.6
Fixed in: 2.0.6, 1.26.17

Steps:
1. Search this machine and project for urllib3 (PyPI), urllib3: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2023-43804 being exploited?

There is no confirmed exploitation: CVE-2023-43804 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.52% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2023-43804?

Medium: CVSS 5.9 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2023-43804?

urllib3 >= 2.0.0, < 2.0.6.

Is there a fix for CVE-2023-43804?

Yes. Fixed in 2.0.6, 1.26.17. Upgrade urllib3 to one of 2.0.6, 1.26.17 (or later in the same release line).

How do I check if I'm affected by CVE-2023-43804?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors