Vulnerability · Published May 30, 2025 · Assigned by mozilla

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

Medium 5.1

In plain English

A medium-severity security flaw in rust-url from servo. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)5.1Medium
Exploit odds (30 days)0.2%top 86.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8firefox140.3.0-1.el8_10.alma.1ALSA-2025:16260
AlmaLinux:8thunderbird140.3.0-1.el8_10.alma.1ALSA-2025:16589
Alpine:v3.21cargo-modules0.21.1-r0ALPINE-CVE-2024-12224
Alpine:v3.22cargo-modules0.21.1-r0ALPINE-CVE-2024-12224
Alpine:v3.23cargo-modules0.21.1-r0ALPINE-CVE-2024-12224
Alpine:v3.24cargo-modules0.21.1-r0ALPINE-CVE-2024-12224
Debian:12rust-idnano fix listedDEBIAN-CVE-2024-12224
Debian:13rust-idna1.0.3-2DEBIAN-CVE-2024-12224
Debian:14rust-idna1.0.3-2DEBIAN-CVE-2024-12224
Ubuntu:22.04:LTSrust-idnano fix listedUBUNTU-CVE-2024-12224
Ubuntu:24.04:LTSrust-idnano fix listedUBUNTU-CVE-2024-12224
Ubuntu:25.10rust-idnano fix listedUBUNTU-CVE-2024-12224
Ubuntu:26.04:LTSrust-idnano fix listedUBUNTU-CVE-2024-12224
Ubuntu:26.10rust-idnano fix listedUBUNTU-CVE-2024-12224

Affected products (as reported)

VendorProductVersions
servo rust-url 0 – before 1.0.0

Weakness: CWE-1289 · 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

References