CVE-2023-29483: Eventlet Denial of Service Vulnerability
MODERATECVE-2023-29483 is a MODERATE (CVSS 5.9) denial of service vulnerability (CWE-696: Incorrect Behavior Order) affecting Eventlet libraries in the PyPI ecosystem. The issue involves potential dos via the tudoor mechanism in eventlet and dnspython. Remediation is available by upgrading affected packages to version 0.35.2, 2.6.1.
CVE-2023-29483 at a Glance
Security Impact
CVSS: 5.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2023-29483
To remediate this vulnerability, upgrade all affected Eventlet dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install eventlet>=0.35.2
pip install dnspython>=2.6.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show eventlet
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2023-29483, inspect your installed packages using pip:
pip show eventlet
Analyze the terminal output to locate any version of Eventlet in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.35.2), your application is affected.
Note: The pip show eventlet command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-696: Incorrect Behavior Order, where the product performs multiple related behaviors, but the behaviors are performed in the wrong order in ways that may produce resultant weaknesses. In Eventlet, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-29483 Affected Eventlet Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
eventlet
|
PyPI |
< 0.35.2
|
0.35.2
|
|
dnspython
|
PyPI |
< 2.6.1
|
2.6.1
|
References
Frequently Asked Questions
What is CVE-2023-29483?
Which Eventlet versions are affected?
What version fixes CVE-2023-29483?
Is eventlet affected?
Is dnspython affected?
What is the CVSS score of CVE-2023-29483?
What CWE is associated with CVE-2023-29483?
How can I check PyPI dependencies for CVE-2023-29483?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3rq5-2g8h-59hc",
"modified" : "2024-06-26T03:31:48Z",
"published" : "2024-04-11T15:30:48Z",
"aliases" : [ "CVE-2023-29483" ],
"summary" : "Potential DoS via the Tudoor mechanism in eventlet and dnspython",
"details" : "eventlet before 0.35.2, as used in dnspython before 2.6.0, allows remote attackers to interfere with DNS name resolution by quickly sending an invalid packet from the expected IP address and source port, aka a \"TuDoor\" attack. In other words, dnspython does not have the preferred behavior in which the DNS name resolution algorithm would proceed, within the full time window, in order to wait for a valid packet. NOTE: dnspython 2.6.0 is unusable for a different reason that was addressed in 2.6.1.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "eventlet"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.35.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "dnspython"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.6.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-29483"
}, {
"type" : "WEB",
"url" : "https://github.com/eventlet/eventlet/issues/913"
}, {
"type" : "WEB",
"url" : "https://github.com/rthalley/dnspython/issues/1045"
}, {
"type" : "WEB",
"url" : "https://github.com/eventlet/eventlet/commit/51e3c4928d4938beb576eff34f3bf97e6e64e6b4"
}, {
"type" : "WEB",
"url" : "https://github.com/rthalley/dnspython/commit/0ea5ad0a4583e1f519b9bcc67cfac381230d9cf2"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/eventlet/eventlet"
}, {
"type" : "WEB",
"url" : "https://github.com/eventlet/eventlet/releases/tag/v0.35.2"
}, {
"type" : "WEB",
"url" : "https://github.com/rthalley/dnspython/releases/tag/v2.6.0"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NLRKR57IFVKQC2GCXZBFLCLBAWBWL3F6"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VOHJOO3OM65UIUUUVDEXMCTXNM6LXZEH"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X3BNSIK5NFYSAP53Y45GOCMOQHHDLGIF"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20240510-0001"
}, {
"type" : "WEB",
"url" : "https://security.snyk.io/vuln/SNYK-PYTHON-DNSPYTHON-6241713"
}, {
"type" : "WEB",
"url" : "https://www.dnspython.org"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-696" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-12T21:25:53Z",
"nvd_published_at" : "2024-04-11T14:15:12Z"
}
}