CVE-2021-37137
Reported by jfrog · Published October 19, 2021
netty is fixed in 4.0.0 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.jboss.netty:netty | Maven Central | 4.0.0 |
| io.netty:netty-codec | Maven Central | 4.1.68.Final, 4.1.68 |
| org.apache.tinkerpop:tinkerpop | Maven Central | 3.5.1 |
| druid | Wolfi | 39.0.0-r0, 34.0.0-r6 |
| druid | Chainguard | 34.0.0-r6 |
| netty | netty | 4.1.68 |
| Netty | The Netty project | 4.1.68Final |
| quarkus | quarkus | 2.2.4 |
| communications_diameter_signaling_router | oracle | 8.5.0.2 |
| banking_apis | oracle | 18.3 |
| communications_brm_-_elastic_charging_engine | oracle | 12.0.0.4.6 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| The Netty project | Netty | unspecified |
| Maven | org.jboss.netty:netty | 0 |
| The Netty project | Netty | * |
| Maven | io.netty:netty-codec | 0 |
| wolfi | druid | 0, 0 |
| chainguard | druid | 0 |
| Maven | org.apache.tinkerpop:tinkerpop | 3.5.0 |
Timeline
- Sep 9, 2021 CVE Published
- Oct 20, 2021 EPSS Score (30 in total, the first dated here)
- Mar 27, 2026 Distribution Patch (32 in total, the first dated here)
- Mar 27, 2026 Security Advisory (37 in total, the first dated here)
- Jul 27, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-37137
vulnetix vdb fixes CVE-2021-37137
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-37137/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [tinkerpop-dev] 20211025 [jira] [Created] (TINKERPOP-2632) Netty 4.1.61 flagged with two high severity security violations mailing-list
- [druid-commits] 20211025 [GitHub] [druid] jihoonson opened a new pull request #11844: Bump netty4 to 4.1.68; suppress CVE-2021-37136 and CVE-2021-37137 for netty3 mailing-list
- [druid-commits] 20211025 [GitHub] [druid] jihoonson commented on pull request #11844: Bump netty4 to 4.1.68; suppress CVE-2021-37136 and CVE-2021-37137 for netty3 mailing-list
- [druid-commits] 20211025 [GitHub] [druid] a2l007 commented on pull request #11844: Bump netty4 to 4.1.68; suppress CVE-2021-37136 and CVE-2021-37137 for netty3 mailing-list
- [druid-commits] 20211026 [GitHub] [druid] clintropolis merged pull request #11844: Bump netty4 to 4.1.68; suppress CVE-2021-37136 and CVE-2021-37137 for netty3 mailing-list
- [druid-commits] 20211026 [GitHub] [druid] jihoonson commented on pull request #11844: Bump netty4 to 4.1.68; suppress CVE-2021-37136 and CVE-2021-37137 for netty3 mailing-list
- [debian-lts-announce] 20230111 [SECURITY] [DLA 3268-1] netty security update mailing-list
- DSA-5316 vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2021-37137 advisory
- Multiples vulnérabilités dans les produits Splunk advisory
- https://github.com/netty/netty/commit/6da4956b31023ae967451e1d94ff51a746a9194f patch
- https://github.com/netty/netty/blob/4.1/codec/src/main/java/io/netty/handler/codec/compression/SnappyFrameDecoder.java#L171 url
- https://github.com/netty/netty/blob/4.1/codec/src/main/java/io/netty/handler/codec/compression/SnappyFrameDecoder.java#L185 url
- https://github.com/netty/netty/blob/4.1/codec/src/main/java/io/netty/handler/codec/compression/SnappyFrameDecoder.java#L79 url
- https://lists.apache.org/thread.html/rfb2bf8597e53364ccab212fbcbb2a4e9f0a9e1429b1dc08023c6868e@%3Cdev.tinkerpop.apache.org%3E url
…and 6 more