CVE-2021-37137
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.
What to do
Fixed builds are available from Debian, Maven, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Maven, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | netty | Fixed | 1:4.1.48-4+deb11u1build0.22.04.1 | UBUNTU-CVE-2021-37137 |
| Ubuntu 20.04 | netty | Fix pending | 1:4.1.45-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2021-37137 |
| Ubuntu 18.04 | netty | Fix pending | 1:4.1.7-4ubuntu0.1+esm2 (Ubuntu Pro) | UBUNTU-CVE-2021-37137 |
| Ubuntu 16.04 | netty | Fix pending | 1:4.0.34-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2021-37137 |
| Debian 14 | netty | Fixed | 1:4.1.48-6 | DEBIAN-CVE-2021-37137 |
| Debian 13 | netty | Fixed | 1:4.1.48-6 | DEBIAN-CVE-2021-37137 |
| Debian 12 | netty | Fixed | 1:4.1.48-6 | DEBIAN-CVE-2021-37137 |
| Rocky Linux 8 | libdb | Fixed | 0:5.3.28-42.el8_4 | RLSA-2022:8506 |
| Maven library | io.netty:netty | Fix pending | GHSA-9vjp-v76f-g363 | |
| Maven library | io.netty:netty-codec | Fixed | 4.1.68.Final | GHSA-9vjp-v76f-g363 |
| Maven library | org.jboss.netty:netty | Fix pending | GHSA-9vjp-v76f-g363 |
What the vendor says
As published in the CVE record by JFROG, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- The Netty project Netty: affected: unspecified to before 4.1.68Final; fixed in
4.1.68Final
Vendor advisories:
- https://www.debian.org/security/2023/dsa-5316 (vendor-advisory)
References
- https://github.com/netty/netty/security/advisories/GHSA-9vjp-v76f-g363
- https://lists.apache.org/thread.html/rfb2bf8597e53364ccab212fbcbb2a4e9f0a9e1429b1dc08023c6868e%40%3Cdev.tinkerpop.apache.org%3E
- https://lists.apache.org/thread.html/r75490c61c2cb7b6ae2c81238fd52ae13636c60435abcd732d41531a0%40%3Ccommits.druid.apache.org%3E
- https://lists.apache.org/thread.html/r5406eaf3b07577d233b9f07cfc8f26e28369e6bab5edfcab41f28abb%40%3Ccommits.druid.apache.org%3E
- https://lists.apache.org/thread.html/r5e05eba32476c580412f9fbdfc9b8782d5b40558018ac4ac07192a04%40%3Ccommits.druid.apache.org%3E
- https://lists.apache.org/thread.html/r06a145c9bd41a7344da242cef07977b24abe3349161ede948e30913d%40%3Ccommits.druid.apache.org%3E
- https://lists.apache.org/thread.html/rd262f59b1586a108e320e5c966feeafbb1b8cdc96965debc7cc10b16%40%3Ccommits.druid.apache.org%3E
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://security.netapp.com/advisory/ntap-20220210-0012/
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://lists.debian.org/debian-lts-announce/2023/01/msg00008.html
- https://www.debian.org/security/2023/dsa-5316
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.