Security Update for python-urllib3

python-urllib3 Updated 02 Oct 2025

Summary

08/11/2023
N/A
Yes i
Unrated
Not published

DLA-3649-1: python-urllib3 - security update. Affects python-urllib3 versions < 1.24.1-1+deb10u2. Fixed in 1.24.1-1+deb10u2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

python-urllib3 is a user-friendly HTTP client library for Python. It allows developers to make HTTP requests and handle responses in a convenient manner. This library is widely used in various Python applications and frameworks. However, a vulnerability has been discovered in python-urllib3 that could lead to information disclosure. The vulnerability arises when an HTTP redirect response with status 301, 302, or 303 is received after the request method has been changed from one that accepts a request body (e.g., POST) to GET, as required by the HTTP RFCs.

Vulnerability Detail

The vulnerability in python-urllib3 allows for potential information disclosure. When an HTTP redirect response is received after changing the request method from one that accepts a request body to GET, the library fails to remove the original request body. This could result in sensitive information being included in subsequent GET requests, potentially leading to data leakage. It is important to note that this vulnerability only affects scenarios where the request method is changed from one that accepts a body to GET in the presence of an HTTP redirect response.

How To Fix

Minimum fixed version

1.24.1-1+deb10u2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python-urllib3

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround provided for this vulnerability. However, as a general best practice, it is recommended to review the code and ensure that the request method is not changed from one that accepts a request body to GET in the presence of an HTTP redirect response. Additionally, it is crucial to keep the python-urllib3 library up to date with the latest security patches.

Conclusion

In conclusion, python-urllib3 versions prior to 1.24.1-1+deb10u2 are vulnerable to an information disclosure issue. To mitigate this vulnerability, it is crucial to upgrade to the latest version of python-urllib3. Regularly updating the library and following best practices for handling HTTP requests can help ensure the security of your Python applications. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for python-urllib3 →

Share this vulnerability

FAQ

python-urllib3 is a user-friendly HTTP client library for Python that simplifies making HTTP requests and handling responses.

The vulnerability in python-urllib3 could lead to information disclosure, potentially exposing sensitive data in subsequent GET requests.

The vulnerability affects python-urllib3 versions prior to 1.24.1-1+deb10u2.

To fix this vulnerability, you should upgrade python-urllib3 to version 1.24.1-1+deb10u2 or later.

There is no specific workaround provided for this vulnerability. However, it is recommended to review the code and ensure that the request method is not changed from one that accepts a request body to GET in the presence of an HTTP redirect response.

Related vulnerabilities

Recent vulnerabilities recorded for python-urllib3.

How To Fix

Minimum fixed version

1.24.1-1+deb10u2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python-urllib3

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback