{"id":"CVE-2024-12224","published":"2025-05-30T01:16:47Z","modified":"2025-05-30T12:46:56Z","title":"idna accepts Punycode labels that do not produce any non-ASCII when decoded","vendor":"servo","product":"rust-url","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.1,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:L/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0023,"percentile":0.1412,"provenance":"source"},"cwes":[{"id":"CWE-1289","name":"Improper Validation of Unsafe Equivalence in Input"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2024-0421.html","tags":["vendor-advisory"]},{"url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1887898","tags":["issue-tracking"]}],"priority":{"score":6.4,"factors":[{"name":"EPSS percentile","points":2.82},{"name":"CVSS severity","points":3.57}]},"vendorSlug":"servo","affectedVersions":[{"vendor":"servo","product":"rust-url","versions":["< 1.0.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-05-30T12:46:53.443148Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"idna","vulnerableRanges":["<1.0.0",">=0.0.0-0, <1.0.0"],"patched":["1.0.0"],"from":["GHSA-h97m-ww89-6jmq","RUSTSEC-2024-0421"],"provenance":"source"}],"summary":{"text":"The idna crate in Servo's rust-url library accepts Punycode hostname labels that decode to no non-ASCII characters, so an attacker can craft a hostname that one component of a system treats as distinct while another treats it as equivalent to a different hostname. Exploiting this requires an attacker to supply a crafted hostname and depends on how the surrounding system compares or validates hostnames, with the attack complexity and privileges described in the vector applicable.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:18:13Z"},"euvd":{"id":"EUVD-2024-3478","exploited":false,"provenance":"source"}}