Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1qM2ZmLXhwNmMtNmdjY800JQ

Failure to validate signature during handshake

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

Permalink: https://github.com/advisories/GHSA-j3ff-xp6c-6gcc
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1qM2ZmLXhwNmMtNmdjY800JQ
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 2 years ago
Updated: over 1 year ago


CVSS Score: 8.1
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Identifiers: GHSA-j3ff-xp6c-6gcc, CVE-2022-24759
References: Repository: https://github.com/ChainSafe/js-libp2p-noise
Blast Radius: 23.5

Affected Packages

npm:@chainsafe/libp2p-noise
Dependent packages: 120
Dependent repositories: 806
Downloads: 62,386 last month
Affected Version Ranges: >= 5.0.0, < 5.0.3, < 4.1.2
Fixed in: 5.0.3, 4.1.2
All affected versions: 4.0.0, 4.1.0, 4.1.1, 5.0.0, 5.0.1, 5.0.2
All unaffected versions: 4.1.2, 5.0.3, 6.0.0, 6.0.1, 6.1.0, 6.1.1, 6.2.0, 7.0.0, 7.0.1, 7.0.2, 7.0.3, 8.0.0, 8.0.1, 8.0.2, 9.0.0, 10.0.0, 10.0.1, 10.1.0, 10.2.0, 11.0.0, 11.0.1, 11.0.2, 11.0.4, 12.0.0, 12.0.1, 12.0.2, 13.0.0, 13.0.1, 13.0.2, 13.0.3, 13.0.4, 13.0.5, 14.0.0, 14.1.0, 15.0.0, 15.1.0, 15.1.1, 15.1.2, 16.0.0