CVE-2023-29483
Python vulnerability analysis and mitigation

Overview

The dnspython stub resolver (versions before 2.6.0) contains a vulnerability identified as CVE-2023-29483, also known as the 'TuDoor' attack. The vulnerability was discovered and disclosed in February 2024, affecting the DNS query processing functionality in dnspython. The vulnerability impacts systems using dnspython for DNS resolution, particularly when used with eventlet (DNS Python, Red Hat CVE).

Technical details

The vulnerability exists in the DNS pre-processing pipeline where the UDP processing functions in query.py and asyncquery.py accept the first-arriving packet before closing the receiving socket. The issue allows remote attackers to interfere with DNS name resolution by quickly sending an invalid packet from the expected IP address and source port before a legitimate response arrives. The vulnerability has been assigned a CVSS v3.1 base score of 5.9 (Medium), with attack vector: Network, attack complexity: High, and high impact on availability (Snyk Report, NVD Entry).

Impact

When successfully exploited, the vulnerability can lead to a denial of service (DoS) condition for DNS resolution requests. In affected scenarios, dnspython might either switch to querying another resolver or give up entirely, potentially denying service for that specific resolution. This can disrupt DNS resolution services and affect the availability of targeted domains or services (Red Hat CVE, DNS Python Release).

Exploitability

The vulnerability requires an attacker to have the ability to predict or manipulate the timing of DNS responses and forge packets with the correct address and port. While the attack complexity is considered high, Snyk has indicated the existence of a proof-of-concept or detailed explanation of how to exploit this vulnerability. The attack can be executed remotely without requiring any privileges or user interaction (Snyk Report).

Mitigation and workarounds

The primary mitigation is to upgrade dnspython to version 2.6.1 or higher. Version 2.6.0 initially addressed the vulnerability but contained a bug that was fixed in 2.6.1. The fix involves modifying the DNS resolution algorithm to ignore bad packets and continue listening for a legitimate response until the query timeout expires. For systems unable to upgrade immediately, pinning eventlet to versions before 2.6.0 can serve as a temporary mitigation, though this leaves the system vulnerable to the potential DoS (DNS Python, GitHub Issue).

Community reactions

The vulnerability has received attention from major organizations and security vendors. NetApp has issued an advisory investigating the impact on their products, and Red Hat has classified it as having a moderate severity impact. The eventlet team has been actively working on patches to address the compatibility issues with the new dnspython versions that include the fix (NetApp Advisory, GitHub Discussion).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-59163CRITICAL9.1
  • Python logoPython
  • mnemosyne-memory
NoYesSep 18, 2026
CVE-2026-55071HIGH8.4
  • Python logoPython
  • stata-mcp
NoYesSep 21, 2026
CVE-2026-55074HIGH8.2
  • Python logoPython
  • ansible-jailexec
NoYesSep 21, 2026
CVE-2026-64847MEDIUM6.8
  • Python logoPython
  • wazuh-manager
NoYesSep 18, 2026
CVE-2026-63374NONEN/A
  • Python logoPython
  • airflow-core-2
NoYesSep 21, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management