Critical Security Update for python-requests: Addressing Vulnerability in Red Hat Enterprise Linux 9
Summary
RHSA-2025:12519: Red Hat Security Advisory: python-requests security update. Affects python-requests versions < 0:2.25.1-10.el9_6. Fixed in 0:2.25.1-10.el9_6. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The python-requests package is a widely used HTTP library for Python, designed to simplify making HTTP requests. It provides a user-friendly interface for sending HTTP requests and handling responses, making it essential for developers working with web services. However, a security vulnerability has been identified in this package, affecting its integrity and potentially exposing applications to security risks.
Vulnerability Detail
The vulnerability in python-requests arises from insufficient input validation, which could allow an attacker to exploit the library and perform unauthorized actions. This could lead to data leakage, unauthorized access to sensitive information, or even remote code execution in severe cases. The vulnerability has been assigned a CVSS score of 5.3, indicating a moderate risk level that requires prompt attention.
How To Fix
Minimum fixed version
0:2.25.1-10.el9_6
This is the first release that contains the fix.
sudo dnf update python-requests
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, users can limit the exposure of the affected application by implementing strict input validation and sanitization measures. This may help mitigate the risk until the package is updated.
Conclusion
The identified vulnerability in the python-requests package poses a moderate risk to applications using this library. It is crucial for users to update to the patched version to mitigate potential security threats. Utilizing tools like Vulert can further enhance security by providing real-time monitoring for vulnerabilities.
See every vulnerability recorded for python-requests →
FAQ
The vulnerability is related to insufficient input validation, which could allow attackers to exploit the library.
You can use Vulert's playground at Vulert Scanner to check if your application is affected without any signup.
The CVSS score of the vulnerability is 5.3, indicating a moderate risk level.
Run the command 'sudo dnf update python-requests' in your terminal to update to the patched version.
Yes, Vulert can monitor and alert in real-time for open-source vulnerabilities using just a manifest file like package-lock.json.
Related vulnerabilities
Recent vulnerabilities recorded for python-requests.