Advisory

GHSA-j3ff-xp6c-6gcc

Also known as: CVE-2022-24759

Summary

Failure to validate signature during handshake

Details

Impact
@chainsafe/libp2p-noise before 4.1.2 and 5.0.3 was not correctly validating signatures during the handshake process.
This may allow a man-in-the-middle to pose as other peers and get those peers banned.

Patches
Users should upgrade to 4.1.2 or 5.0.3

Workarounds
No workarounds, just patch upgrade

References
https://github.com/ChainSafe/js-libp2p-noise/pull/130

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-03-18 18:57 UTC
Modified
2023-11-08 04:08 UTC

Affected packages and fixes

@chainsafe/libp2p-noise

npm · All systems

Affected

  • introduced 0, fixed 4.1.2 (semver)

Fixed versions

4.1.2

Fix

@chainsafe/libp2p-noise

npm · All systems

Affected

  • introduced 5.0.0, fixed 5.0.3 (semver)

Fixed versions

5.0.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences