7.5high
SnappyFrameDecoder doesn't restrict chunk length any may buffer skippable chunks in an unnecessary way
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 5.95% (higher than 93% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- JFROG
- Also known as
- GHSA-9vjp-v76f-g363
Description
The Snappy frame decoder function doesn't restrict the chunk length which may lead to excessive memory usage. Beside this it also may buffer reserved skippable chunks until the whole chunk was received which may lead to excessive memory usage as well. This vulnerability can be triggered by supplying malicious input that decompresses to a very big size (via a network stream or a file) or by sending a huge skippable chunk.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| The Netty project Netty | from unspecified before 4.1.68Final | CVE List |
| io.netty:netty-codec (Maven) | from 4.0.0 before 4.1.68.Final | GitHub Advisory Database |
| org.jboss.netty:netty (Maven) | all versions | GitHub Advisory Database |
| io.netty:netty (Maven) | all versions | GitHub Advisory Database |
| netty netty | before 4.1.68 | NVD |
| oracle banking_apis | from 18.1 up to 18.3, 19.1, 19.2, 20.1, 21.1 | NVD |
| oracle banking_digital_experience | 18.1, 18.2, 18.3, 19.1, 19.2, 20.1, 21.1 | NVD |
| oracle commerce_guided_search | 11.3.2 | NVD |
| oracle communications_brm_-_elastic_charging_engine | before 12.0.0.4.6, 12.0.0.5.0 | NVD |
| oracle communications_cloud_native_core_binding_support_function | 1.10.0 | NVD |
| oracle communications_diameter_signaling_router | from 8.0.0.0 up to 8.5.0.2 | NVD |
| oracle peoplesoft_enterprise_peopletools | 8.57, 8.58, 8.59 | NVD |
| oracle webcenter_portal | 12.2.1.3.0, 12.2.1.4.0 | NVD |
| quarkus quarkus | before 2.2.4 | NVD |
| netapp oncommand_insight | Not specified | NVD |
| debian debian_linux | 10.0, 11.0 | NVD |
All scores
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
The Snappy frame decoder function doesn't restrict the chunk length which may lead to excessive memory usage. Beside this it also may buffer reserved skippable chunks until the whole chunk was received which may lead to excessive memory usage as well. This vulnerability can be triggered by supplying malicious input that decompresses to a very big size (via a network stream or a file) or by sending a huge skippable chunk.
GitHub Advisory Database
Impact
The Snappy frame decoder function doesn't restrict the chunk length which may lead to excessive memory usage. Beside this it also may buffer reserved skippable chunks until the whole chunk was received which may lead to excessive memory usage as well.
This vulnerability can be triggered by supplying malicious input that decompresses to a very big size (via a network stream or a file) or by sending a huge skippable chunk.
Impact
All users of SnappyFrameDecoder are affected and so the application may be in risk for a DoS attach due excessive memory usage.
References
https://github.com/netty/netty/blob/netty-4.1.67.Final/codec/src/main/java/io/netty/handler/codec/compression/SnappyFrameDecoder.java#L79 https://github.com/netty/netty/blob/netty-4.1.67.Final/codec/src/main/java/io/netty/handler/codec/compression/SnappyFrameDecoder.java#L171 https://github.com/netty/netty/blob/netty-4.1.67.Final/codec/src/main/java/io/netty/handler/codec/compression/SnappyFrameDecoder.java#L185
NVD (es)
La función Snappy frame decoder no restringe la longitud de los trozos, lo que puede conllevar a un uso excesivo de memoria. Además, también puede almacenar en el búfer trozos omitibles reservados hasta que se reciba el trozo completo, lo que también puede conllevar a un uso excesivo de memoria. Esta vulnerabilidad puede desencadenarse al suministrar una entrada maliciosa que se descomprime a un tamaño muy grande (por medio de un flujo de red o un archivo) o mediante el envío de un trozo omitido enorme
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-37137 changed 2026-10-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-9vjp-v76f-g363 changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-37137 changed 2026-10-08 | Public domain |