1577 matches found
X25519 accepts low-order public keys, yielding session keys computable without a private key
Versions of dryoc before 1.0.0 never reject low-order peer public keys or an all-zero shared secret. In addition, versions 0.5.1 through 0.9.x compute X25519 with the clamped scalar reduced modulo the prime subgroup order ℓ Scalar::frombytesmodorderclampn instead of the clamped integer specified ...
`env-test-guard` was removed from crates.io for malicious code
env-test-guard attempted to exfiltrate credentials from the environment to an arbitrary URL. The malicious crate had 2 versions published on 2026-03-24 and 2026-03-25, approximately 8 months before removal, and had no evidence of actual usage. This crate had no dependencies on crates.io. Thanks t...
`gabby-types-sec` was removed from crates.io for malicious code
gabby-types-sec attempted to send telemetry from the build environment to an arbitrary URL. The malicious crate had 1 version published on 2026-02-17, approximately 9 months before removal, and had no evidence of actual usage. This crate had no dependencies on crates.io. Thanks to Bitbison for th...
`top_level_crate` was removed from crates.io for malicious code
toplevelcrate attempted to send telemetry from the build environment to an arbitrary URL. The malicious crate had 1 version published on 2025-03-01, approximately 20 months before removal, and had no evidence of actual usage. This crate had no dependencies on crates.io. Thanks to Bitbison for the...
`sec-gemini` was removed from crates.io for malicious code
sec-gemini attempted to send telemetry from the build environment to an arbitrary URL. The malicious crate had 1 versions published on 2025-06-19, approximately 17 months before removal, and had no evidence of actual usage. This crate had no dependencies on crates.io. Thanks to Bitbison for the...
`pin-utils` is unmaintained
The upstream repository was archived on October 1, 2026, after the release of version 0.1.1. For local pinning, replace pinmut! with core::pin::pin!, available since Rust 1.68. For pin projection, replace unsafepinned! and unsafeunpinned! with pin-project or pin-project-lite. upstream repository:...
Client `Handler` callbacks run for channels the client never opened
On the client side, russh passed channel messages from the server data, extended data, EOF, close, success, failure, open failure and the exit-status, exit-signal and xon-xoff requests to the application's client::Handler callbacks without checking that the channel number belonged to a channel th...
Records with a DNS class other than the query's marked secure without being validated (hickory-proto)
Before 0.26.0-beta.1, hickory-proto's DNSSEC validation ignored the DNS class when grouping records into RRsets and left records of a class other than IN out of signature checking, then marked them secure if the IN records validated. Someone who can answer or modify DNS responses could add forged...
Recursor followed every glueless name server in a referral (no fixed hickory-recursor release)
For referrals whose name servers are outside the delegated zone and come without glue, the recursor resolved every listed name server, with no cap on referral width and no per-query work budget. Someone who controls a zone can use this to make each client query send a large number of queries to a...
NXDOMAIN accepted for a proven empty non-terminal (hickory-proto)
Up to 0.26.0-alpha.1, hickory-proto's NSEC validation accepted an NXDOMAIN response as secure even when the covering NSEC record's next domain name was below the queried name, which proves the name exists as an empty non-terminal. Because the response code is not signed, someone who can modify DN...
Panic on a malformed `alpn` value when parsing SVCB or HTTPS records from text
When an SVCB or HTTPS record is parsed from its text zone file form, the alpn service parameter value is split into a list of protocol names. That step called expect on the result, on the assumption that it could not fail. A malformed value, such as one with an unbalanced quote alpn="h, two comma...
NSEC3 NODATA at a zone apex accepted without an NSEC3 record matching the query name (hickory-proto)
In hickory-proto 0.25.0-alpha.3 through 0.26.0-alpha.1, NSEC3 NODATA validation returned a secure result for a query at the zone apex even when no NSEC3 record in the response matched the hash of the query name, which RFC 5155 section 8.5 requires. Someone who can answer or modify DNS responses...
Zone file lexer panics on a token of 4096 or more characters
The zone file lexer read each token in a loop capped at 4,096 iterations, with an assert! on the loop counter as a safety bound. A single token long enough to reach that bound, for example a very long name or character string in a zone file, triggered the assertion and the parser panicked instead...
Remote panic when a peer certificate expires during the QUIC handshake
After the QUIC handshake finished, the peer's libp2p TLS certificate was parsed a second time to get its peer ID, and the result was unwrapped with expect, on the assumption that it could not fail because the certificate had already been validated. Parsing checks the certificate's validity period...
Out-of-bounds read when a PEM password callback returns an oversized length
The frompemcallback functions, such as EcKey::privatekeyfrompemcallback, pass the length returned by the user's password callback to OpenSSL without checking it against the size of the buffer the callback was given. If the callback reports more bytes than the buffer holds, some OpenSSL versions...
`Fixed` and `Dynamic` secret wrappers were not zeroized on drop
In affected versions, the Fixed and Dynamic wrappers and the FixedNoClone / DynamicNoClone variants in 0.6.x did not wipe their contents when dropped. The types implemented the zeroize::ZeroizeOnDrop marker trait, which has no methods and does nothing by itself, but had no Drop implementation. Th...
`openssl-tls` trusts OpenSSL's default CA store in addition to the configured cluster CA
With the openssl-tls connector, configuring a cluster CA certificate-authority, certificate-authority-data, or the in-cluster ca.crt did not limit which server certificates were trusted. The connector started from OpenSSL's default verify paths and added the configured roots to that store, so a...
Out-of-bounds read when iterating over IPv6 extension headers of laxly parsed packets
Iterating over malformed or truncated IPv6 extension headers can cause out-of-bounds reads when the packet was parsed using one of the lax parsing functions e.g. via Ipv6ExtensionsSlice::fromslicelax or LaxSlicedPacket. Lax parsing stops at the first invalid or truncated extension header and...
STARTTLS response injection allows a man-in-the-middle to forge SMTP replies
A man-in-the-middle can append replies of their own to the cleartext reply to STARTTLS. The client takes them for the server's replies to the commands it then sends over TLS, so the attacker can, for example, make a message that the server rejected look accepted. Only connections upgraded with...
Receive loop can spin after a truncated datagram
Some targets read one datagram per recvmsg call instead of using recvmmsg: Apple platforms without the fast-apple-datapath feature, OpenBSD, NetBSD, Solaris and illumos, and from 0.6 also DragonFly BSD, Redox and GNU/Hurd. On these targets the receive loop set up its msghdr only once and looked a...
humantime is unmaintained
Because chrono is now unmaintained and humantime wraps chrono, it is also unmaintained; all versions are affected...
Unsigned NSEC or NSEC3 record used in a nonexistence proof when another record at the same name is signed
When DNSSEC validation collected the NSEC and NSEC3 records from a response's authority section to check a denial of existence, it kept a record if any authority record with the same owner name had validated, not only if that record itself had. A response could therefore pair a correctly signed...
Records with a DNS class other than the query's marked secure without being validated
When DNSSEC validation grouped a response's records into RRsets, it did not take the DNS class into account, and records of a class other than IN were left out before signatures were checked. If the IN records validated, the records of other classes such as CH or HS were marked secure too. An...
Parent-side NSEC at a zone cut accepted as proof of nonexistence (hickory-proto)
Up to 0.26.0-alpha.1, hickory-proto's DNSSEC validation accepted the NSEC record that a parent zone signs at a delegation as proof that names below the zone cut, or other types at the cut, do not exist. Such a record only proves that no DS record exists there RFC 6840 section 4.1. Someone who can...
Panic when an SVCB or HTTPS parameter value is a single quote character
When an SVCB or HTTPS record is parsed from its text zone file form, surrounding double quotes are removed from each service parameter value by checking that the value starts and ends with " and slicing off the first and last character. A value that is a single " for example alpn=" passes that...
Rejected authentication challenges can poison the Key Vault scope cache
Affected versions of KeyVaultAuthorizer::onchallenge cache the authentication scope from a WWW-Authenticate response before verifying that the challenge resource matches the requested endpoint. When verification rejects the challenge, the scope remains cached. A subsequent request through the sam...
Rejected authentication challenges can poison the Key Vault scope cache
Affected versions of KeyVaultAuthorizer::onchallenge cache the authentication scope from a WWW-Authenticate response before verifying that the challenge resource matches the requested endpoint. When verification rejects the challenge, the scope remains cached. A subsequent request through the sam...
Rejected authentication challenges can poison the Key Vault scope cache
Affected versions of KeyVaultAuthorizer::onchallenge cache the authentication scope from a WWW-Authenticate response before verifying that the challenge resource matches the requested endpoint. When verification rejects the challenge, the scope remains cached. A subsequent request through the sam...
Stack overflow from unbounded recursion in DTD content-model parsing
xmloxide's DTD parser recursed without a depth bound when parsing the parenthesised content model of an declaration. A small document whose internal DTD subset contains many nested drives unbounded mutual recursion between DtdParser::parsecontentparticle and DtdParser::parsecontentspecgroup,...
Rendezvous server stored an unlimited number of DISCOVER cookies
Each DISCOVER request to a rendezvous server creates a pagination cookie, which the server kept in a map together with the registrations already returned for it. Entries were never evicted or capped, so an unauthenticated peer sending ordinary DISCOVER requests can make the server's memory grow...
Remote panic in the heartbeat from a large PRUNE backoff
The 0.49.3 fix stopped an overflow when a PRUNE backoff is first stored, but a backoff just small enough to be stored could still overflow later. On each heartbeat, expired backoffs were found with backofftime + slack now, which panics when the stored time is close to the largest Instant. A peer...
`hugepage_rs::Box::new` may cause undefined behavior when initializing memory
hugepagers::Box::new incorrectly initialized freshly allocated memory. Earlier implementations could either drop an uninitialized T or create a mutable reference before the memory contained a valid T, causing undefined behavior even when called from safe Rust code. The issue was fixed in version...
`ZipStreamReader` extracts entries under local-header names that can differ from the central directory
A ZIP archive names each entry twice: in the local file header in front of the entry's data, and in the central directory at the end of the archive. ZipArchive lists and opens entries by their central-directory names. ZipStreamReader::visit and ZipStreamReader::extract, like readzipfilefromstream...
MAX_STREAM_DATA frame can open streams beyond the stream limit
When a MAXSTREAMDATA frame named a peer-initiated bidirectional stream that was not open yet, receivedmaxstreamdata treated the stream, and every lower-numbered stream, as opened without checking the stream ID against the limit advertised to the peer. RFC 9000 section 4.6 requires closing the...
chrono-tz-build is unmaintained
The chrono-tz-build crate is unmaintained; all versions are affected...
NSEC3 NODATA at a zone apex accepted without an NSEC3 record matching the query name
RFC 5155 section 8.5 says a NODATA response proven with NSEC3 needs an NSEC3 record whose hashed owner name equals the hash of the query name, and whose type bitmap has neither the query type nor CNAME. NSEC3 NODATA validation skipped this when the query name was the zone apex the SOA owner. If n...
SSH message fields allocated before their size is checked
Many of russh's client and server message handlers decoded length-prefixed strings, byte fields and name-lists from the peer into owned String, Vec or name-list values first and only checked their size and meaning afterwards. This includes the algorithm name-lists in SSHMSGKEXINIT, which a server...
Out-of-bounds write in `aes::unwrap_key`
openssl::aes::unwrapkey guarded the size of its output buffer with an inverted assertion, out.len + 8 = in.len. Instead of rejecting an out buffer too small for the unwrapped key, it rejected buffers larger than needed and accepted buffers that were too small. When out is shorter than in.len - 8...
Rendezvous server accepted unlimited registrations per peer
The rendezvous server's registration store did not limit how many namespaces a single peer could register, or how many registrations it held in total. Each registration stays until its TTL expires, up to 72 hours, and is not removed when the peer disconnects. An unauthenticated peer can send...
Remote panic from an oversized PRUNE backoff
When a peer sent a PRUNE control message, the backoff it asked for was turned into an expiry time with Instant::now + Duration::fromsecsbackoff. That addition panics on overflow, so a peer that sends a PRUNE with a very large backoff, such as u64::MAX, crashes the node. No authentication is neede...
Degenerate DSA keys are accepted on the Nettle and OpenSSL backends
DSA signature verification did not reject a public key with generator 1 and public value 1 before calling the cryptographic backend. The Nettle and OpenSSL backends, including the default Nettle build, accepted this key. Under that key, a signature can verify for every message. Ordinary DSA keys...
FROST coordinator accepts unvalidated DKG polynomial commitments
The FROST coordinator statemachine::coordinator::frost::Coordinator did not validate the DKG public shares it received. It stored each polynomial commitment at receipt without checking it, and computed the aggregate public key from its own copy without checking it either. A signer that is a membe...
`hugepage_rs::alloc` may cause undefined behavior with zero-sized layouts from safe code
hugepagers::alloc was a publicly accessible safe function that forwarded a Layout to the hugepage allocator's GlobalAlloc::alloc implementation without enforcing its safety requirements. GlobalAlloc::alloc requires the layout size to be non-zero. However, the safe wrapper allowed callers to pass ...
`astral-tl` is unmaintained
Astral deprecated astral-tl on October 5, 2026. All versions of the crate are unmaintained. For HTML parsing, Astral recommends astral-html as a replacement. astral-html: https://crates.io/crates/astral-html...
Pre-authentication allocation from the keyboard-interactive response count
A server that answers a keyboard-interactive authentication request with prompts Auth::Partial, as a TOTP or other second-factor login does then parses the client's SSHMSGUSERAUTHINFORESPONSE. russh read the number of responses from that message and reserved a vector of that many entries before...
Buffer overflow in `MdCtxRef::digest_final`
MdCtxRef::digestfinal passed the caller's output slice to OpenSSL's EVPDigestFinal without checking its length. EVPDigestFinal always writes the full digest EVPMDCTXsize bytes, so an output slice shorter than the digest is overrun. With a stack buffer this usually corrupts the stack. The overflow...
Buffer overflow in `Deriver::derive` and `PkeyCtxRef::derive` with OpenSSL 1.1.x
Deriver::derive and PkeyCtxRef::derive pass the length of the caller's buffer to EVPPKEYderive and rely on OpenSSL to write no more than that. With OpenSSL 1.1.x, the X25519, X448 and HKDF-extract implementations ignore the length they are given and always write the whole result, so a buffer...
Timing side channel in RSA decryption: time depends on the leading zero bytes of the decrypted value
After the RSA private-key operation, decryption converted the result to bytes by skipping its leading zero bytes and copying the rest into a buffer of the modulus size. The number of bytes copied, and the offset they were copied to, depended on how many leading zero bytes the decrypted value had...
Panic in RSASSA-PSS verification with automatic salt length on small public keys
RSASSA-PSS signature verification can panic when the salt length is detected from the signature and the public key is too small for the hash function. This affects verification through pss::VerifyingKey::newwithautosaltlen, and through RsaPublicKey::verify with a Pss whose saltlen is None...
Improper quoting of command arguments in hints enables command injection
sq emits hints, which can include a suggested command that the user can run. Some hints are derived from the input and thus can partially be influenced by an attacker. Because the quoting was not careful enough, it was possible to craft a user ID that would be used in the command and when the hin...