⚠️

سلب مسئولیت و اخلاق حرفه‌ای

این مطالب صرفاً برای اهداف آموزشی، پژوهشی و افزایش آگاهی امنیتی ارائه شده‌اند. هرگونه استفاده غیرمجاز، غیرقانونی یا سوءاستفاده از اطلاعات، ابزارها و روش‌های مطرح‌شده، کاملاً بر عهده مخاطب است. نویسنده و منتشرکننده هیچ مسئولیتی در قبال خسارات، آسیب‌ها یا پیامدهای ناشی از استفاده نادرست از این مطالب نخواهند داشت.

CVE-2026-142454: HTTP Request Smuggling via Control-Character Normalization in Netty netty-codec-http | Alireza Bolbolabadi - Red Team Security
LOADING

CVE-2026-142454: HTTP Request Smuggling via Control-Character Normalization in Netty netty-codec-http

Overview

CVE-2026-142454 affects the netty-codec-http component of the Netty framework, one of the most widely embedded HTTP/1 stacks in the Java ecosystem. The flaw is not a memory-safety issue or an authentication bypass — it is a parser differential: two components that both believe they are speaking HTTP disagree about where one request ends and the next begins.

The vulnerable code path normalizes leading control characters in the HTTP request line before validation runs. A request line such as one prefixed with stray control bytes at or around the HTTP-version boundary is therefore trimmed into something that looks syntactically acceptable, and Netty processes it as ordinary traffic. An upstream security device that inspects the raw bytes may reject the same request, or may parse a different request boundary, producing the classic request smuggling setup.

The CVE was published on 2026-12-02. The weakness is classified as CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling'), and the associated attack patterns are CAPEC-33 (HTTP Request Smuggling) and CAPEC-273 (HTTP Response Smuggling). The described exploitation path concerns request smuggling; response smuggling is listed as a related pattern rather than a demonstrated outcome.

How the vulnerability works

The failure is an ordering problem in request-line processing:

  1. A remote attacker sends a crafted HTTP/1 request whose request line carries leading control characters, at or around the HTTP-version boundary.

  1. netty-codec-http removes or normalizes those characters before the validation step.

  1. The remaining request appears syntactically valid to Netty and is handled as normal traffic.

  1. An upstream proxy, gateway, WAF or request filter rejects the malformed request, parses it differently, or identifies a different request boundary.

  1. The disagreement between the two parsers yields the smuggling condition — the edge device believes it handled one request, while the backend sees one or more different requests.

The attack vector is remote and network-based. The most exposed deployments are those in which untrusted HTTP/1 traffic passes through multiple components with different parsing behaviour: a reverse proxy or API gateway in front of an application built on netty-codec-http. A Netty deployment with no differing parser in front of it may still accept malformed requests, but the smuggling impact described by the advisory depends on that differential.

Affected systems

Primary affected product

  • Vendor: Netty

  • Product: netty

  • Component: netty-codec-http

Downstream products flagged as affected in the supplied feed

The intelligence marks a range of Red Hat products as affected, which reflects how broadly Netty is embedded in the enterprise Java stack:

  • satellite

  • jboss_data_grid

  • jboss_enterprise_application_platform

  • fuse

  • data_grid

  • build_of_quarkus

  • amq_broker

  • openshift_serverless

  • openshift_dev_spaces

  • openshift_ai

  • build_of_apache_camel_for_spring_boot

  • build_of_keycloak

  • build_of_apicurio_registry

  • camel_spring_boot

  • openshift_devspaces

  • amq_clients

  • exploit_intelligence

  • streams_for_apache_kafka

The feed contains duplicated and inconsistently spelled entries — satellite appears twice, and both openshift_dev_spaces and openshift_devspaces are listed.

Version limitation: the supplied material provides no affected version ranges, release identifiers, or a fixed Netty version, and it explicitly notes that exact product versions are not represented in the affected-products table. It is therefore not possible to determine from this extract alone whether a specific Netty or downstream release is vulnerable. The standalone 5.3 appearing in the source is the CVSS base score, not a Netty product version. Version mapping must be taken from GHSA-h2h2-c23p-h5f6 and the Red Hat errata rather than inferred.

Scoring and exploitation status

CVSS 3.1 values from the supplied intelligence:

| Metric | Value |

|---|---|

| Base score | 5.3 (MEDIUM) |

| Exploitability subscore | 3.9 |

| Impact subscore | 1.4 |

The full vector string is not included in the source and should not be reconstructed from the base score alone.

The advisory classifies the issue as remotely exploitable, but exploitation requires both a crafted malformed HTTP request and — for the strongest smuggling outcome — an upstream component whose parsing behaviour differs from Netty's.

On public exploit status, the supplied intelligence does not establish exploitation in the wild. Its automated public-PoC section identifies no repository in the provided extract, but that is not proof that no proof of concept exists elsewhere. The defensible position is:

  • Remote exploitation is possible, per the advisory.

  • No specific public exploit is identified in the provided content.

  • No confirmed in-the-wild exploitation is reported in the provided content.

Practical risk concentrates on internet-facing HTTP services that use netty-codec-http behind a separately implemented proxy, gateway, WAF or request filter. Internal or direct-to-Netty deployments carry a smaller impact surface unless another differing parser is present in the path.

Detection and hunting

  • Preserve and inspect raw request bytes before any normalization. Logs containing only a cleaned request line may not reveal the attempt.

  • Alert on control characters in HTTP request lines, particularly around the HTTP-version boundary.

  • Use the malformed-input examples and prohibited-character rules from GHSA-h2h2-c23p-h5f6 to refine detection logic; the supplied extract contains no definitive byte allowlist.

  • Compare the number and identity of requests observed by the edge proxy against those observed by Netty for the same connection. A mismatch, an unexpected second backend request, or divergent request counts is a possible smuggling indicator.

  • Look for malformed attempts rejected by one layer yet still visible in downstream application or routing logs.

  • Investigate unexpected routing, filter-bypass symptoms, and requests sharing the same upstream connection or request identifier.

  • Where historical proxy or packet logs retain raw bytes, search them for the same control-character pattern. If only normalized application logs remain, historical confirmation may not be possible.

  • Review alerts for unexplained 4xx responses and discrepancies between security-filter decisions and application-observed requests.

Mitigation

1. Patch the affected component

  • Update netty-codec-http to a release designated as fixed by GHSA-h2h2-c23p-h5f6. The advisory confirms that updates should be applied but does not state the fixed version number, so the release mapping must be read from the GitHub advisory or the relevant downstream vendor advisory rather than assumed.

  • For Red Hat products, check https://access.redhat.com/security/cve/CVE-2026-142454 and https://bugzilla.redhat.com/show_bug.cgi?id=2588746 for product-specific fixed builds and package updates.

  • Inventory direct, transitive, shaded and repackaged copies of netty-codec-http; upgrading only the top-level application dependency can leave a vulnerable bundled copy in service.

  • Redeploy and restart all instances after updating so request handling uses the corrected parser.

2. Temporary workaround where patching is not immediately possible

The supplied sources identify no supported Netty configuration switch for this issue. A practical compensating control is strict validation in front of Netty:

  • Inspect the raw HTTP request line before any proxy or parser normalization.

  • Reject requests containing prohibited control characters with a 4xx response such as 400.

  • Reject rather than strip — stripping reproduces exactly the behaviour that creates the parser discrepancy.

  • Verify that the rejecting layer examines raw bytes; if it normalizes first, the differential survives.

  • Review proxy, gateway, WAF and security-filter configurations for inconsistent request-line handling.

  • Restrict direct access to the Netty service so only the trusted validating gateway can connect, reducing alternative bypass paths. This does not correct the parser defect itself.

3. Validation testing

  • Send regression requests containing leading control characters in the request line, including malformed HTTP-version boundaries.

  • Confirm every layer rejects the request consistently and that nothing reaches the application backend.

  • Test both the direct-to-Netty and the proxied path.

  • Confirm malformed requests produce a rejection rather than silent acceptance after trimming.

منابع

·
← اخبار