CVE-2022-24823Local Information Disclosure Vulnerability in io.netty:netty-codec-http
Netty is an open-source, asynchronous event-driven network application framework. The package `io.netty:netty-codec-http` prior to version 4.1.77.Final contains an insufficient fix for CVE-2021-21290. When Netty's multipart decoders are used local information disclosure can occur via the local system temporary directory if temporary storing uploads on the disk is enabled. This only impacts applications running on Java version 6 and lower. Additionally, this vulnerability impacts code running on Unix-like systems, and very old versions of Mac OSX and Windows as they all share the system temporary directory between all users. Version 4.1.77.Final contains a patch for this vulnerability. As a workaround, specify one's own `java.io.tmpdir` when starting the JVM or use DefaultHttpDataFactory.setBaseDir(...) to set the directory to something that is only readable by the current user.
What to do
Fixed builds are available from Maven: 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 26.10 | netty | Fix pending | UBUNTU-CVE-2022-24823 | |
| Ubuntu 26.04 | netty | Fix pending | UBUNTU-CVE-2022-24823 | |
| Ubuntu 25.10 | netty | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-24823 | |
| Ubuntu 24.04 | netty | Fix pending | 1:4.1.48-9ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2022-24823 |
| Ubuntu 22.04 | netty | Fix pending | 1:4.1.48-4+deb11u2ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2022-24823 |
| Ubuntu 20.04 | netty | Fix pending | 1:4.1.45-1ubuntu0.1~esm2 (Ubuntu Pro) | UBUNTU-CVE-2022-24823 |
| Ubuntu 18.04 | netty | Fix pending | 1:4.1.7-4ubuntu0.1+esm3 (Ubuntu Pro) | UBUNTU-CVE-2022-24823 |
| Ubuntu 16.04 | netty | Fix pending | 1:4.0.34-1ubuntu0.1~esm2 (Ubuntu Pro) | UBUNTU-CVE-2022-24823 |
| Ubuntu 14.04 | netty | Fix pending | UBUNTU-CVE-2022-24823 | |
| Debian 14 | netty | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2022-24823 | |
| Debian 13 | netty | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2022-24823 | |
| Debian 12 | netty | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2022-24823 | |
| Maven library | io.netty:netty | Fix pending | GHSA-5mcr-gq6c-3hq2 | |
| Maven library | io.netty:netty-codec-http | Fixed | 4.1.59.Final | GHSA-269q-hmxg-m83q |
| Maven library | org.jboss.netty:netty | Fix pending | GHSA-5mcr-gq6c-3hq2 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- netty: affected: <= 4.1.76.Final
References
- https://github.com/netty/netty/security/advisories/GHSA-269q-hmxg-m83q
- https://github.com/netty/netty/security/advisories/GHSA-5mcr-gq6c-3hq2
- https://github.com/netty/netty/commit/185f8b2756a36aaa4f973f1a2a025e7d981823f1
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://security.netapp.com/advisory/ntap-20220616-0004/
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.