Improper Certificate Validation Affecting rust package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.02% (3rd 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 IDSNYK-RHEL9-RUST-10275647
  • published31 May 2025
  • disclosed28 May 2025

Introduced: 28 May 2025

NewCVE-2025-5025  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:9 rust.

NVD Description

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

libcurl supports pinning of the server certificate public key for HTTPS transfers. Due to an omission, this check is not performed when connecting with QUIC for HTTP/3, when the TLS backend is wolfSSL. Documentation says the option works with wolfSSL, failing to specify that it does not for QUIC and HTTP/3. Since pinning makes the transfer succeed if the pin is fine, users could unwittingly connect to an impostor server without noticing.

CVSS Base Scores

version 3.1