CVE-2024-12224

idna accepts Punycode labels that do not produce any non-ASCII when decoded

State
Published
Severity
5.1 Medium
Published
May 30, 2025
Updated
May 30, 2025
Reserved
Dec 5, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.1 MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:L/SA:Nmozilla

Weaknesses

Affected Products

ProductVersions
rust-urlservo
  • before 1.0.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.