CVE-2024-3651
ADVISORY - githubSummary
Impact
A specially crafted argument to the idna.encode()
function could consume significant resources. This may lead to a denial-of-service.
Patches
The function has been refined to reject such strings without the associated resource consumption in version 3.7.
Workarounds
Domain names cannot exceed 253 characters in length, if this length limit is enforced prior to passing the domain to the idna.encode()
function it should no longer consume significant resources. This is triggered by arbitrarily large inputs that would not occur in normal usage, but may be passed to the library assuming there is no preliminary input validation by the higher-level application.
References
Common Weakness Enumeration (CWE)
Uncontrolled Resource Consumption
Uncontrolled Resource Consumption
Uncontrolled Resource Consumption
GitHub
2.5
CVSS SCORE
6.9mediumPackage | Type | OS Name | OS Version | Affected Ranges | Fix Versions |
---|---|---|---|---|---|
idna | pypi | - | - | <3.7 | 3.7 |
CVSS:4 Severity and metrics
The CVSS metrics represent different qualitative aspects of a vulnerability that impact the overall score, as defined by the CVSS Specification.
The vulnerable component is not bound to the network stack and the attacker's path is via read/write/execute capabilities. Either: The attacker exploits the vulnerability by accessing the target system locally (e.g., keyboard, console), or remotely (e.g., SSH); or the attacker relies on User Interaction by another person to perform actions required to exploit the vulnerability (e.g., using social engineering techniques to trick a legitimate user into opening a malicious document).
Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success when attacking the vulnerable component.
The successful attack does not depend on the deployment and execution conditions of the vulnerable system. The attacker can expect to be able to reach the vulnerability and execute the exploit under all or most instances of the vulnerability.
The attacker is unauthenticated prior to attack, and therefore does not require any access to settings or files of the vulnerable system to carry out an attack.
The vulnerable system can be exploited without interaction from any human user, other than the attacker. Examples include: a remote attacker is able to send packets to a target system a locally authenticated attacker executes code to elevate privileges.
There is no loss of confidentiality within the Vulnerable System.
There is no loss of confidentiality within the Subsequent System or all confidentiality impact is constrained to the Vulnerable System.
There is no loss of integrity within the Vulnerable System.
There is no loss of integrity within the Subsequent System or all integrity impact is constrained to the Vulnerable System.
There is a total loss of availability, resulting in the attacker being able to fully deny access to resources in the Vulnerable System; this loss is either sustained (while the attacker continues to deliver the attack) or persistent (the condition persists even after the attack has completed). Alternatively, the attacker has the ability to deny some availability, but the loss of availability presents a direct, serious consequence to the Vulnerable System (e.g., the attacker cannot disrupt existing connections, but can prevent new connections; the attacker can repeatedly exploit a vulnerability that, in each instance of a successful attack, leaks a only small amount of memory, but after repeated exploitation causes a service to become completely unavailable).
There is no impact to availability within the Subsequent System or all availability impact is constrained to the Vulnerable System.
NIST
3.9
CVSS SCORE
7.5highAlpine
-
Debian
-
Ubuntu
3.9
CVSS SCORE
7.5mediumPypA
PYSEC-2024-60
3.9
CVSS SCORE
7.5highAlma
-
CVSS SCORE
N/AhighAlma
-
CVSS SCORE
N/AmediumAlma
-
CVSS SCORE
N/AmediumAmazon
-
CVSS SCORE
N/AmediumAmazon
-
CVSS SCORE
N/AmediumAmazon
-
CVSS SCORE
N/AmediumAmazon
-
CVSS SCORE
N/AmediumAmazon
-
CVSS SCORE
N/AmediumAmazon
-
CVSS SCORE
N/AmediumRed Hat
2.8
CVSS SCORE
6.5mediumRocky
-
CVSS SCORE
N/AhighRocky
-
CVSS SCORE
N/AlowRocky
-
CVSS SCORE
N/AlowOracle
-
CVSS SCORE
N/AmediumOracle
-
CVSS SCORE
N/AhighOracle
-
CVSS SCORE
N/AmediumOracle
-
CVSS SCORE
N/AmediumOracle
-
CVSS SCORE
N/AmediumChainguard
CGA-4vmg-xwqh-6xfw
-
Chainguard
CGA-4w25-8r45-gxwf
-
Chainguard
CGA-6445-8x27-cghw
-
Chainguard
CGA-7cvw-824f-57qj
-
Chainguard
CGA-7g59-ghmj-wj5g
-
Chainguard
CGA-7xfm-q24p-px8c
-
Chainguard
CGA-85gv-65g3-483h
-
Chainguard
CGA-9fj4-pj3g-gm6q
-
Chainguard
CGA-ccwr-5f2w-9q24
-
Chainguard
CGA-fgmr-v3f3-pxpw
-
Chainguard
CGA-g3vf-75wx-9m2v
-
Chainguard
CGA-h4xw-x8hf-vfpj
-
Chainguard
CGA-hph5-hcwv-q9mm
-
Chainguard
CGA-j2h9-ggq8-886p
-
Chainguard
CGA-mcgj-mc29-crgj
-
Chainguard
CGA-mq4p-ggpx-5vxw
-
Chainguard
CGA-pr6x-8rxp-cx4f
-
Chainguard
CGA-q4wf-4rwg-334h
-
Chainguard
CGA-qvrw-4m3q-r8v7
-
Chainguard
CGA-rmvf-7794-q3gg
-
Chainguard
CGA-v584-967x-qgpm
-
Chainguard
CGA-v6qx-945c-jj8w
-
Chainguard
CGA-xpcj-g2x8-wcc9
-
Chainguard
CGA-xw8q-xp4x-825w
-
Photon
CVE-2024-3651
-
CVSS SCORE
7.5highintheWild
-
-