Improperly Implemented Security Check for Standard Affecting rust package, versions <0:1.96.1-1.hum1


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.57% (44th 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-RHEL10-RUST-17874064
  • published7 Jul 2026
  • disclosed3 Jul 2026

Introduced: 3 Jul 2026

NewCVE-2026-12064  (opens in a new tab)
CWE-358  (opens in a new tab)

How to fix?

Upgrade RHEL:10 rust to version 0:1.96.1-1.hum1 or higher.
This issue was patched in RHSA-2026:34975.

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:10 relevant fixed versions and status.

When a user invokes curl using a schemeless URL combined with --proto-default sftp (or scp), a disconnect occurs between the tool layer and libcurl. The tool layer incorrectly infers the URL scheme, which erroneously bypasses the initialization of critical SSH security options like CURLOPT_SSH_HOST_PUBLIC_KEY_SHA256 and CURLOPT_SSH_KNOWNHOSTS. Conversely, the libcurl runtime successfully honors CURLOPT_DEFAULT_PROTOCOL and establishes the connection via SFTP/SCP as specified. Because the tool layer skipped the security configuration, these SSH host verification options are silently omitted, causing curl to connect to an unverified SSH remote host without throwing an error.

CVSS Base Scores

version 3.1