Moderate: python-idna security update

python-idna Updated 02 Oct 2025

Summary

14/06/2024
N/A
Yes i
Unrated
Not published

RLSA-2024:3846: Moderate: python-idna security update. Affects python-idna versions < 0:2.10-7.el9_4.1. Fixed in 0:2.10-7.el9_4.1. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The python-idna package is a Python library that provides support for Internationalized Domain Names (IDNs). It allows encoding and decoding of domain names containing non-ASCII characters. This package is commonly used in various applications and frameworks to handle IDNs. However, a vulnerability has been discovered in the package that could potentially lead to a denial of service (DoS) attack.

Vulnerability Detail

The vulnerability (CVE-2024-3651) in python-idna arises from a flaw in the idna.encode() function. An attacker can exploit this vulnerability by providing specially crafted inputs to the function, leading to excessive resource consumption and potentially causing a DoS condition. This vulnerability can be triggered remotely, making it a significant concern for applications that utilize the python-idna package.

How To Fix

Minimum fixed version

0:2.10-7.el9_4.1

This is the first release that contains the fix.

sudo dnf update python-idna

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

Workaround

No workaround has been provided for this vulnerability. It is essential to apply the security update as soon as possible to ensure the protection of the affected system.

Conclusion

In conclusion, the python-idna package is vulnerable to a DoS attack due to a flaw in the idna.encode() function. To mitigate this vulnerability, it is recommended to update the package to version 2.10-7.el9_4.1 or later. Failure to apply the necessary security patches could result in a potential DoS condition. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for python-idna →

Share this vulnerability

FAQ

Python-idna is a library that provides support for Internationalized Domain Names (IDNs). It allows encoding and decoding of domain names containing non-ASCII characters.

The vulnerability in python-idna can be exploited by an attacker to cause a denial of service (DoS) condition. This can result in the unavailability of the affected application or system.

To fix this vulnerability, update the python-idna package to version 2.10-7.el9_4.1 or later. This update includes the necessary security patches to mitigate the DoS vulnerability.

Yes, this vulnerability can be triggered remotely, making it a significant concern for applications that utilize the python-idna package.

No workaround has been provided for this vulnerability. It is crucial to apply the security update to protect the affected system.

Related vulnerabilities

Recent vulnerabilities recorded for python-idna.

How To Fix

Minimum fixed version

0:2.10-7.el9_4.1

This is the first release that contains the fix.

sudo dnf update python-idna

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