CVEfocus › CVE database › CVE-2024-12224

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

CVSS 5.1 MediumEPSS 0.3% (higher than 18% of CVEs)Published 2025-05-30Updated 2025-05-30Assigner: mozilla

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.

CWE-1289

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

16Fixed
11Fix pending
3Under investigation
44Will not fix
66Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10rust-idnaFix pendingUBUNTU-CVE-2024-12224
Ubuntu 26.04rust-idnaUnder investigationUBUNTU-CVE-2024-12224
Ubuntu 25.10rust-idnaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-12224
Ubuntu 24.04rust-idnaUnder investigationUBUNTU-CVE-2024-12224
Ubuntu 22.04rust-idnaUnder investigationUBUNTU-CVE-2024-12224
Ubuntu 20.04rust-idnaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-12224
Debian 14rust-idnaFixed1.0.3-2DEBIAN-CVE-2024-12224
Debian 13rust-idnaFixed1.0.3-2DEBIAN-CVE-2024-12224
Debian 12rust-idnaFix pendingDEBIAN-CVE-2024-12224
Red Hat Enterprise Linux 10aardvark-dnsNot affected
Red Hat Enterprise Linux 10afterburnNot affected
Red Hat Enterprise Linux 10afterburn-dracutNot affected
Red Hat Enterprise Linux 10cargoNot affected
Red Hat Enterprise Linux 10clippyNot affected
Red Hat Enterprise Linux 10fdo-admin-cliWill not fix
Will not fix
Red Hat Enterprise Linux 10fdo-clientWill not fix
Will not fix
Red Hat Enterprise Linux 10fdo-initWill not fix
Will not fix
Red Hat Enterprise Linux 10fdo-manufacturing-serverWill not fix
Will not fix
Red Hat Enterprise Linux 10fdo-owner-cliWill not fix
Will not fix
Red Hat Enterprise Linux 10fdo-owner-onboarding-serverWill not fix
Will not fix
Red Hat Enterprise Linux 10fdo-rendezvous-serverWill not fix
Will not fix
Red Hat Enterprise Linux 10firefoxFixed0:140.3.0-1.el10_0RHSA-2025:16109
Red Hat Enterprise Linux 10gjsFix pending
Affected
Red Hat Enterprise Linux 10gjs-develFix pending
Affected
Red Hat Enterprise Linux 10glycin-loadersNot affected
Red Hat Enterprise Linux 10keylime-agent-rustNot affected
Red Hat Enterprise Linux 10keylime-agent-rust-commonNot affected
Red Hat Enterprise Linux 10keylime-agent-rust-ima-emulatorNot affected
Red Hat Enterprise Linux 10keylime-agent-rust-pushNot affected
Red Hat Enterprise Linux 10librsvg2Not affected
Red Hat Enterprise Linux 10librsvg2-develNot affected
Red Hat Enterprise Linux 10librsvg2-toolsNot affected
Red Hat Enterprise Linux 10loupeNot affected
Red Hat Enterprise Linux 10netavarkFix pending
Affected
Red Hat Enterprise Linux 10rpm-ostreeNot affected
Red Hat Enterprise Linux 10rpm-ostree-libsNot affected
Red Hat Enterprise Linux 10rpm-sequoiaNot affected
Red Hat Enterprise Linux 10rpm-sequoia-develNot affected
Red Hat Enterprise Linux 10rsvg-pixbuf-loaderNot affected
Red Hat Enterprise Linux 10rustNot affected
Red Hat Enterprise Linux 10rust-analyzerNot affected
Red Hat Enterprise Linux 10rust-debugger-commonNot affected
Red Hat Enterprise Linux 10rust-docNot affected
Red Hat Enterprise Linux 10rust-gdbNot affected
Red Hat Enterprise Linux 10rust-lldbNot affected
Red Hat Enterprise Linux 10rust-rpm-sequoiaNot affected
Red Hat Enterprise Linux 10rust-srcNot affected
Red Hat Enterprise Linux 10rust-std-staticNot affected
Red Hat Enterprise Linux 10rust-std-static-aarch64-unknown-none-softfloatNot affected
Red Hat Enterprise Linux 10rust-std-static-wasm32-unknown-unknownNot affected
Red Hat Enterprise Linux 10rust-std-static-wasm32-wasip1Not affected
Red Hat Enterprise Linux 10rust-std-static-x86_64-unknown-noneNot affected
Red Hat Enterprise Linux 10rust-toolsetNot affected
Red Hat Enterprise Linux 10rust-toolset-srpm-macrosNot affected
Red Hat Enterprise Linux 10rustfmtNot affected
Red Hat Enterprise Linux 10sevctlFix pending
Affected
Red Hat Enterprise Linux 10snpguestNot affected
Red Hat Enterprise Linux 10thunderbirdFixed0:140.3.0-1.el10_0RHSA-2025:16157
Red Hat Enterprise Linux 10trustee-guest-componentsFix pending
Affected
Red Hat Enterprise Linux 9aardvark-dnsNot affected
Red Hat Enterprise Linux 9afterburnWill not fix
Will not fix
Red Hat Enterprise Linux 9afterburn-dracutWill not fix
Will not fix
Red Hat Enterprise Linux 9cargoWill not fix
Will not fix
Red Hat Enterprise Linux 9clippyWill not fix
Will not fix
Red Hat Enterprise Linux 9coreos-installerWill not fix
Will not fix
Red Hat Enterprise Linux 9coreos-installer-bootinfraWill not fix
Will not fix
Red Hat Enterprise Linux 9coreos-installer-dracutWill not fix
Will not fix
Red Hat Enterprise Linux 9firefoxFixed0:140.3.0-1.el9_6RHSA-2025:16108
Red Hat Enterprise Linux 9firefox-x11Fixed0:140.3.0-1.el9_6RHSA-2025:16108
Red Hat Enterprise Linux 9gjsFix pending
Affected
Red Hat Enterprise Linux 9gjs-develFix pending
Affected
Red Hat Enterprise Linux 9keylime-agent-rustNot affected
Red Hat Enterprise Linux 9librsvg2Will not fix
Will not fix
Red Hat Enterprise Linux 9librsvg2-develWill not fix
Will not fix
Red Hat Enterprise Linux 9librsvg2-toolsWill not fix
Will not fix
Red Hat Enterprise Linux 9netavarkNot affected
Red Hat Enterprise Linux 9polkitNot affected
Red Hat Enterprise Linux 9polkit-develNot affected
Red Hat Enterprise Linux 9polkit-docsNot affected
Red Hat Enterprise Linux 9polkit-libsNot affected
Red Hat Enterprise Linux 9rpm-ostreeWill not fix
Will not fix
Red Hat Enterprise Linux 9rpm-ostree-develWill not fix
Will not fix
Red Hat Enterprise Linux 9rpm-ostree-libsWill not fix
Will not fix
Red Hat Enterprise Linux 9rustWill not fix
Will not fix
Red Hat Enterprise Linux 9rust-analysisWill not fix
Will not fix
Red Hat Enterprise Linux 9rust-analyzerWill not fix
Will not fix
Red Hat Enterprise Linux 9rust-debugger-commonWill not fix
Will not fix
Red Hat Enterprise Linux 9rust-docWill not fix
Will not fix
Red Hat Enterprise Linux 9rust-gdbWill not fix
Will not fix
Red Hat Enterprise Linux 9rust-lldbWill not fix
Will not fix
Red Hat Enterprise Linux 9rust-srcWill not fix
Will not fix
Red Hat Enterprise Linux 9rust-std-staticWill not fix
Will not fix
Red Hat Enterprise Linux 9rust-std-static-wasm32-unknown-unknownWill not fix
Will not fix
Red Hat Enterprise Linux 9rust-std-static-wasm32-wasiWill not fix
Will not fix
Red Hat Enterprise Linux 9rust-std-static-wasm32-wasip1Will not fix
Will not fix
Red Hat Enterprise Linux 9rust-toolsetWill not fix
Will not fix
Red Hat Enterprise Linux 9rustfmtWill not fix
Will not fix
Red Hat Enterprise Linux 9snpguestNot affected
Red Hat Enterprise Linux 9thunderbirdFixed0:140.3.0-1.el9_6RHSA-2025:16156
Red Hat Enterprise Linux 9trustee-guest-componentsFix pending
Affected
Red Hat Enterprise Linux 8aardvark-dnsNot affected
Red Hat Enterprise Linux 8cargoNot affected
Red Hat Enterprise Linux 8cargo-docNot affected
Red Hat Enterprise Linux 8clippyNot affected
Red Hat Enterprise Linux 8containers-commonNot affected
Red Hat Enterprise Linux 8firefoxFixed0:140.3.0-1.el8_10RHSA-2025:16260
Red Hat Enterprise Linux 8mozjs52Will not fix
Will not fix
Red Hat Enterprise Linux 8mozjs52-develWill not fix
Will not fix
Red Hat Enterprise Linux 8mozjs60Will not fix
Will not fix
Red Hat Enterprise Linux 8mozjs60-develWill not fix
Will not fix
Red Hat Enterprise Linux 8netavarkNot affected
Red Hat Enterprise Linux 8rlsNot affected
Red Hat Enterprise Linux 8rpm-ostreeWill not fix
Will not fix
Red Hat Enterprise Linux 8rpm-ostree-libsWill not fix
Will not fix
Red Hat Enterprise Linux 8rustNot affected
Red Hat Enterprise Linux 8rust-analysisNot affected
Red Hat Enterprise Linux 8rust-analyzerNot affected
Red Hat Enterprise Linux 8rust-debugger-commonNot affected
Red Hat Enterprise Linux 8rust-docNot affected
Red Hat Enterprise Linux 8rust-gdbNot affected
Red Hat Enterprise Linux 8rust-lldbNot affected
Red Hat Enterprise Linux 8rust-srcNot affected
Red Hat Enterprise Linux 8rust-std-staticNot affected
Red Hat Enterprise Linux 8rust-std-static-wasm32-unknown-unknownNot affected
Red Hat Enterprise Linux 8rust-std-static-wasm32-wasiNot affected
Red Hat Enterprise Linux 8rust-toolsetNot affected
Red Hat Enterprise Linux 8rustfmtNot affected
Red Hat Enterprise Linux 8thunderbirdFixed0:140.3.0-1.el8_10RHSA-2025:16589
Red Hat Enterprise Linux 7mozjs52Not affected
Red Hat Enterprise Linux 7mozjs52-develNot affected
Red Hat Enterprise Linux 7thunderbirdFix pending
Affected
Red Hat Enterprise Linux 6firefoxWill not fix
Out of support scope
Red Hat Enterprise Linux 6thunderbirdWill not fix
Out of support scope
AlmaLinux 8firefoxFixed140.3.0-1.el8_10.alma.1ALSA-2025:16260
AlmaLinux 8thunderbirdFixed140.3.0-1.el8_10.alma.1ALSA-2025:16589
Alpine Linux 3.24cargo-modulesFixed0.21.1-r0ALPINE-CVE-2024-12224
Alpine Linux 3.23cargo-modulesFixed0.21.1-r0ALPINE-CVE-2024-12224
Alpine Linux 3.22cargo-modulesFixed0.21.1-r0ALPINE-CVE-2024-12224
Alpine Linux 3.21cargo-modulesFixed0.21.1-r0ALPINE-CVE-2024-12224
crates.io libraryidnaFixed1.0.0RUSTSEC-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.

Vendor advisories:

References

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.