Cross-site Request Forgery (CSRF) Affecting rust-idna package, versions <1.0.3-2


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.02% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIANUNSTABLE-RUSTIDNA-8492360
  • published10 Dec 2024
  • disclosed30 May 2025

Introduced: 10 Dec 2024

CVE-2024-12224  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade Debian:unstable rust-idna to version 1.0.3-2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rust-idna package and not the rust-idna package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1