{"answers":{"affected":"3 open source packages ship an affected version, including idna. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-12224 exists.","fix":"Upgrade idna to 1.0.0 or later.","what":"CVE-2024-12224 is a medium-severity vulnerability in servo rust-url, published on 30 May 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-12224 and fix it if it is affected.\n\nWhat it is: CVE-2024-12224 is a medium-severity vulnerability in servo rust-url, published on 30 May 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-12224 exists.\n\nAffected packages and fixed versions:\n- idna (crates.io): affected all versions; fixed in 1.0.0\n- idna (crates.io): affected all versions; fixed in 1.0.0\n- idna (crates.io): affected from 0.0.0-0; fixed in 1.0.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-12224/ (Markdown: https://insights.sbomify.com/CVE-2024-12224/index.md)","id":"CVE-2024-12224","markdown":"https://insights.sbomify.com/CVE-2024-12224/index.md","name":"CVE-2024-12224","record":{"aliases":["DEBIAN-CVE-2024-12224","GHSA-h97m-ww89-6jmq","MINI-4f9h-74xv-8mmp","OESA-2026-3013","RUSTSEC-2024-0421","SUSE-RU-2025:02203-1","SUSE-RU-2025:02204-1","SUSE-SU-2025:02586-1","SUSE-SU-2025:02587-1","SUSE-SU-2025:02768-1","SUSE-SU-2025:20491-1","SUSE-SU-2026:0243-1","UBUNTU-CVE-2024-12224","openSUSE-SU-2025:15201-1","openSUSE-SU-2025:15202-1","openSUSE-SU-2025:15353-1","openSUSE-SU-2025:15588-1","openSUSE-SU-2025:15656-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Rust IDNA library","requires_auth":"low_privilege","summary":"Attackers can create Punycode hostnames that bypass security checks by exploiting inconsistent IDNA decoding in the Rust idna crate.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mozilla","cpe":[{"product":"idna","vendor":"servo"}],"cvss":{"score":5.1,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"},{"id":"CWE-1289","name":"Improper Validation of Unsafe Equivalence in Input"}],"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.","ecosystems":["SUSE:Linux Enterprise Module for Basesystem 15 SP6","SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Enterprise Module for Desktop Applications 15 SP7","SUSE:Linux Enterprise Module for Development Tools 15 SP6","SUSE:Linux Enterprise Module for Development Tools 15 SP7","SUSE:Linux Enterprise Module for Public Cloud 15 SP4","SUSE:Linux Enterprise Module for Public Cloud 15 SP5","SUSE:Linux Enterprise Module for Public Cloud 15 SP6","SUSE:Linux Enterprise Module for Public Cloud 15 SP7","SUSE:Linux Micro 6.0","crates.io","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"idna accepts Punycode labels that do not produce any non-ASCII when decoded","id":"CVE-2024-12224","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"other","year":"2024"},"n_packages":23,"n_references":2,"next":{"headline":"Io.quarkus:quarkus-security-webauthn: quarkus webauthn unexpected authentication bypass","id":"CVE-2024-12225"},"packages":[{"ecosystem":"crates.io","fixed":["1.0.0"],"introduced":["0"],"last_affected":[],"package":"idna","purl":null,"source":"GHSA-h97m-ww89-6jmq"},{"ecosystem":"crates.io","fixed":["1.0.0"],"introduced":["0"],"last_affected":[],"package":"idna","purl":"pkg:cargo/idna","source":"GHSA-h97m-ww89-6jmq"},{"ecosystem":"crates.io","fixed":["1.0.0"],"introduced":["0.0.0-0"],"last_affected":[],"package":"idna","purl":"pkg:cargo/idna","source":"RUSTSEC-2024-0421"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP6","fixed":["0.6.6-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"rav1e","purl":"pkg:rpm/suse/rav1e\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6","source":"SUSE-SU-2025:02586-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","fixed":["2.57.4-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"librsvg","purl":"pkg:rpm/suse/librsvg\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7","source":"SUSE-SU-2026:0243-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","fixed":["0.6.6-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"rav1e","purl":"pkg:rpm/suse/rav1e\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7","source":"SUSE-SU-2025:02586-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP7","fixed":["2.57.4-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"librsvg","purl":"pkg:rpm/suse/librsvg\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP7","source":"SUSE-SU-2026:0243-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP6","fixed":["0.4.2~4-150600.10.3.1"],"introduced":["0"],"last_affected":[],"package":"sccache","purl":"pkg:rpm/suse/sccache\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP6","source":"SUSE-SU-2025:02768-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP7","fixed":["0.4.2~4-150600.10.3.1"],"introduced":["0"],"last_affected":[],"package":"sccache","purl":"pkg:rpm/suse/sccache\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP7","source":"SUSE-SU-2025:02768-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP4","fixed":["1.4.2~git0.6e8512e-150400.3.9.1"],"introduced":["0"],"last_affected":[],"package":"aws-nitro-enclaves-cli","purl":"pkg:rpm/suse/aws-nitro-enclaves-cli\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP4","source":"SUSE-RU-2025:02203-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP5","fixed":["1.4.2~git0.6e8512e-150400.3.9.1"],"introduced":["0"],"last_affected":[],"package":"aws-nitro-enclaves-cli","purl":"pkg:rpm/suse/aws-nitro-enclaves-cli\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP5","source":"SUSE-RU-2025:02203-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP6","fixed":["1.4.2~git0.6e8512e-150600.10.6.1"],"introduced":["0"],"last_affected":[],"package":"aws-nitro-enclaves-cli","purl":"pkg:rpm/suse/aws-nitro-enclaves-cli\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP6","source":"SUSE-RU-2025:02204-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP7","fixed":["1.4.2~git0.6e8512e-150600.10.6.1"],"introduced":["0"],"last_affected":[],"package":"aws-nitro-enclaves-cli","purl":"pkg:rpm/suse/aws-nitro-enclaves-cli\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP7","source":"SUSE-RU-2025:02204-1"},{"ecosystem":"SUSE:Linux Micro 6.0","fixed":["0.2.7+70-1.1"],"introduced":["0"],"last_affected":[],"package":"rust-keylime","purl":"pkg:rpm/suse/rust-keylime\u0026distro=SUSE%20Linux%20Micro%206.0","source":"SUSE-SU-2025:20491-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["1.4.2~git0.6e8512e-150600.10.6.1"],"introduced":["0"],"last_affected":[],"package":"aws-nitro-enclaves-cli","purl":"pkg:rpm/opensuse/aws-nitro-enclaves-cli\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-RU-2025:02204-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["2.57.4-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"librsvg","purl":"pkg:rpm/opensuse/librsvg\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2026:0243-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["0.6.6-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"rav1e","purl":"pkg:rpm/opensuse/rav1e\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:02586-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["0.4.2~4-150600.10.3.1"],"introduced":["0"],"last_affected":[],"package":"sccache","purl":"pkg:rpm/opensuse/sccache\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:02768-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["5.9.0.git21.a73f509-2.1"],"introduced":["0"],"last_affected":[],"package":"afterburn","purl":"pkg:rpm/opensuse/afterburn\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15588-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.2.17-2.1"],"introduced":["0"],"last_affected":[],"package":"python-nh3","purl":"pkg:rpm/opensuse/python-nh3\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15201-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["4.25.0-5.1"],"introduced":["0"],"last_affected":[],"package":"python-selenium","purl":"pkg:rpm/opensuse/python-selenium\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15202-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.28.2~0-1.1"],"introduced":["0"],"last_affected":[],"package":"rustup","purl":"pkg:rpm/opensuse/rustup\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15353-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.12.0~1-1.1"],"introduced":["0"],"last_affected":[],"package":"sccache","purl":"pkg:rpm/opensuse/sccache\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15656-1"}],"prev":{"headline":"Stored Cross-site Scripting (XSS) in Nutanix Prism Central","id":"CVE-2024-12223"},"products":["rust-url"],"published":"2025-05-30","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"open","licence":"CC0 1.0","name":"RustSec","prefix":"RUSTSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-05-30","vendors":["servo"]},"summary":"Attackers can create Punycode hostnames that bypass security checks by exploiting inconsistent IDNA decoding in the Rust idna crate.","url":"https://insights.sbomify.com/CVE-2024-12224/"}