Moderate: python-idna security update
Summary
ALSA-2024:3846: Moderate: python-idna security update. Affects python3-idna versions < 2.10-7.el9_4.1. Fixed in 2.10-7.el9_4.1. 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 python3-idna package is a Python library that provides support for Internationalized Domain Names (IDNs). It allows users to encode and decode domain names that contain non-ASCII characters. This package is commonly used in web applications and networking tools to handle IDNs.
The vulnerability identified in this package (CVE-2024-3651) can lead to a denial-of-service (DoS) attack. Specifically, an attacker can exploit the vulnerability by providing specially crafted inputs to the idna.encode() function, causing excessive resource consumption and potentially leading to system instability or unresponsiveness.
Vulnerability Detail
The vulnerability (CVE-2024-3651) in the python3-idna package allows an attacker to launch a DoS attack by exploiting the idna.encode() function. By providing carefully crafted inputs, the attacker can cause the function to consume excessive resources, potentially leading to system instability or unresponsiveness.
This vulnerability can be particularly dangerous in scenarios where the affected package is used in critical systems or web applications that handle user input. An attacker with knowledge of this vulnerability could exploit it to disrupt the normal operation of the system or service.
How To Fix
Minimum fixed version
2.10-7.el9_4.1
This is the first release that contains the fix.
sudo dnf update python3-idna
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Conclusion
The python3-idna package is vulnerable to a DoS attack due to a flaw in the idna.encode() function. To mitigate this vulnerability, it is crucial to update the package to version 2.10-7.el9_4.1 or later. Failure to address this vulnerability could result in system instability or unresponsiveness. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for python3-idna →
FAQ
The vulnerability allows an attacker to launch a DoS attack by consuming excessive resources, potentially leading to system instability or unresponsiveness.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) and the tool will analyze it for any known vulnerabilities.
At the time of this advisory, there are no known public exploits targeting this specific vulnerability. However, it is always recommended to apply security updates promptly to mitigate any potential risks.
Yes, this vulnerability can be exploited remotely. An attacker can send specially crafted inputs to the affected function over a network, potentially causing a DoS condition on the targeted system.
At the moment, there is no known workaround for this vulnerability. It is recommended to update the python3-idna package to the latest version as soon as possible.
Related vulnerabilities
Recent vulnerabilities recorded for python3-idna.