# What is CVE-2024-37891?

> CVE-2024-37891 is a medium-severity flaw (CVSS 6.5) in Urllib3 from Python, published on 17 June 2024. It is not on the list of flaws known to be exploited today. The latest forecast puts its chance of use in the next 30 days at 1.5%. If you run an affected version, plan in the vendor’s fix.

Canonical page: https://www.edgeprotect.io/what-is/cve-2024-37891

## At a glance

- **Verdict:** Plan it in. No sign of exploitation and a low forecast. Patch it in your normal update cycle.
- **EdgeProtect risk score:** 24 out of 100 (Low); action: Monitor. Kept up to date as the evidence changes.
- **Severity:** Medium (CVSS 6.5 out of 10)
- **Known to be exploited:** No, not on the list of flaws known to be exploited today
- **Chance of use in the next 30 days:** 1.5% (latest exploit-likelihood forecast)
- **Published:** 17 June 2024
- **Record last updated:** 17 June 2026
- **Main product:** Urllib3 from Python
- **Affected products:** 3

## What is CVE-2024-37891? In plain terms

It can be attacked from anywhere on the internet with an ordinary user account, and nobody has to click anything. If it works, the attacker can read data.

### The official description

urllib3 is a user-friendly HTTP client library for Python. When using urllib3's proxy support with `ProxyManager`, the `Proxy-Authorization` header is only sent to the configured proxy, as expected. However, when sending HTTP requests *without* using urllib3's proxy support, it's possible to accidentally configure the `Proxy-Authorization` header even though it won't have any effect as the request is not using a forwarding proxy or a tunneling proxy. In those cases, urllib3 doesn't treat the `Proxy-Authorization` HTTP header as one carrying authentication material and thus doesn't strip the header on cross-origin redirects. Because this is a highly unlikely scenario, we believe the severity of this vulnerability is low for almost all users. Out of an abundance of caution urllib3 will automatically strip the `Proxy-Authorization` header during cross-origin redirects to avoid the small chance that users are doing this on accident. Users should use urllib3's proxy support or disable automatic redirects to achieve safe processing of the `Proxy-Authorization` header, but we still decided to strip the header by default in order to further protect users who aren't using the correct approach. We believe the number of usages affected by this advisory is low. It requires all of the following to be true to be exploited: 1. Setting the `Proxy-Authorization` header without using urllib3's built-in proxy support. 2. Not disabling HTTP redirects. 3. Either not using an HTTPS origin server or for the proxy or target origin to redirect to a malicious origin. Users are advised to update to either version 1.26.19 or version 2.2.2. Users unable to upgrade may use the `Proxy-Authorization` header with urllib3's `ProxyManager`, disable HTTP redirects using `redirects=False` when sending requests, or not user the `Proxy-Authorization` header as mitigations.

### What kind of flaw is it?

- CWE-669: Incorrect Resource Transfer Between Spheres

### How an attack on it works

- Where an attacker can be: Anywhere on the internet
- How hard it is to pull off: Easy: no special conditions
- Login needed first: An ordinary user account
- Does someone have to click: No, nobody has to do anything
- What an attacker gets: Can read data

Severity vector: `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## Is CVE-2024-37891 being exploited? Not that we know of

It is not on the list of flaws known to be exploited today. The latest forecast puts the chance of it being used in the next 30 days at 1.5%. That can change at any time, which is why we keep watching.

Exploit likelihood over the last 7 days: 1.1%, 1.1%, 1.1%, 1.1%, 1.1%, 1.5%, 1.5%.

### Timeline

- 17 June 2024: Published
- 17 June 2026: Record last updated

### How EdgeProtect ranks it

CVE-2024-37891 scores **24 out of 100 (Low)**, with the action "Monitor".

Every published flaw gets a risk score from 0 to 100, kept up to date as the evidence changes. Four things go into the score, from the one that counts most to the ones that count less:

- Evidence it is being exploited: biggest factor
- How severe it is: strong factor
- How widely exposed it is: key context
- Real threat activity around it: key context

85 and above is Critical. Anything confirmed as exploited is always marked for an emergency patch, whatever its score. When this flaw matches software you track, it lands in your list with its score and the reasons behind it.

## Who is affected by CVE-2024-37891?

The published record lists 3 products. Versions are as published: "before 1.26.19" means every version up to, but not including, 1.26.19.

- [Urllib3](https://www.edgeprotect.io/product/python/urllib3) by [Python](https://www.edgeprotect.io/vendors/python) (Application): before 1.26.19, 2.0.0 to before 2.2.2
- [Active Iq Unified Manager](https://www.edgeprotect.io/product/netapp/active_iq_unified_manager) by [Netapp](https://www.edgeprotect.io/vendors/netapp) (Application): version not specified
- [Debian Linux](https://www.edgeprotect.io/product/debian/debian_linux) by [Debian](https://www.edgeprotect.io/vendors/debian) (Operating system): 11.0

## How do I fix CVE-2024-37891?

1. **Check whether you run it.** Compare your versions with the affected products above. Not sure what you run? EdgeProtect can work it out from your public website, or you can pick it from a list.
2. **Apply the vendor’s fix.** Install the update named in the vendor’s advisory. We’ve put the advisories and patch notes first in the list.
3. **If you can’t patch today.** Follow any mitigation the vendor publishes, and limit who can reach the affected system from the internet until the update is in.
4. **Keep an eye on it.** Track the product and we tell you as soon as we spot this flaw on the list of exploited flaws, or a jump in its exploit likelihood.

### References

- [github.com](https://github.com/urllib3/urllib3/commit/accff72ecc2f6cf5a76d9570198a93ac7c90270e) (Patch)
- [github.com](https://github.com/urllib3/urllib3/security/advisories/GHSA-34jh-p97f-mpxf) (Mitigation, Vendor advisory)
- [vicarius.io](https://www.vicarius.io/vsociety/posts/proxy-authorization-header-handling-vulnerability-in-urllib3-cve-2024-37891) (Exploit, Mitigation, Third-party advisory)
- [lists.debian.org](https://lists.debian.org/debian-lts-announce/2024/12/msg00020.html) (Mailing list, Third-party advisory)
- [security.netapp.com](https://security.netapp.com/advisory/ntap-20240822-0003/) (Third-party advisory)

## Questions

### What is CVE-2024-37891?

CVE-2024-37891 is a medium-severity flaw in Urllib3 from Python, published on 17 June 2024. It can be attacked from anywhere on the internet with an ordinary user account, and nobody has to click anything. If it works, the attacker can read data.

### How serious is CVE-2024-37891?

It scores 6.5 out of 10 on the CVSS severity scale, which is medium. Our risk score for CVE-2024-37891 is 24 out of 100, which is Low. Its action is "Monitor". No sign of exploitation and a low forecast. Patch it in your normal update cycle.

### Is CVE-2024-37891 being exploited?

It is not on the list of flaws known to be exploited today. The latest forecast puts the chance of it being used in the next 30 days at 1.5%. That can change at any time, which is why we keep watching.

### Which versions does CVE-2024-37891 affect?

For Urllib3 from Python: before 1.26.19, 2.0.0 to before 2.2.2. The record lists 3 products in all, each with its versions, under "Who is affected" on this page.

### How do I fix CVE-2024-37891?

Install the update the vendor names in its advisory, linked first under "How do I fix" on this page. If you can't patch today, follow the vendor's mitigation and limit who can reach the affected system from the internet.

## Does CVE-2024-37891 affect you?

EdgeProtect keeps checking for you:

- **Tell us what you run.** Pick your software from a list, or let us work it out from your website.
- **We match it to every flaw.** Over 400,000 published flaws, checked against your list.
- **Ranked by real-world risk.** Every flaw gets a 0 to 100 risk score, kept up to date, led by evidence criminals are using it.
- **Told as soon as we know.** An alert by email, in the app or by webhook to your own tools.

Start free (no card, nothing to install): https://www.edgeprotect.io/register
Book a demo: https://www.edgeprotect.io/demo

