CVE-2024-12224
Not scored
idna accepts Punycode labels that do not produce any non-ASCII when decoded
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.
Exploit probability
0.2%
Published
May 30, 2025
Required by
Not available
Last source change
July 16, 2026
02 / AFFECTED SOFTWARE
Affected packages
42 explicit affected versions
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
Open Source Vulnerabilities
CVE-2024-12224
View original source
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.
05 / REFERENCES
Further evidence
- https://bugzilla.mozilla.org/show_bug.cgi?id=1887898
- https://crates.io/crates/idna
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/12xxx/CVE-2024-12224.json
- https://github.com/servo/rust-url/
- https://nvd.nist.gov/vuln/detail/CVE-2024-12224
- https://rustsec.org/advisories/RUSTSEC-2024-0421.html