Use of Cache Containing Sensitive Information Affecting io.netty:netty-codec-http package, versions [,4.1.137.Final)[4.2.0.Final,4.2.17.Final)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.25% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-IONETTY-18956131
  • published19 Aug 2026
  • disclosed17 Aug 2026
  • creditvioletagg

Introduced: 17 Aug 2026

NewCVE-2026-59903  (opens in a new tab)
CWE-524  (opens in a new tab)

How to fix?

Upgrade io.netty:netty-codec-http to version 4.1.137.Final, 4.2.17.Final or higher.

Overview

io.netty:netty-codec-http is a network application framework for rapid development of maintainable high performance protocol servers & clients.

Affected versions of this package are vulnerable to Use of Cache Containing Sensitive Information due to the setVaryHeader method in codec-http/src/main/java/io/netty/handler/codec/http/cors/CorsHandler.java. An attacker can retrieve another user’s cached sensitive response by sending a cross-origin request that causes CorsHandler to overwrite an application’s existing Vary header, such as Vary: Authorization or Vary: Cookie, with Vary: Origin. Because shared caches and CDNs key the response on the reduced Vary set, user-specific responses can be cached and served to unauthorized clients. This can expose authenticated content or other sensitive data to other application users.

CVSS Base Scores

version 4.0
version 3.1