A vulnerability in hickory-net's DNSSEC validation allows an attacker who can modify DNS responses to replay a signed NSEC3 record to falsely prove that existing DNS names do not exist. This is due to an inverted comparison in handling the last NSEC3 record in the zone's hash chain. The issue affects versions before 0.26.2 and has been fixed in version 0.26.2.
A vulnerability in hickory-proto's DNSSEC validation prior to version 0.26.0-beta.1 allows an attacker controlling a DNS zone to use a signed NSEC3 record to incorrectly prove that a name does not exist in another zone. This occurs because the validation only matched the hashed first label of the NSEC3 owner name without verifying the rest of the owner name against the zone. The issue was fixed in hickory-net 0.26.2, which is used from hickory-proto 0.26.0-beta.1 onward.
A vulnerability in hickory-proto DNS message decoding allows an attacker to cause excessive memory allocation by sending a DNS message with inflated record counts in the header. This can lead to denial of service due to memory exhaustion. The issue is fixed in version 0.26.2 by capping initial vector capacity.
A vulnerability in the Hickory proto zone file lexer causes a panic when processing a token of 4096 or more characters. This occurs because the lexer used a loop capped at 4096 iterations with an assertion to enforce this limit. If a token reaches this length, the assertion triggers a panic, causing a denial of service when parsing zone files from untrusted sources. The issue is fixed in version 0.26.2 by removing the iteration bound so the lexer ends correctly on token completion or error.
A vulnerability in the Hickory proto library causes a panic when parsing SVCB or HTTPS DNS record parameters if a parameter value is a single double quote character. This panic occurs due to improper handling of quoted strings in zone file text parsing, leading to a denial of service condition. The issue affects versions from 0.20.1 up to but not including 0.26.2 and is fixed in version 0.26.2.
A vulnerability in hickory-proto versions 0.26.0 up to but not including 0.26.2 causes an integer underflow when decoding malformed TSIG DNS records. This underflow can lead to a panic and crash in builds with overflow checks enabled. The issue is fixed in version 0.26.2.
A vulnerability in the Hickory proto library causes a panic when parsing malformed 'alpn' values in SVCB or HTTPS DNS record text forms. This occurs because the parser assumes the 'alpn' value is always well-formed and calls 'expect' on the result, leading to a panic on malformed inputs such as unbalanced quotes or invalid escapes. This can cause denial of service when parsing zone files or record text from untrusted sources. The issue does not affect records decoded from DNS wire format. A fix is available in version 0.26.2 that returns a parse error instead of panicking.
A vulnerability in azure_security_keyvault_keys versions 0.10.0 through 1.0.0 allows rejected authentication challenges to poison the Key Vault scope cache. This can lead to bearer token and request body disclosure to an attacker-controlled endpoint if the same client is reused after a rejected challenge. The issue is fixed in version 1.0.1 and later.
A vulnerability in azure_security_keyvault_secrets versions 0.10.0 through 1.0.0 allows rejected authentication challenges to poison the Key Vault scope cache. This can cause subsequent requests to reuse a cached scope without proper verification, potentially disclosing bearer tokens and request bodies to attacker-controlled endpoints. The issue is fixed in version 1.0.1 and later.
A vulnerability in azure_security_keyvault_certificates versions 0.9.0 through 1.0.0 and 1.1.0-beta.1 allows caching of an authentication scope from a rejected challenge, leading to potential bearer token and request body disclosure to attacker-controlled endpoints on subsequent requests using the same client.
A vulnerability in cap-primitives allows paths or symlinks ending with a slash to bypass sandbox restrictions. The resolver incorrectly re-adds a trailing slash before opening the last path component, causing the operating system to follow symlinks outside the sandbox. This affects operations like open, directory creation, removal, and renames outside the sandbox. The issue impacts cap-primitives versions before 3.4.6 and versions 4.0.0 up to but not including 4.0.3. A fix is available in versions 3.4.6 and 4.0.3.
A vulnerability in the block_buffer Rust crate versions >=0.11.0 and <0.12.1 allows the internal cursor position of EagerBuffer or ReadBuffer to become corrupted if a panic occurs during certain buffer operations. This corruption can lead to out-of-bounds reads or writes. Exploitation requires triggering a panic and catching it to continue execution, which is uncommon. The issue is fixed in version 0.12.1.
SurrealDB versions prior to 3.1.4 contain a vulnerability where array element-level SELECT permissions (field.*) are not correctly enforced for record users. This causes denied array elements to be partially leaked in query results. The issue affects only element-level permissions for record users, not field-level permissions or root/record-owner sessions. The vulnerability impacts confidentiality but does not allow data modification or privilege escalation. A fix is available in SurrealDB 3.1.4.
A vulnerability in the Nimiq blockchain Rust implementation (up to version 1.5.0) causes a validity store off-by-one error that allows replaying signed transactions within a specific block window, resulting in double updates to sender and recipient balances. This flaw is fixed in version 1.5.1.
A vulnerability in the tdx-guest component causes the function enter_l2_vcpu to pass an incorrect RCX operand to the TDG.VP.ENTER TDCALL. This results in the TDX module receiving a VM index of 0 and misinterpreting invalidation control bits, potentially leading to escalation of privilege. The issue has a CVSS 4.0 base score of 4.6 (medium severity). It was fixed in version 0.3.1 by correcting the RCX value calculation.
CVE-2026-20765 is a medium severity vulnerability in the tdx-guest component where the function invalidate_l2_cached_ept incorrectly validates a bitmap input. This causes valid bitmaps selecting L2 VMs for cached EPT invalidation to be rejected, while bitmaps with reserved bits set are incorrectly accepted. The flaw is an incorrect comparison logic leading to potential escalation of privilege. It was fixed in version 0.3.1.
Russh is a Rust SSH client & server library. Prior to 0.62.5, russh dispatches channel-scoped Handler callbacks for recipient channel IDs that were never opened or confirmed in russh/src/server/encrypted.rs, server_read_authenticated, and the exec_request callback. Version 0.62.5 fixes the issue.
### Summary
`NonFinalizedState::handle_reorg` is a recursive, unbounded async function that traverses parent blocks until it finds a common ancestor on the main chain. It has **no recursion depth limit** and **no cycle detection**. A malicious or buggy validator can serve a block whose `previous_block_hash` points back to itself (or forms a cycle with other blocks), causing `handle_reorg` to infinite-loop, consuming 100% CPU and never making sync progress. Additionally, `update()` contains an `.expect("empty snapshot impossible")` that panics if the non-finalized snapshot becomes empty after trimming finalized blocks.
### Details
**Location:** `packages/zaino-state/src/chain_index/non_finalised_state.rs:443-489`
```rust
async fn handle_reorg(
&self,
working_snapshot: &mut NonfinalizedBlockCacheSnapshot,
block: &impl Block,
) -> Result<IndexedBlock, SyncError> {
let prev_block = match working_snapshot
.get_block_by_hash_bytes_in_serialized_order(block.prev_hash_bytes_serialized_order())
.cloned()
{
Some(prev_block) => {
if !working_snapshot
.heights_to_hashes
.values()
.any(|hash| hash == prev_block.hash())
{
Box::pin(self.handle_reorg(working_snapshot, &prev_block)).await? // <-- LINE 459
} else {
prev_block
}
}
None => {
let prev_block = self
.source
.get_block(HashOrHeight::Hash(
zebra_chain::block::Hash::from_bytes_in_serialized_order(
block.prev_hash_bytes_serialized_order(),
),
))
.await
.map_err(|e| { ... })?
.ok_or(SyncError::ValidatorConnectionError(...))?;
Box::pin(self.handle_reorg(working_snapshot, &*prev_block)).await? // <-- LINE 483
}
};
let indexed_block = block.to_indexed_block(&prev_block, self).await?;
working_snapshot.add_block_new_chaintip(indexed_block.clone());
Ok(indexed_block)
}
```
**Infinite loop via self-referencing block:**
1. A compromised validator serves a block `B` where `B.prev_hash == B.hash`.
2. `handle_reorg` is called with `B`.
3. `get_block_by_hash_bytes_in_serialized_order(B.prev_hash)` finds `B` itself in `working_snapshot.blocks`.
4. Check: is `B.hash` in `working_snapshot.heights_to_hashes`? If `B` is a new chaintip not yet on the main chain, **no**.
5. Recurse with `prev_block` = `B` (the exact same block).
6. This repeats forever. The async recursion builds a new `Box::pin` future each iteration, consuming heap memory and CPU.
**Stack exhaustion via deep reorg:**
A deep reorg of >1000 blocks would recurse >1000 times. Each async recursion creates a new `Box::pin` future on the heap. While this won't exhaust the native stack immediately, it will allocate unbounded heap memory and CPU time, effectively DoS-ing the sync task.
**`.expect("empty snapshot impossible")` panic:**
**Location:** `packages/zaino-state/src/chain_index/non_finalised_state.rs:543-548`
```rust
new_snapshot.remove_finalized_blocks(finalized_height);
let best_block = &new_snapshot
.blocks
.values()
.max_by_key(|block| block.chainwork())
.cloned()
.expect("empty snapshot impossible"); // <-- LINE 548
```
If `finalized_height` is greater than or equal to all blocks in `new_snapshot.blocks`, `remove_finalized_blocks` retains only blocks at or above that height. If none exist, `new_snapshot.blocks` becomes empty. The `.expect()` then panics. While the comment claims this is "impossible," defensive programming dictates it is reachable under corruption or edge-case sync conditions.
### PoC
1. Run a regtest.
2. Serve a block where `header.previous_block_hash == block.hash()`.
3. Zaino's `NonFinalizedState::sync` enters `handle_reorg` and infinite-loops.
4. Sync never completes. CPU usage pegs to 100%. No new blocks are served to clients.
### Fix
1. **Add an explicit recursion depth limit** (e.g., max 1000 iterations) and return `SyncError::ReorgFailure` if exceeded:
```rust
const MAX_REORG_DEPTH: usize = 1000;
```
2. **Track visited hashes** in a `HashSet<BlockHash>` during traversal to detect cycles and abort with an error.
3. **Replace `.expect("empty snapshot impossible")`** with a proper `Err(UpdateError::DatabaseHole)` or similar error return.
### Additional Attack Vectors
- **Deep reorg DoS:** A miner with significant hash power (or a compromised validator) triggers a deep reorg. Zaino spends excessive CPU and memory in `handle_reorg`, starving the async runtime and stalling response serving.
- **Fork-choice manipulation:** By serving cyclic or very deep sidechains, an attacker can keep Zaino stuck in reorg handling indefinitely, preventing it from ever serving the real best chain.
The 'skilo add' command in versions 0.5.0 through 0.11.0 improperly handles symbolic links when installing skills by recursively copying skill directories. It follows symbolic links during file copying, resulting in arbitrary local file disclosure if a malicious skill source includes symlinks pointing to sensitive files. This vulnerability allows an attacker to expose files readable by the user running the command, such as SSH keys or cloud credentials. The issue is fixed in version 0.11.1 by rejecting symbolic links during the copy process.