CVE-2024-12224: idna accepts Punycode labels that do not produce any non-ASCII when decoded
Vulnerability summary
CVE-2024-12224 is a high (CVSS 8.8) vulnerability in servo idna. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 15.3% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 5.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 55 · Related 56Timeline
- 30-05-2025PublishedVulnerability first disclosed.
- 30-05-2025Last modifiedVulnerability information updated.
Description
Improper Validation of Unsafe Equivalence in punycode by the idna crate from Servo rust-url allows an attacker to create a punycode hostname that one part of a system might treat as distinct while another part of that system would treat as equivalent to another hostname.
CVSS metrics
11 scores · 9 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.1MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:L/SA:N
- OSV · WolfiEcosystem advisory · calculated5.1MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:L/SA:N
- OSV · ChainguardEcosystem advisory · calculated5.1MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:L/SA:N
- OSV · Crates.ioEcosystem advisory · calculated6.3MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:NDiffers
- NVDNIST5.1MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · AlpineEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · Red hatEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:NDiffers
EPSS trend
Probability
0.23%
Chance of exploitation in the next 30 days
Percentile
15%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.23% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (bugzilla.mozilla.org)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-1289Improper Validation of Unsafe Equivalence in InputThe product receives an input value that is used as a resource identifier or other type of reference, but it does not validate or incorrectly validates that the input is equivalent to a potentially-unsafe value.
- CWE-352Cross-Site Request ForgeryThe web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.
Affected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard62 products
- atuin< 18.4.0-r0
- bat< 0.24.0-r5
- bat-doc< 0.24.0-r5
- berg< 0.4.7-r0
- buck2< 20250102-r3
Wolfi60 products
- atuin< 18.4.0-r0
- bat< 0.24.0-r5
- bat-doc< 0.24.0-r5
- berg< 0.4.7-r0
- buck2< 20250102-r3
Suse11 products
- aws-nitro-enclaves-cli&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP4< 1.4.2~git0.6e8512e-150400.3.9.1
- aws-nitro-enclaves-cli&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP5< 1.4.2~git0.6e8512e-150400.3.9.1
- aws-nitro-enclaves-cli&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP6< 1.4.2~git0.6e8512e-150600.10.6.1
- aws-nitro-enclaves-cli&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP7< 1.4.2~git0.6e8512e-150600.10.6.1
- librsvg&distro=SUSE Linux Enterprise Module for Basesystem 15 SP7< 2.57.4-150600.3.3.1
Opensuse9 products
- afterburn&distro=openSUSE Tumbleweed< 5.9.0.git21.a73f509-2.1
- aws-nitro-enclaves-cli&distro=openSUSE Leap 15.6< 1.4.2~git0.6e8512e-150600.10.6.1
- librsvg&distro=openSUSE Leap 15.6< 2.57.4-150600.3.3.1
- python-nh3&distro=openSUSE Tumbleweed< 0.2.17-2.1
- python-selenium&distro=openSUSE Tumbleweed< 4.25.0-5.1
Redhat2 products
- trustee-guest-components< 0:0.10.0^124.git0061d03-3.el9_6.1 | < 0:0.10.0^124.git0061d03-3.el10_0.1
- trustee-guest-components-debuginfo< 0:0.10.0^124.git0061d03-3.el9_6.1 | < 0:0.10.0^124.git0061d03-3.el10_0.1
Alpine1 product
- cargo-modules< 0.21.1-r0
Crates.Io1 product
- idna< 1.0.0 | ≥ 0.0.0-0, < 1.0.0
Debian1 product
- rust-idnaAll versions (No fix recorded) | < 1.0.3-2
Ubuntu1 product
- rust-idnaAll versions (No fix recorded)
10 vendors · 150 products
References
30 links- rustsec.org/advisories/RUSTSEC-2024-0421.htmlVendor AdvisoryREPORTAdvisoryWEBThird Party AdvisoryARTICLE
Show all 30 references
- github.com/servo/rust-urlPACKAGE