Moderate Vulnerability in python-dns: Denial of Service Risk

python3-dns Updated 02 Oct 2025

Summary

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

ALSA-2024:9423: Moderate: python-dns security update. Affects python3-dns versions < 2.6.1-3.el9. Fixed in 2.6.1-3.el9. 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-dns package is a widely used library that provides DNS client functionality through its dnslib module. It includes additional modules that define symbolic constants for DNS operations, such as dnstype, dnsclass, and dnsopcode. This package is essential for applications that require DNS resolution capabilities. However, it has been identified to have a vulnerability that could lead to denial of service, impacting the reliability of applications relying on it.

Vulnerability Detail

The vulnerability, identified as CVE-2023-29483, arises from a flaw in the stub resolver of the dnspython library. This flaw can be exploited to cause a denial of service, where the DNS client becomes unresponsive, potentially disrupting services that depend on DNS queries. The issue is particularly concerning for applications that handle a large volume of DNS requests, as it could lead to significant downtime and service interruptions.

How To Fix

Minimum fixed version

2.6.1-3.el9

This is the first release that contains the fix.

sudo dnf update python3-dns

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

Workaround

As a temporary measure, you may consider limiting the number of concurrent DNS queries your application makes or implementing a retry mechanism to handle potential failures gracefully. However, the best approach is to apply the patch as soon as possible.

Conclusion

The python-dns package has a moderate vulnerability that can lead to denial of service, impacting applications that rely on it for DNS resolution. It is crucial to update to the latest patched version to mitigate this risk. Implementing workarounds can help temporarily, but applying the fix is the best course of action.

See every vulnerability recorded for python3-dns →

Share this vulnerability

FAQ

CVE-2023-29483 is the identifier for a vulnerability in the python-dns package that can lead to denial of service due to a flaw in the stub resolver.

If your application relies on the python-dns package for DNS resolution, it may become unresponsive under certain conditions, leading to service disruptions.

If an immediate update is not possible, consider implementing rate limiting on DNS queries or a retry mechanism to mitigate the impact.

More details can be found on the CVE page for CVE-2023-29483, which includes the impact assessment and technical details.

Yes, Vulert can monitor your application for open-source vulnerabilities using a manifest file like package-lock.json, providing real-time alerts without requiring code access.

Related vulnerabilities

Recent vulnerabilities recorded for python3-dns.

How To Fix

Minimum fixed version

2.6.1-3.el9

This is the first release that contains the fix.

sudo dnf update python3-dns

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