Nixpkgs security tracker

Try the new UI
Login with GitHub
⚠️ You are using a production deployment that is still only suitable for demo purposes. Any work done in this might be wiped later without notice.

Dismissed suggestions

These automatic suggestions were dismissed after initial triaging.

to select a suggestion for revision.

View:
Compact
Detailed
Dismissed
(no matching packages found)
updated 5 days, 12 hours ago by @ADMIN Activity log
  • Created suggestion
  • @ADMIN dismissed (no matching packages found)
Integer underflow leads to out-of-bounds access in sniffer ChaCha decrypt path.

Integer underflow in wolfSSL packet sniffer <= 5.9.0 allows an attacker to cause a program crash in the AEAD decryption path by injecting a TLS record shorter than the explicit IV plus authentication tag into traffic inspected by ssl_DecodePacket. The underflow wraps a 16-bit length to a large value that is passed to AEAD decryption routines, causing a large out-of-bounds read and crash. An unauthenticated attacker can trigger this remotely via malformed TLS Application Data records.

Affected products

wolfSSL
  • =<5.9.0
Dismissed
(no matching packages found)
updated 5 days, 12 hours ago by @ADMIN Activity log
  • Created suggestion
  • @ADMIN dismissed (no matching packages found)
out-of-bounds write in TLSX_EchChangeSNI via attacker-controlled publicName

In TLSX_EchChangeSNI, the ctx->extensions branch set extensions unconditionally even when TLSX_Find returned NULL. This caused TLSX_UseSNI to attach the attacker-controlled publicName to the shared WOLFSSL_CTX when no inner SNI was configured. TLSX_EchRestoreSNI then failed to clean it up because its removal was gated on serverNameX != NULL. The inner ClientHello was sized before the pollution but written after it, causing TLSX_SNI_Write to memcpy 255 bytes past the allocation boundary.

Affected products

wolfSSL
  • =<5.9.0
Dismissed
(no matching packages found)
updated 5 days, 12 hours ago by @ADMIN Activity log
  • Created suggestion
  • @ADMIN dismissed (no matching packages found)
1-2 Byte Buffer Overflow in wolfSSL_X509_notAfter/notBefore

X.509 date buffer overflow in wolfSSL_X509_notAfter / wolfSSL_X509_notBefore. A buffer overflow may occur when parsing date fields from a crafted X.509 certificate via the compatibility layer API. This is only triggered when calling these two APIs directly from an application, and does not affect TLS or certificate verify operations in wolfSSL.

Affected products

wolfSSL
  • <5.9.1
Dismissed
(no matching packages found)
updated 5 days, 12 hours ago by @ADMIN Activity log
  • Created suggestion
  • @ADMIN dismissed (no matching packages found)
wolfSSL heap OOB read in PKCS7 SignedData streaming

Heap out-of-bounds read in PKCS7 parsing. A crafted PKCS7 message can trigger an OOB read on the heap. The missing bounds check is in the indefinite-length end-of-content verification loop in PKCS7_VerifySignedData().

Affected products

wolfSSL
  • <5.9.1
Dismissed
(no matching packages found)
updated 5 days, 12 hours ago by @ADMIN Activity log
  • Created suggestion
  • @ADMIN dismissed (no matching packages found)
Heap Out-of-Bounds Write in DecodeObjectId() in wolfSSL

Two potential heap out-of-bounds write locations existed in DecodeObjectId() in wolfcrypt/src/asn.c. First, a bounds check only validates one available slot before writing two OID arc values (out[0] and out[1]), enabling a 2-byte out-of-bounds write when outSz equals 1. Second, multiple callers pass sizeof(decOid) (64 bytes on 64-bit platforms) instead of the element count MAX_OID_SZ (32), causing the function to accept crafted OIDs with 33 or more arcs that write past the end of the allocated buffer.

Affected products

wolfSSL
  • =<5.9.0
Dismissed
(no matching packages found)
updated 5 days, 12 hours ago by @ADMIN Activity log
  • Created suggestion
  • @ADMIN dismissed (no matching packages found)
DTLS 1.3 ACK heap buffer overflow

Heap buffer overflow in DTLS 1.3 ACK message processing. A remote attacker can send a crafted DTLS 1.3 ACK message that triggers a heap buffer overflow.

Affected products

wolfSSL
  • <5.9.1
Dismissed
(no matching packages found)
updated 5 days, 12 hours ago by @ADMIN Activity log
  • Created suggestion
  • @ADMIN dismissed (no matching packages found)
OOB Read in DoTls13CertificateVerify with WOLFSSL_DUAL_ALG_CERTS

Dual-Algorithm CertificateVerify out-of-bounds read. When processing a dual-algorithm CertificateVerify message, an out-of-bounds read can occur on crafted input. This can only occur when --enable-experimental and --enable-dual-alg-certs is used when building wolfSSL.

Affected products

wolfSSL
  • <5.9.1
Dismissed
(no matching packages found)
updated 5 days, 12 hours ago by @ADMIN Activity log
  • Created suggestion
  • @ADMIN dismissed (no matching packages found)
Session Cache Restore — Arbitrary Free via Deserialized Pointer

When restoring a session from cache, a pointer from the serialized session data is used in a free operation without validation. An attacker who can poison the session cache could trigger an arbitrary free. Exploitation requires the ability to inject a crafted session into the cache and for the application to call specific session restore APIs.

Affected products

wolfSSL
  • =<5.9.0
Dismissed
(no matching packages found)
updated 5 days, 12 hours ago by @ADMIN Activity log
  • Created suggestion
  • @ADMIN dismissed (no matching packages found)
URI nameConstraints not enforced in ConfirmNameConstraints()

URI nameConstraints from constrained intermediate CAs are parsed but not enforced during certificate chain verification in wolfcrypt/src/asn.c. A compromised or malicious sub-CA could issue leaf certificates with URI SAN entries that violate the nameConstraints of the issuing CA, and wolfSSL would accept them as valid.

Affected products

wolfSSL
  • <5.9.1
Dismissed
(no matching packages found)
updated 5 days, 12 hours ago by @ADMIN Activity log
  • Created suggestion
  • @ADMIN dismissed (no matching packages found)
Heap Use-After-Free in PQC Hybrid KeyShare Error Cleanup in wolfSSL TLS 1.3

A heap use-after-free exists in wolfSSL's TLS 1.3 post-quantum cryptography (PQC) hybrid KeyShare processing. In the error handling path of TLSX_KeyShare_ProcessPqcHybridClient() in src/tls.c, the inner function TLSX_KeyShare_ProcessPqcClient_ex() frees a KyberKey object upon encountering an error. The caller then invokes TLSX_KeyShare_FreeAll(), which attempts to call ForceZero() on the already-freed KyberKey, resulting in writes of zero bytes over freed heap memory.

Affected products

wolfSSL
  • <5.9.1