{"id":"UBUNTU-CVE-2024-12224","details":"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.","modified":"2026-04-27T18:52:11.664180Z","published":"2025-05-30T02:15:00Z","upstream":["CVE-2024-12224"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-12224"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-12224"},{"type":"REPORT","url":"https://rustsec.org/advisories/RUSTSEC-2024-0421.html"},{"type":"REPORT","url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1887898"}],"affected":[{"package":{"name":"rust-idna","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/rust-idna@0.2.0-1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.1.5-1","0.2.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.2.0-1","binary_name":"librust-idna-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-12224.json"}},{"package":{"name":"rust-idna","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/rust-idna@0.2.0-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.2.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.2.0-1","binary_name":"librust-idna-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-12224.json"}},{"package":{"name":"rust-idna","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/rust-idna@0.4.0-1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.0-1","0.4.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.4.0-1","binary_name":"librust-idna-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-12224.json"}},{"package":{"name":"rust-idna","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/rust-idna@1.0.3-2?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.0-1","1.0.3-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.0.3-2","binary_name":"librust-idna-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-12224.json"}},{"package":{"name":"rust-idna","ecosystem":"Ubuntu:26.04","purl":"pkg:deb/ubuntu/rust-idna@1.1.0-1?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.3-2","1.1.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.1.0-1","binary_name":"librust-idna-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-12224.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}