Moderate: python-idna security update

python3-idna Updated 02 Oct 2025

Summary

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

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 ↓

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

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 →

Share this vulnerability

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.

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 →

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