Improper Input Validation Affecting rust-keylime package, versions <0.2.9+49-160000.1.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.21% (12th 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-SLES1600-RUSTKEYLIME-17977797
  • published15 Jul 2026
  • disclosed9 Jul 2026

Introduced: 9 Jul 2026

NewCVE-2026-42327  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade SLES:16.0.0 rust-keylime to version 0.2.9+49-160000.1.1 or higher.

NVD Description

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

rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.9.7 to before 0.10.79, X509Ref::ocsp_responders returns OCSP responder URLs from a certificate's AIA extension as OpensslString, whose Deref<Target = str> wraps the raw bytes with str::from_utf8_unchecked. OpenSSL does not enforce that the underlying IA5String is ASCII, so a certificate with non-UTF-8 bytes in its OCSP accessLocation causes safe Rust code to construct a &str that violates the UTF-8 invariant — resulting in undefined behavior. This vulnerability is fixed in 0.10.79.

CVSS Base Scores

version 3.1