CVE-2024-12224idna 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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, crates.io: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | rust-idna | Fix pending | UBUNTU-CVE-2024-12224 | |
| Ubuntu 26.04 | rust-idna | Under investigation | UBUNTU-CVE-2024-12224 | |
| Ubuntu 25.10 | rust-idna | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2024-12224 | |
| Ubuntu 24.04 | rust-idna | Under investigation | UBUNTU-CVE-2024-12224 | |
| Ubuntu 22.04 | rust-idna | Under investigation | UBUNTU-CVE-2024-12224 | |
| Ubuntu 20.04 | rust-idna | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2024-12224 | |
| Debian 14 | rust-idna | Fixed | 1.0.3-2 | DEBIAN-CVE-2024-12224 |
| Debian 13 | rust-idna | Fixed | 1.0.3-2 | DEBIAN-CVE-2024-12224 |
| Debian 12 | rust-idna | Fix pending | DEBIAN-CVE-2024-12224 | |
| Red Hat Enterprise Linux 10 | aardvark-dns | Not affected | ||
| Red Hat Enterprise Linux 10 | afterburn | Not affected | ||
| Red Hat Enterprise Linux 10 | afterburn-dracut | Not affected | ||
| Red Hat Enterprise Linux 10 | cargo | Not affected | ||
| Red Hat Enterprise Linux 10 | clippy | Not affected | ||
| Red Hat Enterprise Linux 10 | fdo-admin-cli | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | fdo-client | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | fdo-init | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | fdo-manufacturing-server | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | fdo-owner-cli | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | fdo-owner-onboarding-server | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | fdo-rendezvous-server | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | firefox | Fixed | 0:140.3.0-1.el10_0 | RHSA-2025:16109 |
| Red Hat Enterprise Linux 10 | gjs | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | gjs-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | glycin-loaders | Not affected | ||
| Red Hat Enterprise Linux 10 | keylime-agent-rust | Not affected | ||
| Red Hat Enterprise Linux 10 | keylime-agent-rust-common | Not affected | ||
| Red Hat Enterprise Linux 10 | keylime-agent-rust-ima-emulator | Not affected | ||
| Red Hat Enterprise Linux 10 | keylime-agent-rust-push | Not affected | ||
| Red Hat Enterprise Linux 10 | librsvg2 | Not affected | ||
| Red Hat Enterprise Linux 10 | librsvg2-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | librsvg2-tools | Not affected | ||
| Red Hat Enterprise Linux 10 | loupe | Not affected | ||
| Red Hat Enterprise Linux 10 | netavark | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | rpm-ostree | Not affected | ||
| Red Hat Enterprise Linux 10 | rpm-ostree-libs | Not affected | ||
| Red Hat Enterprise Linux 10 | rpm-sequoia | Not affected | ||
| Red Hat Enterprise Linux 10 | rpm-sequoia-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | rsvg-pixbuf-loader | Not affected | ||
| Red Hat Enterprise Linux 10 | rust | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-analyzer | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-debugger-common | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-doc | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-gdb | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-lldb | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-rpm-sequoia | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-src | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-aarch64-unknown-none-softfloat | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-wasm32-unknown-unknown | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-wasm32-wasip1 | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-x86_64-unknown-none | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-toolset | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-toolset-srpm-macros | Not affected | ||
| Red Hat Enterprise Linux 10 | rustfmt | Not affected | ||
| Red Hat Enterprise Linux 10 | sevctl | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | snpguest | Not affected | ||
| Red Hat Enterprise Linux 10 | thunderbird | Fixed | 0:140.3.0-1.el10_0 | RHSA-2025:16157 |
| Red Hat Enterprise Linux 10 | trustee-guest-components | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | aardvark-dns | Not affected | ||
| Red Hat Enterprise Linux 9 | afterburn | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | afterburn-dracut | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | cargo | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | clippy | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | coreos-installer | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | coreos-installer-bootinfra | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | coreos-installer-dracut | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | firefox | Fixed | 0:140.3.0-1.el9_6 | RHSA-2025:16108 |
| Red Hat Enterprise Linux 9 | firefox-x11 | Fixed | 0:140.3.0-1.el9_6 | RHSA-2025:16108 |
| Red Hat Enterprise Linux 9 | gjs | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | gjs-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | keylime-agent-rust | Not affected | ||
| Red Hat Enterprise Linux 9 | librsvg2 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | librsvg2-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | librsvg2-tools | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | netavark | Not affected | ||
| Red Hat Enterprise Linux 9 | polkit | Not affected | ||
| Red Hat Enterprise Linux 9 | polkit-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | polkit-docs | Not affected | ||
| Red Hat Enterprise Linux 9 | polkit-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | rpm-ostree | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | rpm-ostree-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | rpm-ostree-libs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | rust | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | rust-analysis | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | rust-analyzer | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | rust-debugger-common | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | rust-doc | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | rust-gdb | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | rust-lldb | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | rust-src | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | rust-std-static | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-unknown-unknown | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-wasi | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-wasip1 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | rust-toolset | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | rustfmt | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | snpguest | Not affected | ||
| Red Hat Enterprise Linux 9 | thunderbird | Fixed | 0:140.3.0-1.el9_6 | RHSA-2025:16156 |
| Red Hat Enterprise Linux 9 | trustee-guest-components | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | aardvark-dns | Not affected | ||
| Red Hat Enterprise Linux 8 | cargo | Not affected | ||
| Red Hat Enterprise Linux 8 | cargo-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | clippy | Not affected | ||
| Red Hat Enterprise Linux 8 | containers-common | Not affected | ||
| Red Hat Enterprise Linux 8 | firefox | Fixed | 0:140.3.0-1.el8_10 | RHSA-2025:16260 |
| Red Hat Enterprise Linux 8 | mozjs52 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | mozjs52-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | mozjs60 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | mozjs60-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | netavark | Not affected | ||
| Red Hat Enterprise Linux 8 | rls | Not affected | ||
| Red Hat Enterprise Linux 8 | rpm-ostree | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | rpm-ostree-libs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | rust | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-analysis | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-analyzer | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-debugger-common | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-gdb | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-lldb | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-src | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-std-static | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-std-static-wasm32-unknown-unknown | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-std-static-wasm32-wasi | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-toolset | Not affected | ||
| Red Hat Enterprise Linux 8 | rustfmt | Not affected | ||
| Red Hat Enterprise Linux 8 | thunderbird | Fixed | 0:140.3.0-1.el8_10 | RHSA-2025:16589 |
| Red Hat Enterprise Linux 7 | mozjs52 | Not affected | ||
| Red Hat Enterprise Linux 7 | mozjs52-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | thunderbird | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | firefox | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | thunderbird | Will not fix Out of support scope | ||
| AlmaLinux 8 | firefox | Fixed | 140.3.0-1.el8_10.alma.1 | ALSA-2025:16260 |
| AlmaLinux 8 | thunderbird | Fixed | 140.3.0-1.el8_10.alma.1 | ALSA-2025:16589 |
| Alpine Linux 3.24 | cargo-modules | Fixed | 0.21.1-r0 | ALPINE-CVE-2024-12224 |
| Alpine Linux 3.23 | cargo-modules | Fixed | 0.21.1-r0 | ALPINE-CVE-2024-12224 |
| Alpine Linux 3.22 | cargo-modules | Fixed | 0.21.1-r0 | ALPINE-CVE-2024-12224 |
| Alpine Linux 3.21 | cargo-modules | Fixed | 0.21.1-r0 | ALPINE-CVE-2024-12224 |
| crates.io library | idna | Fixed | 1.0.0 | RUSTSEC-2024-0421 |
What the vendor says
As published in the CVE record by mozilla, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- servo rust-url: affected: before 1.0.0; fixed in
1.0.0
Vendor advisories:
- https://rustsec.org/advisories/RUSTSEC-2024-0421.html (vendor-advisory)
References
- https://rustsec.org/advisories/RUSTSEC-2024-0421.html
- https://bugzilla.mozilla.org/show_bug.cgi?id=1887898
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.