1577 matches found
Following symbolic links when updating certificates enables arbitrary file modification
When updating a certificate, we open and write to the certificate's file. If the file happened to be a symbolic link, then we open the target of the symbolic link and write to that. Most users will not be affected by this as certificate directories are not shared between users. This issue has bee...
Unescaped control characters in user IDs enable terminal output spoofing
We were not always careful to ensure that control characters in e.g. user IDs, were escaped. For instance, sq verify did not correctly sanitize the signer's user ID. An attacker could use this to embed ANSI cursor movement sequences in a user ID to overwrite a verification warning with fake "Full...
Tolerant ASCII armor parsing can select a different block than a strict parser
The ASCII armor parser has a new mode, ReaderMode::Strict, which only considers compliant ASCII-armor blocks. This should be used when it is essential that a message be understood in the same way by different implementations. For instance, an attacker could leverage the current tolerant mode to...
Argon2 string-to-key parameters are not limited by StandardPolicy
An attacker can trigger a denial of service using Argon2. This is fixed in sequoia-openpgp, but requires users to switch to use SKESK::decryptwithpolicyinstead of SKESK::decrypt...
Ed25519 identity and other low-order public keys are accepted for signature verification
These are now detected and rejected...
RSA public keys with exponent 1 are accepted on the Nettle and OpenSSL backends
These are now detected and rejected...
Following symbolic links when writing to a WKD enables arbitrary file truncation
When inserting a certificate into a WKD or creating the policy file, we open and write to the file. If the file happened to be a symbolic link, then we would open the target of the symbolic link and overwrite that. This has been fixed by not following a symbolic link. Most users will not be...
Following a symbolic-linked write lock file enables arbitrary file truncation
When getting the write lock, we open and truncate the write lock file. If the write lock file happened to be a symbolic link, then we open the target of the symbolic link and truncate that. Most users will not be affected by this as certificate directories are not shared between users. This issue...
User IDs and notation data are displayed without escaping control characters
Users of the library often display attacker-controlled user IDs and notation data. If these contain control characters, this can cause problems. For instance, if a user ID contains an embedded NUL character, libraries that use C strings may display a truncated version. If the data is displayed in...
Unbounded download buffering enables denial of service via malicious HKP or WKD server
A malicious HKP or WKD server could return a very large response that when buffered by sequoia-net triggers an out-of-memory error. By default, the client now aborts the download after fetching more than 8 MB of data. This limit can be customized...
No limit on the size of a decompressed SSH packet
With zlib or [email protected] compression negotiated, the packet length that russh checks applies to the compressed payload only. The decompressor kept growing its output buffer until the whole payload was inflated, with no limit of its own, so a packet that is small on the wire could expand to...
Buffer overflow with AES key wrap with padding in `cipher_update_inplace`
CipherCtxRef::cipherupdateinplace had the same sizing error that 0.10.79 fixed in cipherupdate GHSA-xv59-967r-8726; that fix missed this method. It required room for inlen + blocksize bytes, but with the AES key-wrap-with-padding ciphers OpenSSL writes up to 7 more bytes when inlen is not a...
Buffer overflow with AES key wrap with padding in `cipher_update`
CipherCtxRef::cipherupdate, CipherCtxRef::cipherupdatevec and symm::Crypter::update require or allocate input.len + blocksize bytes of output. With the AES key-wrap-with-padding ciphers EVPaes128wrappad, EVPaes192wrappad, EVPaes256wrappad, OpenSSL pads the input to a multiple of 8 bytes and adds ...
`X509Ref::ocsp_responders` can produce a `&str` that is not valid UTF-8
X509Ref::ocspresponders returns the OCSP responder URLs from a certificate's Authority Information Access extension as OpensslString values, which dereference to str without validating the bytes. OpenSSL does not require these IA5String values to be ASCII, so for a certificate with non-UTF-8 byte...
ASCII armor parsing buffers a line without a length limit
The ASCII-armor reader did not limit the length of a line, parsing an armored message with a very long line could exhaust memory in the process. Memory use follows the input size, with a small constant factor, and is not a classic amplification. A 4096 byte line length of ASCII-armor input is now...
Following symbolic links when reading certificates enables information disclosure
When reading a certificate, we open and read the certificate's file. If the file happened to be a symbolic link, then we open the target of the symbolic link and read that. Most users will not be affected by this as certificate directories are not shared between users. This issue has been fixed b...
Argon2 string-to-key parameters are not limited by StandardPolicy
An attacker can trigger a denial of service using Argon2. Protect against this by extending the Policy trait to check S2K objects. Change the StandardPolicy to reject unreasonable Argon parameter sets by default...
Unchecked callback lengths in PSK and cookie callbacks
The callbacks installed with SslContextBuilder::setpskclientcallback and its deprecated alias setpskcallback, setpskservercallback, setcookiegeneratecb and setstatelesscookiegeneratecb each fill a &mut u8 buffer and return how many bytes they wrote. The FFI trampolines handed that returned length...
Memory exhaustion from an unchecked SSH packet length
When reading a packet, russh took the 4-byte packet length sent by the peer and sized its receive buffer from it without any upper bound. The length is fully controlled by the other side of the connection and is read before authentication, so an unauthenticated client can claim packets of up to...
Ed25519 signing key pairs with an inconsistent embedded public key are accepted
An Ed25519 secret key in dryoc is 64 bytes: the 32-byte seed followed by the 32-byte public key. When signing, the public key used in the challenge hash k = HR || A || M is read from bytes 32..64 of the secret key, while the nonce r, and therefore R, is derived only from the seed and the message...
`Local` (`Rc`) backed strings and byte strings are `Send`, allowing data races
Affected versions of this crate implemented Send for HipByt and so for HipStr, HipOsStr and HipPath, and for the internal shared pointer, whenever the backend B is Send. The thread-local backend Local the Local type aliases keeps its reference count in a Cell, which is Send but not Sync: such a...
Extraction could write files outside the destination directory
Applications that extracted untrusted 7z archives with the built-in extraction functions could create or overwrite files outside the directory selected by the caller. Version 0.21.1 adds validation of archive entry paths during extraction...
`wavers` is unmaintained
The author archived the repository on January 10, 2026, with a notice that the crate has been replaced by the audiosamples set of crates. Version 1.5.1, released on December 29, 2024, is the last release. Possible alternatives - audiosamplesio, named by the author as the successor of wavers...
`HandshakeState` error rollback does not restore the `CipherState`, leading to unauthenticated DoS and potential encrypted public key leak
In snow there is a rollback mechanism during the handshake phase to handle recovery from bad inputs, but it didn't cover the cipher key state, leading to a Denial of Service attack with tampered but unauthenticated input. If the protocol had logic to re-attempt the encryption phase with known or...
`cap-async-std` has been discontinued
cap-async-std has been discontinued, as it is based on async-std which was previously discontinued...
Timing side channel in P-256 scalar validation leaks leading zero bytes of nonces and signing keys
As part of P-256 scalar validation, libcrux-ecdsa prior to version 0.0.10 checked whether a scalar is zero by looping over its bytes with a short-circuiting comparison. Since the loop stops at the first non-zero byte, its running time reveals how many leading bytes of the scalar are zero. Impact...
cargo-component is unmaintained
The maintainers of cargo-component no longer have the resources to support the project. In the August 26, 2025 discussion about archiving it, Calvin Prewitt confirmed the lack of resources, and multiple maintainers supported archiving the repository. Pat Hickey reaffirmed the plan to follow throu...