cve.bz

CVE-2024-12224 servo idna: Cross Site Reference Forgery

5.1 mediumExploit referenceEPSS 0.2%Fix available

Medium (5.1) in servo idna. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in idna 1.0.0.

On this page
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.

Severity

CVSS 4.0

5.1 medium
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

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 14th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-05-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-352 Cross-Site Request Forgery (Cross Site Reference Forgery)
CWE-1289 Improper Validation of Unsafe Equivalence in Input
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-12224 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-12224?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-12224?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-12224 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
servo rust-urlbefore 1.0.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-h97m-ww89-6jmqcrates.ioidna<1.0.01.0.0
RUSTSEC-2024-0421crates.ioidna>=0.0.0-0 <1.0.01.0.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12rust-idnano fix listedDEBIAN-CVE-2024-12224
Debian13, 14rust-idna1.0.3-2DEBIAN-CVE-2024-12224
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 3 morerust-idnano fix listedUBUNTU-CVE-2024-12224
Red Hatenterprise_linux:8::appstreamfirefox, firefox-debuginfo, firefox-debugsource0:140.3.0-1.el8_10RHSA-2025:16260
Red Hatenterprise_linux:8::appstreamthunderbird, thunderbird-debuginfo, thunderbird-debugsource0:140.3.0-1.el8_10RHSA-2025:16589
Red Hatenterprise_linux:9::appstreamfirefox, firefox-x11, firefox-debuginfo and 1 more0:140.3.0-1.el9_6RHSA-2025:16108
Red Hatenterprise_linux:9::appstreamthunderbird, thunderbird-debuginfo, thunderbird-debugsource0:140.3.0-1.el9_6RHSA-2025:16156
Red Hatenterprise_linux:10.0firefox, firefox-debuginfo, firefox-debugsource0:140.3.0-1.el10_0RHSA-2025:16109
Red Hatenterprise_linux:10.0thunderbird, thunderbird-debuginfo, thunderbird-debugsource0:140.3.0-1.el10_0RHSA-2025:16157
Red Hatrhel_aus:8.2::appstreamfirefox, firefox-debuginfo, firefox-debugsource0:140.3.0-1.el8_2RHSA-2025:17372
Red Hatrhel_aus:8.2::appstreamthunderbird, thunderbird-debuginfo, thunderbird-debugsource0:140.3.0-1.el8_2RHSA-2025:17340
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamfirefox, firefox-debuginfo, firefox-debugsource0:140.3.0-1.el8_4RHSA-2025:17371
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamthunderbird, thunderbird-debuginfo, thunderbird-debugsource0:140.3.0-1.el8_4RHSA-2025:17341
Red Hatrhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_tus:8.6::appstreamfirefox, firefox-debuginfo, firefox-debugsource0:140.3.0-1.el8_6RHSA-2025:17367
Red Hatrhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_tus:8.6::appstreamthunderbird, thunderbird-debuginfo, thunderbird-debugsource0:140.3.0-1.el8_6RHSA-2025:17342
9 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morerustup1.28.2~0-150400.3.13.1SUSE-SU-2026:2831-1
SUSELinux Enterprise Micro 5.2afterburn5.9.0.git21.a73f509-150300.3.5.1SUSE-SU-2025:3783-1
SUSELinux Enterprise Micro 5.3afterburn5.9.0.git21.a73f509-150400.3.3.1SUSE-SU-2025:3786-1
SUSELinux Enterprise Micro 5.3rust-keylime0.2.7+141-150400.3.7.1SUSE-SU-2025:02809-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4, Linux Enterprise Micro 5.5librsvg2.52.12-150400.3.9.1SUSE-SU-2025:4411-1
SUSELinux Enterprise Micro 5.4afterburn5.9.0.git21.a73f509-150400.3.3.1SUSE-SU-2025:3785-1
SUSELinux Enterprise Micro 5.4rust-keylime0.2.7+141-150400.3.5.1SUSE-SU-2025:02810-1
SUSELinux Enterprise Micro 5.5afterburn5.9.0.git21.a73f509-150500.3.3.1SUSE-SU-2025:3784-1
SUSELinux Enterprise Micro 5.5rust-keylime0.2.7+141-150500.3.5.1SUSE-SU-2025:02811-1
SUSELinux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Basesystem 15 SP7rav1e0.6.6-150600.3.3.1SUSE-SU-2025:02586-1
SUSELinux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Module for Desktop Applications 15 SP7librsvg2.57.4-150600.3.3.1SUSE-SU-2026:0243-1
SUSELinux Enterprise Module for Development Tools 15 SP6, Linux Enterprise Module for Development Tools 15 SP7rustup1.26.0~0-150600.10.7.1SUSE-SU-2025:03298-1
20 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6aws-nitro-enclaves-cli1.4.2~git0.6e8512e-150600.10.6.1SUSE-RU-2025:02204-1
openSUSELeap 15.6librsvg2.57.4-150600.3.3.1SUSE-SU-2026:0243-1
openSUSELeap 15.6rav1e0.6.6-150600.3.3.1SUSE-SU-2025:02586-1
openSUSELeap 15.6rustup1.26.0~0-150600.10.7.1SUSE-SU-2025:03298-1
openSUSELeap 15.6sccache0.4.2~4-150600.10.3.1SUSE-SU-2025:02768-1
openSUSELeap 15.6sevctl0.4.3-150600.4.3.1SUSE-SU-2025:03307-1
openSUSELeap 15.6snpguest0.3.2-150600.3.6.1SUSE-SU-2025:03445-1
openSUSELeap 16.0cargo-c0.10.15-160000.1.1openSUSE-SU-2026:20060-1
openSUSELeap 16.0librsvg2.60.2-160000.1.1openSUSE-SU-2026:20396-1
openSUSELeap 16.0rustup1.29.1~0-160000.1.1openSUSE-SU-2026:22016-1
openSUSELeap 16.0sccache0.18.0~2-160000.1.1openSUSE-SU-2026:21982-1
openSUSETumbleweedafterburn5.9.0.git21.a73f509-2.1openSUSE-SU-2025:15588-1
7 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8firefox140.3.0-1.el8_10.alma.1ALSA-2025:16260
AlmaLinux8thunderbird140.3.0-1.el8_10.alma.1ALSA-2025:16589
Alpinev3.21, v3.22, v3.23 and 1 morecargo-modules0.21.1-r0ALPINE-CVE-2024-12224

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue was rated as moderate because certain hostnames can be interpreted incorrectly by idna, potentially allowing an attacker to bypass hostname checks. Exploitation requires specific conditions, such as a client accepting unusual domain names and an attacker controlling a matching DNS entry. While it could expose sensitive information or allow limited privilege escalation, it does not affect system availability, and the risk is considered moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10firefox-0:140.3.0-1.el10_0Fixed 2025-09-17RHSA-2025:16109
Red Hat Enterprise Linux 10thunderbird-0:140.3.0-1.el10_0Fixed 2025-09-18RHSA-2025:16157
Red Hat Enterprise Linux 7 Extended Lifecycle Supportfirefox-0:140.3.0-1.el7_9Fixed 2025-10-07RHSA-2025:17453
Red Hat Enterprise Linux 8firefox-0:140.3.0-1.el8_10Fixed 2025-09-22RHSA-2025:16260
Red Hat Enterprise Linux 8thunderbird-0:140.3.0-1.el8_10Fixed 2025-09-24RHSA-2025:16589
Red Hat Enterprise Linux 8.2 Advanced Update Supportthunderbird-0:140.3.0-1.el8_2Fixed 2025-10-06RHSA-2025:17340
Red Hat Enterprise Linux 8.2 Advanced Update Supportfirefox-0:140.3.0-1.el8_2Fixed 2025-10-06RHSA-2025:17372
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportthunderbird-0:140.3.0-1.el8_4Fixed 2025-10-06RHSA-2025:17341
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportfirefox-0:140.3.0-1.el8_4Fixed 2025-10-06RHSA-2025:17371
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onthunderbird-0:140.3.0-1.el8_4Fixed 2025-10-06RHSA-2025:17341
Confidential Compute Attestationconfidential-compute-attestation-tech-preview/trustee-rhel9Not affected
OpenShift Serverlessopenshift-serverless-1/kn-plugin-func-func-util-rhel8Affected
Red Hat Ansible Automation Platform 2python3.11-nh3Not affected
Red Hat Enterprise Linux 10aardvark-dnsNot affected
Red Hat Enterprise Linux 10fido-device-onboardWill not fix
Red Hat Enterprise Linux 10gjsAffected
Red Hat Enterprise Linux 10glycin-loadersNot affected
Red Hat Enterprise Linux 10keylime-agent-rustNot affected
Red Hat Enterprise Linux 10librsvg2Not affected
Red Hat Enterprise Linux 10loupeNot affected
65 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-12224.

Attack patterns (CAPEC)

  • CAPEC-62 Cross Site Request Forgery Likelihood: High · Severity: Very High
  • CAPEC-111 JSON Hijacking (aka JavaScript Hijacking) Likelihood: High · Severity: High
  • CAPEC-462 Cross-Domain Search Timing Severity: Medium
  • CAPEC-467 Cross Site Identification Severity: Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON