Vulnerability GHSA-3gjh-29fv-8hr6

High Risk
HIGH RISK
CVSS Score: 8.0
Score Range: 7.0–8.9
High severity vulnerabilities (CVSS 7.0–8.9). Serious vulnerabilities that should be prioritized soon after critical fixes.
2 years ago
February 03, 2024 at 12:18 AM UTC
Nervos CKB Snappy decompress length can be very large and causes out of memory error
0.1.0
0.1.0

Summary

Nervos CKB Snappy decompress length can be very large and causes out of memory error

Details

Impact

Adversary can create message which compressed size is less than the package limit but the decompressed length is very large such as 1G. It will cost the node many memories to process the network messages, and on the system with less than 1G memory, the process is killed directly because of out of memory error.

Patches

The node must check the decompress length before allocating the memory for the message.

References

Impacted packages

Timeline

Published
2 years ago
February 03, 2024 at 12:18 AM UTC
Last Modified
2 years ago
February 03, 2024 at 12:18 AM UTC