Vulnerability Details : CVE-2023-23631
github.com/ipfs/go-unixfsnode is an ADL IPLD prime node that wraps go-codec-dagpb's implementation of protobuf to enable pathing. In versions priot to 1.5.2 trying to read malformed HAMT sharded directories can cause panics and virtual memory leaks. If you are reading untrusted user input, an attacker can then trigger a panic. This is caused by bogus fanout parameter in the HAMT directory nodes. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Products affected by CVE-2023-23631
- cpe:2.3:a:protocol:go-unixfsnode:*:*:*:*:*:go:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-23631
0.38%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 57 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-23631
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST | |
5.9
|
MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
2.2
|
3.6
|
GitHub, Inc. |
CWE ids for CVE-2023-23631
-
The product does not properly control the allocation and maintenance of a limited resource.Assigned by: security-advisories@github.com (Primary)
References for CVE-2023-23631
-
https://github.com/ipfs/go-unixfsnode/commit/59050ea8bc458ae55246ae09243e6e165923e076
Merge pull request from GHSA-4gj3-6r43-3wfc · ipfs/go-unixfsnode@59050ea · GitHubPatch
-
https://github.com/ipfs/go-unixfsnode/commit/91b3d39d33ef0cd2aff2c95d50b2329350944b68
Add size check on the bitfield before allocation · ipfs/go-unixfsnode@91b3d39 · GitHubPatch
-
https://github.com/ipfs/go-unixfsnode/commit/a4ed723727e0bdc2277158337c2fc0d82802d122
update ipfs/go-unixfs and ipfs/go-bitfield · ipfs/go-unixfsnode@a4ed723 · GitHubPatch
-
https://github.com/ipfs/go-unixfsnode/security/advisories/GHSA-4gj3-6r43-3wfc
DOS HAMT Decoding Panics · Advisory · ipfs/go-unixfsnode · GitHubPatch;Vendor Advisory
Jump to