This is a security update for the legacy Ethers v5 branch, addressing two security fixes.
- A bug in
elliptic
, which does not affect ethers but triggers a critical security warning duringnom audit
[see: missing signature length check, missing check for leading bit, allow BER-encoded signatures, false negative verification, signing malformed input] - A bug in
ws
which can be used as DoS vector when communicating with malicious WebSocket service providers, triggering a high security warning duringnom audit
[see: too many HTTP headers]
For those that wish to audit the specific changes in the the bundled version between v5.7 and v5.8, see this gist.
Changes
- Updated to latest elliptic library to fix audit warnings. (f8deaae)
- Added ENS to Sepolia. (0065547)
- Bump ws package version to address DoS security concern. (#4791; f345816)
- Added modern networks, updated third-party backend URLs and added QuickNode. (#3935, #4010; f7c813d)
Embedding UMD with SRI:
<script type="text/javascript"
integrity="sha384-KpyAXoFibPIUEi79EsnN1EtEWCCrOQ8MtGsa4IrVxeZo514PYarFXujnjyu0DzgC"
crossorigin="anonymous"
src="https://cdnjs.cloudflare.com/ajax/libs/ethers/5.8.0/ethers.umd.min.js">
</script>