1577 matches found
Legacy Shrink, Reduce and Implode decoders preallocate the declared uncompressed size
With the legacy-zip feature, the decoders for the Shrink, Reduce and Implode compression methods reserved output capacity for the entry's declared uncompressed size before decoding anything. That size comes from the archive, and a ZIP64 entry can declare any 64-bit value, so reading or extracting...
Unbounded retries on truncated responses in the name server pool
When an upstream answer had the TC truncated bit set, the resolver's name server pool disabled UDP and sent the query again. It did this for every truncated answer, including answers that already came over TCP, and it kept no count of retries. A name server that sets TC on every answer, which...
`Resolver::lookup` and `lookup_ip` returned records that failed DNSSEC validation
With DNSSEC validation enabled, Resolver::lookup and Resolver::lookupip returned Ok with the records even when validation found the response bogus. The result was only visible in each record's proof status, which callers had to inspect themselves. Applications that enable validation and treat a...
Child-side NSEC or NSEC3 record accepted as proof that a delegation has no DS record (hickory-proto)
Up to 0.26.0-alpha.1, hickory-proto's DNSSEC validation accepted an NSEC or NSEC3 record from the child side of a zone cut, which has the SOA bit set, as proof that the parent has no DS record for the delegation RFC 4035 section 5.2, RFC 6840 section 4.4. Someone who can answer or modify DNS...
NSEC3 records from another zone were accepted in proofs of nonexistence
When DNSSEC validation used NSEC3 records to prove that a name or record type does not exist, it compared only the hashed first label of each NSEC3 owner name with the hash of the name being checked. The rest of the owner name, which says which zone the record belongs to, was not checked. Someone...
Recursor kept querying cyclic glueless sibling delegations (no fixed hickory-recursor release)
Two zones can each delegate to name servers named only inside the other zone, with no glue records RFC 9471 section 2.3. The recursor did not stop when it came back to a zone it was already resolving, so someone who controls two such zones can make it send many upstream queries for each client...
Paths or symlinks ending in a slash escape the sandbox
cap-primitives resolves a path inside a sandboxed directory one component at a time and opens the last component with ONOFOLLOW, so that a symlink there cannot lead out of the directory. When the path ended in /, the resolver added the slash back to the last component before opening it. With a...
`enter_l2_vcpu` passes the wrong RCX operand to `TDG.VP.ENTER`
tdxguest::tdcall::enterl2vcpu invokes the TDG.VP.ENTER TDCALL. RCX must carry the L2 VM index in bits 53:52 and the invalidation control value InvdTranslations, 0 to 3 in bits 1:0. The function computed that value as l2vmidx 52 | invdtranslations as u64, but then passed the raw l2vmidx in RCX...
Vulnerable to privilege escalation using ioctls TIOCSTI and TIOCLINUX
please is vulnerable to privilege escalation using ioctls TIOCSTI and TIOCLINUX on systems where they are not disabled. Here is how to see it in action: $ cd "$mktemp -d" $ git clone --depth 1 https://gitlab.com/edneville/please.git $ cd please/ $ git rev-parse HEAD...
Dilithium verification accepts non-conforming signatures with the `avx2` feature
With the default avx2 feature on x8664 and a CPU that supports AVX2, pqcrypto-dilithium verifies signatures with PQClean's AVX2 implementation of Dilithium. That implementation predates two upstream fixes pq-crystals/dilithium113, 3 June 2026, the same ones described in RUSTSEC-2026-0586 for...
ML-DSA verification accepts non-conforming signatures with the `avx2` feature
With the default avx2 feature on x8664 non-Windows and a CPU that supports AVX2, pqcrypto-mldsa verifies signatures with PQClean's AVX2 implementation of ML-DSA. That implementation predates two upstream fixes pq-crystals/dilithium113, 3 June 2026: - the verifier does not check that the infinity...
Panics during RSA private-key construction, validation, or re-encoding
RsaPrivateKey private-key construction, validation, and serialization can panic across three classes of inputs, as well as when re-encoding certain valid keys: - RsaPrivateKey::fromcomponents and PKCS1 or PKCS8 private-key decoding DER or PEM can panic during validation when a supplied factor...
Panic on a mailbox display name containing CR or LF allows denial of service
A Mailbox whose display name contains a CR or LF panics when it is formatted or put in a header such as From or To. Someone who can choose a display name, for example the name of a user a message is sent to, can crash the thread or task building the message. Applications that take display names...
Bare LF in chunked trailers can consume pipelined requests or stall body decoding
Affected versions of actix-http skip a bare line feed LF inside an HTTP/1.1 chunked trailer instead of rejecting the invalid line ending. Trailer lines must end with a carriage return and line feed CRLF. For example, after 0\r\nX\n, the parser continues reading trailer data. If a request follows ...
Signature::from_der reads a signature with bytes after it, a wrong sequence length or an unneeded zero as the signature
Signature::fromder read a DER-encoded ECDSA signature leniently. It read as the signature: the signature followed by other bytes; a sequence length shorter than its contents, or longer with bytes after them a length byte with its high bit set among them; and an R or S preceded by a zero byte it d...
BEEF validation answers valid for a raw entry that is not a transaction
Beef::mergerawtx and BeefTx::fromrawtx accept raw bytes without a Result. For bytes that are not exactly one transaction a transaction followed by bytes, a cut transaction, bytes that are no transaction at all, Beef::sorttxs, verifystructure, verifyvalid and isvalid could answer valid, even with ...
`shinchina-test` was removed from crates.io for malicious code
shinchina-test attempted to send telemetry from the build environment to an arbitrary URL. The malicious crate had 1 version published on 2025-03-02, approximately 20 months before removal, and had no evidence of actual usage. This crate had no dependencies on crates.io. Thanks to Bitbison for th...
`shinchina` was removed from crates.io for malicious code
shinchina 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...
Unbounded tool schema cache in Streamable HTTP server transport
From 3.0.0 until 3.6.0, StreamableHttpService cached the result of ServerHandler::gettool in a process-wide map keyed by the tool name of incoming tools/call requests. The map had no size limit and no eviction, and it also cached unknown tool names. An entry was added while the request headers we...
Long Retry token can panic or exhaust memory in a QUIC client
A client kept the token from a Retry packet without any length limit and put it into the header of every Initial packet it sent afterwards. Initial datagrams are 1200 bytes. When the token and connection IDs left no room for the minimum payload, PacketBuilder::new computed a minimum packet size...
chrono-tz is unmaintained
The chrono-tz crate is unmaintained; all versions are affected...
NXDOMAIN accepted for an empty non-terminal that the NSEC record proves exists
When an NSEC record's next domain name is below the queried name, the queried name exists as an empty non-terminal RFC 8020 section 3.1. The NSEC validator did not check for this case and accepted an NXDOMAIN response backed by such a record as secure. The response code is not covered by any...
DNSSEC validation accepted a validly signed but unrelated RRset as the answer
When a response had a non-empty answer section, DNSSEC validation treated it as a positive answer as long as the records in it validated. It did not check that any of those records had the queried name and either the queried type or type CNAME. An attacker who can answer or modify DNS responses c...
DNSSEC validation accepted an unrelated signed RRset as the answer (hickory-proto)
Up to 0.26.0-alpha.1, hickory-proto's DNSSEC validation treated a response with a non-empty answer section as a positive answer if its records validated, without checking that any of them matched the queried name and type. Someone who can answer or modify DNS responses could return a genuine sign...
DNSSEC validation cache could reuse an Insecure result for a different name
The DNSSEC validation cache used a 64-bit hash of the query as its key, and two keys with the same hash counted as equal. The Hash implementation of Name hashed the bytes of the labels but not where one label ends and the next begins, so names that differ only in the placement of dots such as ab....
Inverted NSEC3 comparison in DNSSEC validation (hickory-proto 0.25)
In hickory-proto 0.25.0 through 0.26.0-alpha.1, DNSSEC validation handled the last NSEC3 record of a zone's hash chain with its two comparisons reversed. That record was treated as covering almost every hash it does not cover, so an attacker who can answer or modify DNS responses could replay it,...
Child-side NSEC or NSEC3 record accepted as proof that a delegation has no DS record
To show that a delegation is insecure, a validator needs proof that the parent zone has no DS record for it. That proof must come from the parent side of the zone cut: RFC 4035 section 5.2, RFC 5155 section 8.9 and RFC 6840 section 4.4 require the matching NSEC or NSEC3 record not to have the SOA...
Recursor followed every glueless name server in a referral, with no per-query budget
When a referral listed name servers outside the delegated zone and gave no glue addresses, the recursor looked up A and AAAA records for every listed name server, recursing into each one. Only the chain-depth limits applied. There was no cap on how many name servers it chased per referral or on t...
Inverted bitmap validation in `invalidate_l2_cached_ept`
tdxguest::tdcall::invalidatel2cachedept takes a bitmap that selects the L2 VMs whose cached EPT translations should be invalidated. Bits 1 through 3 select L2 VMs 1 through 3, and all other bits are reserved. The input check was inverted: if l2vmidxbitmap & !0b1110 == 0 return...
Miscompilation of constant values in division on AArch64
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-7f6x-jwh5-m9r4. For more information see the GitHub-hosted security advisory...
jwt appears to be unmaintained
The jwt crate appears to be unmaintained. Alternatives: - jsonwebtoken - jwt-simple...
ML-KEM does not perform the FIPS 203 input checks
pqcrypto-mlkem wraps PQClean's ML-KEM implementation, which does not perform the input checks required by FIPS 203: - encapsulation does not perform the encapsulation key modulus check section 7.2, so encapsulation keys with coefficients that are not reduced modulo q are accepted; - decapsulation...
gRPC `IpKeyExtractor` keys on client-supplied forwarding headers
tonicmiddleware::IpKeyExtractor is documented as rate limiting gRPC requests by client IP address, but on a standard tonic server it keys on client-supplied x-forwarded-for and x-real-ip headers. In 0.5.0–0.9.1, the extractor reads those headers directly; in 0.10.0–0.11.0, it first checks for a...
Unbounded buffering of an SMTP reply allows a malicious server to exhaust memory
A malicious or compromised server can send a reply line that never ends, which the client buffers until memory runs out. A reply made of many short lines also keeps a CPU core busy: for a few seconds per reply since 0.11.22, for as long as the server wants before it. Applications that connect onl...
Panic on an `EHLO` reply line of only white space allows denial of service
A malicious or compromised server can reply to EHLO with a line holding nothing but white space, causing the client to panic. Applications that connect only to a trusted server over implicit TLS are not exposed; the risk applies to clients that may connect to untrusted servers, or that use STARTT...
Panic in `Caller::get_module_export` when a host function isn't called from WebAssembly
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-hj27-mpw9-ff4c For more information see the GitHub-hosted security advisory...
Stale GC heap base pointer in compiled code lets a Wasm guest abort the host process
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-43j2-gcp4-m22g. For more information see the GitHub-hosted security advisory...
libs-sys: heap buffer overflow
zlib versions 1.3.1.2 through 1.3.2 contain a heap buffer overflow vulnerability in the gzvacate function when processing non-blocking gzwrite operations with stale external buffer pointers. Attackers can trigger the overflow by calling gzprintf or gzvprintf after a write stall, causing an...
Transaction readers accept trailing bytes, so a parsed transaction can carry another transaction id
Transaction::frombinary and Transaction::fromhex read one transaction from the front of their input, did not check that the input ended there, and kept the whole input as the transaction's cached serialization: tobinary, tohex and id then answered for bytes that are not the transaction's...
`webhook_commands` was removed from crates.io for malicious code
webhookcommands attempted to send telemetry from the execution environment to an arbitrary URL. The malicious crate had 1 version published on 2026-02-13, approximately 9 months before removal, and had no evidence of actual usage. This crate had no dependencies on crates.io. Thanks to Bitbison fo...
Ineffective default DACL on Windows
On Windows, affected versions of this crate do not provide the intended security-enhancement. In particular, any process running under the same user as the hardened process can reset our DACL, and thus bypass the protection the DACL should have provided. Usage of the crate however does not active...
Unbounded backoff state from PRUNE messages for unknown topics
A PRUNE control message names topics and asks for a backoff on each. The handler recorded a backoff for every named topic, including topics the local node had never joined. A peer can send PRUNEs naming many new short topic IDs with a long backoff. Each pair is kept until the backoff expires, up ...
Inverted NSEC3 comparison lets one record "prove" that almost any name does not exist
When DNSSEC validation looks for the NSEC3 record that covers a hashed name, the last record in the zone's hash chain needs special handling, because its next hashed owner name sorts before its own hash. For that record the two comparisons were reversed: it was treated as covering every hash belo...
Unsigned NSEC or NSEC3 record used in a nonexistence proof (hickory-proto)
Up to 0.26.0-alpha.1, hickory-proto's DNSSEC validation kept an NSEC or NSEC3 record for a nonexistence proof if any authority record with the same owner name had validated, not only if that record itself had. Someone who can answer or modify DNS responses could pair a correctly signed record wit...
Memory amplification from record counts in the DNS message header
When a DNS message is decoded, the vectors for the question, answer, authority and additional sections were created with Vec::withcapacity set to the counts in the message header. Those counts come from the sender and are not checked against the size of the message, so a single small packet that...
Parent-side NSEC3 at a zone cut accepted as proof of nonexistence at and below the cut
At a delegation, the parent zone signs an NSEC3 record for the child's name whose type bitmap has NS but not SOA or has DNAME. RFC 6840 section 4.1 and RFC 5155 section 8.3 say such a record only proves that no DS record exists at that name. NSEC3 validation picked the closest encloser by matchin...
Recursor kept querying cyclic glueless sibling delegations
Two zones can each delegate to name servers named only inside the other zone, with no glue records the cyclic sibling case in RFC 9471 section 2.3. Such delegations can never be resolved, but the recursor did not stop when it came back to a zone it was already resolving. It kept sending queries...
NSEC3 owner names not checked against the zone in DNSSEC validation (hickory-proto)
Up to 0.26.0-alpha.1, hickory-proto's DNSSEC validation matched NSEC3 records to a name only by the hashed first label of the NSEC3 owner name, without checking that the rest of the owner name was the zone in question. A signed NSEC3 record from any zone the attacker controls could therefore be...
RRSIG signer name was not checked against the zone of the signed records
DNSSEC validation checked an RRset against the DNSKEYs of whatever zone was named in the RRSIG's Signer's Name field. RFC 4035 section 5.3.1 requires that name to be the zone that contains the RRset, but this was not checked. Anyone who controls a DNSSEC-signed zone, and can answer or modify DNS...
Incorrect escaping for `url("")` functions in CSS style attributes
In some cases, quotation marks in CSS url functions are not escaped. This allows CSS injection. This feature is not enabled by default, so an application is vulnerable if, and only if, the style attribute is allowed and filterstyleproperties is used. As an example, this snippet: html Would...