Io.netty/netty-codec-http: netty: corshandler omits vary: origin for the null-origin branch
Summary
| CVE | CVE-2026-142451 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-02 19:18:04 UTC |
| Updated | 2026-12-02 23:18:38 UTC |
| Description | A flaw was found in netty-codec-http. When handling HTTP requests with a null origin value, the component fails to include the Vary: Origin response header. An unauthenticated remote attacker can exploit this vulnerability by submitting requests with a null origin to cacheable web addresses, causing Cross-Origin Resource Sharing (CORS) header cache poisoning. This flaw may result in shared web caches serving incorrect security headers to subsequent visitors, causing legitimate requests to be blocked or potentially disclosing cached user data. |
Risk And Classification
Primary CVSS: v3.1 5.3 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Problem Types: CWE-346 | CWE-346 Origin Validation Error
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 5.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| 3.1 | CNA | CVSS | 5.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
CVSS v3.1 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Red Hat | Exploit Intelligence | Not specified | Not specified |
| CNA | Red Hat | OpenShift Serverless | Not specified | Not specified |
| CNA | Red Hat | OpenShift Serverless | Not specified | Not specified |
| CNA | Red Hat | OpenShift Serverless | Not specified | Not specified |
| CNA | Red Hat | OpenShift Serverless | Not specified | Not specified |
| CNA | Red Hat | OpenShift Serverless | Not specified | Not specified |
| CNA | Red Hat | OpenShift Serverless | Not specified | Not specified |
| CNA | Red Hat | OpenShift Serverless | Not specified | Not specified |
| CNA | Red Hat | OpenShift Serverless | Not specified | Not specified |
| CNA | Red Hat | OpenShift Serverless | Not specified | Not specified |
| CNA | Red Hat | OpenShift Serverless | Not specified | Not specified |
| CNA | Red Hat | Red Hat AMQ Broker 7 | Not specified | Not specified |
| CNA | Red Hat | Red Hat AMQ Clients | Not specified | Not specified |
| CNA | Red Hat | Red Hat Build Of Apache Camel 4 For Quarkus 3 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Build Of Apache Camel For Spring Boot 4 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Build Of Apicurio Registry 3 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Build Of Debezium 3 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak | Not specified | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak | Not specified | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak | Not specified | Not specified |
| CNA | Red Hat | Red Hat Build Of Quarkus | Not specified | Not specified |
| CNA | Red Hat | Red Hat Data Grid 8 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Data Grid 8 | Not specified | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8 | Not specified | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform Expansion Pack | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift AI RHOAI | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift AI RHOAI | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift AI RHOAI | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift AI RHOAI | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift AI RHOAI | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift Dev Spaces | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift Dev Spaces | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift Dev Spaces | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift Dev Spaces | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift Dev Spaces | Not specified | Not specified |
| CNA | Red Hat | Red Hat Satellite 6 | Not specified | Not specified |
| CNA | Red Hat | Streams For Apache Kafka 3 | Not specified | Not specified |
| CNA | Red Hat | Streams For Apache Kafka 3 | Not specified | Not specified |
| CNA | Red Hat | Streams For Apache Kafka 3 | Not specified | Not specified |
| CNA | Red Hat | Streams For Apache Kafka 3 | Not specified | Not specified |
| CNA | Red Hat | Streams For Apache Kafka 3 | Not specified | Not specified |
| CNA | Red Hat | Streams For Apache Kafka 3 | Not specified | Not specified |
| CNA | Red Hat | Streams For Apache Kafka 3 | Not specified | Not specified |
| CNA | Red Hat | Streams For Apache Kafka 3 | Not specified | Not specified |
| CNA | Red Hat | Streams For Apache Kafka 3 | Not specified | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| bugzilla.redhat.com/show_bug.cgi | [email protected] | bugzilla.redhat.com | |
| github.com/netty/netty/security/advisories/GHSA-x9f7-rg73-4rp6 | [email protected] | github.com | |
| access.redhat.com/security/cve/CVE-2026-142451 | [email protected] | access.redhat.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-12-02T16:49:51.000Z | Reported to Red Hat. |
| CNA | 2026-12-02T16:49:51.000Z | Made public. |
Workarounds
CNA: To mitigate this issue without updating software: 1. Disable the opt-in `allowNullOrigin` setting in the Netty `CorsConfig` configuration if null-origin requests are not explicitly required by your application. 2. Alternatively, configure upstream reverse proxies, web application firewalls, or intermediate cache servers to bypass caching for HTTP responses containing the `Access-Control-Allow-Origin: null` header or requests carrying `Origin: null`. Caveat: Disabling null-origin support will cause browsers to block CORS requests originating from sandboxed iframes or local file schemes (`file://`).