Improper Input Validation Affecting valkey-ldap package, versions <1.0.0-r5


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.21% (11th 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-CHAINGUARDLATEST-VALKEYLDAP-16542193
  • published9 May 2026
  • disclosed14 May 2026

Introduced: 9 May 2026

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

How to fix?

Upgrade Chainguard valkey-ldap to version 1.0.0-r5 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream valkey-ldap package and not the valkey-ldap package as distributed by Chainguard. See How to fix? for Chainguard 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