CVE-2022-31684: Reactor netty http Invalid HTTP Requests Vulnerability
MODERATECVE-2022-31684 is a MODERATE (CVSS 4.3) invalid http requests vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Reactor netty http libraries in the Maven ecosystem. The issue involves invalid http requests in reactor netty http server may reveal access tokens. Remediation is available by upgrading affected packages to version 1.0.24.
CVE-2022-31684 at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2022-31684
To remediate this vulnerability, upgrade all affected Reactor netty http dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>io.projectreactor.netty</groupId>
<artifactId>reactor-netty-http</artifactId>
<version>1.0.24</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=io.projectreactor.netty
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2022-31684, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=io.projectreactor.netty
Analyze the terminal output to locate any version of Reactor netty http in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.24), your application is affected.
Note: The mvn dependency:tree -Dincludes=io.projectreactor.netty command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. In Reactor netty http, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2022-31684 Affected Reactor netty http Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
io.projectreactor.netty:reactor-netty-http
|
Maven |
≥ 1.0.11
< 1.0.24
|
1.0.24
|
References
Frequently Asked Questions
What is CVE-2022-31684?
Which Reactor netty http versions are affected?
What version fixes CVE-2022-31684?
Is reactor-netty-http affected?
What is the CVSS score of CVE-2022-31684?
What CWE is associated with CVE-2022-31684?
How can I check Maven dependencies for CVE-2022-31684?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7w4x-4h67-pgmv",
"modified" : "2025-05-09T16:32:54Z",
"published" : "2022-10-20T12:00:17Z",
"aliases" : [ "CVE-2022-31684" ],
"summary" : "Invalid HTTP requests in Reactor Netty HTTP Server may reveal access tokens",
"details" : "Reactor Netty HTTP Server, in versions 1.0.11 - 1.0.23, may request log headers in some cases of invalid HTTP requests. The logged headers may reveal valid access tokens to those with access to server logs. This may affect only invalid HTTP requests where logging at WARN level is enabled.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "io.projectreactor.netty:reactor-netty-http"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.11"
}, {
"fixed" : "1.0.24"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-31684"
}, {
"type" : "PACKAGE",
"url" : "https://search.maven.org/artifact/io.projectreactor.netty/reactor-netty-http"
}, {
"type" : "WEB",
"url" : "https://tanzu.vmware.com/security/cve-2022-31684"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200", "CWE-532" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-10-20T18:40:50Z",
"nvd_published_at" : "2022-10-19T22:15:00Z"
}
}