GHSA-j3ff-xp6c-6gcc

Suggest an improvement
Source
https://github.com/advisories/GHSA-j3ff-xp6c-6gcc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-j3ff-xp6c-6gcc/GHSA-j3ff-xp6c-6gcc.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-j3ff-xp6c-6gcc
Aliases
Published
2022-03-18T18:57:53Z
Modified
2023-11-08T04:08:35Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
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

Database specific
{
    "cwe_ids": [
        "CWE-347"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2022-03-18T18:57:53Z",
    "nvd_published_at": "2022-03-17T17:15:00Z",
    "severity": "HIGH"
}
References

Affected packages

npm / @chainsafe/libp2p-noise

Package

Name
@chainsafe/libp2p-noise
View open source insights on deps.dev
Purl
pkg:npm/%40chainsafe/libp2p-noise

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
4.1.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-j3ff-xp6c-6gcc/GHSA-j3ff-xp6c-6gcc.json"

npm / @chainsafe/libp2p-noise

Package

Name
@chainsafe/libp2p-noise
View open source insights on deps.dev
Purl
pkg:npm/%40chainsafe/libp2p-noise

Affected ranges

Type
SEMVER
Events
Introduced
5.0.0
Fixed
5.0.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-j3ff-xp6c-6gcc/GHSA-j3ff-xp6c-6gcc.json"