Skip to content

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

MediumCVSS 5.1 EPSS 0.23%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

15 packages: 8 fixed, 7 with no fix yet.

PackageAffectedFixed inStatus
debian/rust-idna(Debian 12) = 0.3.0-1; = 0.4.0-1; = 1.0.3-1; = 1.0.3-2 +2 more No fix listed No fix yet
ubuntu/rust-idna(Ubuntu 20.04) = 0.1.5-1; = 0.2.0-1; All versions No fix listed No fix yet
ubuntu/rust-idna(Ubuntu 22.04) = 0.2.0-1; All versions No fix listed No fix yet
ubuntu/rust-idna(Ubuntu 24.04) = 0.3.0-1; = 0.4.0-1; All versions No fix listed No fix yet
ubuntu/rust-idna(Ubuntu 25.10) = 0.4.0-1; = 1.0.3-2; All versions No fix listed No fix yet
ubuntu/rust-idna(Ubuntu 26.04) = 1.0.3-2; = 1.1.0-1; All versions No fix listed No fix yet
ubuntu/rust-idna(Ubuntu 26.10) = 1.1.0-1; All versions No fix listed No fix yet
alpine/cargo-modules(Alpine v3.21) < 0.21.1-r0 0.21.1-r0 Fixed
alpine/cargo-modules(Alpine v3.22) < 0.21.1-r0 0.21.1-r0 Fixed
alpine/cargo-modules(Alpine v3.23) < 0.21.1-r0 0.21.1-r0 Fixed
alpine/cargo-modules(Alpine v3.24) < 0.21.1-r0 0.21.1-r0 Fixed
crates.io idna(crates.io) < 1.0.0; >= 0.0.0-0, < 1.0.0 1.0.0 Fixed
debian/rust-idna(Debian 13) < 1.0.3-2 1.0.3-2 Fixed
debian/rust-idna(Debian 14) < 1.0.3-2 1.0.3-2 Fixed
servo idna < 1.0.0 1.0.0 Fixed

Affected products

ProductAffected versionsFixed in
crates.io idna(crates.io) < 1.0.0 1.0.0
crates.io idna(crates.io) >= 0.0.0-0, < 1.0.0 1.0.0
debian/rust-idna(Debian:12) All versions No fix listed
debian/rust-idna(Debian:12) = 0.3.0-1 No fix listed
debian/rust-idna(Debian:12) = 0.4.0-1 No fix listed
debian/rust-idna(Debian:12) = 1.0.3-1 No fix listed
debian/rust-idna(Debian:12) = 1.0.3-2 No fix listed
debian/rust-idna(Debian:12) = 1.1.0-1 No fix listed
debian/rust-idna(Debian:13) < 1.0.3-2 1.0.3-2
debian/rust-idna(Debian:14) < 1.0.3-2 1.0.3-2
ubuntu/rust-idna(Ubuntu:22.04) All versions No fix listed
alpine/cargo-modules(Alpine:v3.21) < 0.21.1-r0 0.21.1-r0
alpine/cargo-modules(Alpine:v3.22) < 0.21.1-r0 0.21.1-r0
alpine/cargo-modules(Alpine:v3.23) < 0.21.1-r0 0.21.1-r0
alpine/cargo-modules(Alpine:v3.24) < 0.21.1-r0 0.21.1-r0
ubuntu/rust-idna(Ubuntu:24.04) All versions No fix listed
ubuntu/rust-idna(Ubuntu:26.04) All versions No fix listed
servo idna < 1.0.0 1.0.0
ubuntu/rust-idna(Ubuntu:26.10) All versions No fix listed
ubuntu/rust-idna(Ubuntu:20.04) All versions No fix listed
ubuntu/rust-idna(Ubuntu:20.04) = 0.1.5-1 No fix listed
ubuntu/rust-idna(Ubuntu:20.04) = 0.2.0-1 No fix listed
ubuntu/rust-idna(Ubuntu:22.04) = 0.2.0-1 No fix listed
ubuntu/rust-idna(Ubuntu:24.04) = 0.3.0-1 No fix listed
ubuntu/rust-idna(Ubuntu:24.04) = 0.4.0-1 No fix listed
Show 6 more
ProductAffected versionsFixed in
ubuntu/rust-idna(Ubuntu:25.10) All versions No fix listed
ubuntu/rust-idna(Ubuntu:25.10) = 0.4.0-1 No fix listed
ubuntu/rust-idna(Ubuntu:25.10) = 1.0.3-2 No fix listed
ubuntu/rust-idna(Ubuntu:26.10) = 1.1.0-1 No fix listed
ubuntu/rust-idna(Ubuntu:26.04) = 1.0.3-2 No fix listed
ubuntu/rust-idna(Ubuntu:26.04) = 1.1.0-1 No fix listed

References