ALPINE-CVE-2024-3651

Source
https://security.alpinelinux.org/vuln/CVE-2024-3651
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-3651.json
JSON Data
https://api.test.osv.dev/v1/vulns/ALPINE-CVE-2024-3651
Upstream
Published
2024-07-07T18:15:09Z
Modified
2025-09-26T00:36:29.651729Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

A vulnerability was identified in the kjd/idna library, specifically within the idna.encode() function, affecting version 3.6. The issue arises from the function's handling of crafted input strings, which can lead to quadratic complexity and consequently, a denial of service condition. This vulnerability is triggered by a crafted input that causes the idna.encode() function to process the input with considerable computational load, significantly increasing the processing time in a quadratic manner relative to the input size.

References

Affected packages

Alpine:v3.19 / py3-idna

Package

Name
py3-idna
Purl
pkg:apk/alpine/py3-idna?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7-r0

Affected versions

2.*

2.0-r0
2.1-r0
2.1-r1
2.2-r0
2.2-r1
2.3-r0
2.4-r0
2.5-r0
2.6-r0
2.7-r0
2.8-r0
2.8-r1
2.8-r2
2.8-r3
2.9-r0
2.10-r0

3.*

3.0-r0
3.1-r0
3.1-r1
3.2-r0
3.3-r0
3.3-r1
3.3-r2
3.4-r0
3.4-r1
3.4-r2
3.4-r3
3.4-r4
3.6-r0

Alpine:v3.20 / py3-idna

Package

Name
py3-idna
Purl
pkg:apk/alpine/py3-idna?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7-r0

Affected versions

2.*

2.0-r0
2.1-r0
2.1-r1
2.2-r0
2.2-r1
2.3-r0
2.4-r0
2.5-r0
2.6-r0
2.7-r0
2.8-r0
2.8-r1
2.8-r2
2.8-r3
2.9-r0
2.10-r0

3.*

3.0-r0
3.1-r0
3.1-r1
3.2-r0
3.3-r0
3.3-r1
3.3-r2
3.4-r0
3.4-r1
3.4-r2
3.4-r3
3.4-r4
3.6-r0
3.6-r1

Alpine:v3.21 / py3-idna

Package

Name
py3-idna
Purl
pkg:apk/alpine/py3-idna?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7-r0

Affected versions

2.*

2.0-r0
2.1-r0
2.1-r1
2.2-r0
2.2-r1
2.3-r0
2.4-r0
2.5-r0
2.6-r0
2.7-r0
2.8-r0
2.8-r1
2.8-r2
2.8-r3
2.9-r0
2.10-r0

3.*

3.0-r0
3.1-r0
3.1-r1
3.2-r0
3.3-r0
3.3-r1
3.3-r2
3.4-r0
3.4-r1
3.4-r2
3.4-r3
3.4-r4
3.6-r0
3.6-r1

Alpine:v3.22 / py3-idna

Package

Name
py3-idna
Purl
pkg:apk/alpine/py3-idna?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7-r0

Affected versions

2.*

2.0-r0
2.1-r0
2.1-r1
2.2-r0
2.2-r1
2.3-r0
2.4-r0
2.5-r0
2.6-r0
2.7-r0
2.8-r0
2.8-r1
2.8-r2
2.8-r3
2.9-r0
2.10-r0

3.*

3.0-r0
3.1-r0
3.1-r1
3.2-r0
3.3-r0
3.3-r1
3.3-r2
3.4-r0
3.4-r1
3.4-r2
3.4-r3
3.4-r4
3.6-r0
3.6-r1