Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

gakonst/ethers-rs
master @ 6e2ff0e
4
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Auth Bypass: 1 prior fix. Scrutinize any change in this area.
ethers-core: most-fixed (1 issue). Treat as high-risk during review.
3 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Signature Malleability: Incomplete normalization of ECDSA signatures allows attackers to submit altered but still valid signatures, which can lead to replay attacks or bypass transaction tracking in downstream dApps. Developers must enforce low-S normalization during all signature recovery operations.
Path Traversal: When downloading source trees from Etherscan, absolute or relative paths inside the source metadata can traverse outside the target directory, allowing malicious payloads to overwrite arbitrary files. This requires robust path canonicalization and prefix-matching guards.
Code Execution: Executing unverified solc compiler binaries downloaded from external networks can lead to arbitrary code execution if a binary is tampered with. Cryptographic checksums must be strictly validated before invoking the binary process.