<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-02T04:39:11.515063+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-wh89-7897-x99h</id>
    <title>GHSA-wh89-7897-x99h — Netty: HAProxy V1 Protocol CRLF Injection via AF_UNIX Address</title>
    <updated>2026-10-02T04:39:11.517600+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Maven: io.netty:netty-codec-haproxy</p>
<p># Security Vulnerability Report: HAProxy V1 Protocol CRLF Injection via AF_UNIX Address in Netty</p>
<p>## 1. Vulnerability Summary</p>
<p>| Field | Value |
|-------|-------|
| **Product** | Netty |
| **Version** | 4.2.12.Final (and all prior versions with codec-haproxy) |
| **Component** | `io.netty.handler.codec.haproxy.HAProxyMessageEncoder` |
| **Vulnerability Type** | CWE-93: Improper Neutralization of CRLF Sequences |
| **Impact** | HAProxy PROXY Protocol Injection / Client IP Spoofing |
| **CVSS 3.1 Score** | **7.5 (High)** |
| **CVSS 3.1 Vector** | `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N` |</p>
<p>## 2. Affected Components</p>
<p>- `io.netty.handler.codec.haproxy.HAProxyMessageEncoder` — `encodeV1()` method (lines 63-77): writes `sourceAddress` and `destinationAddress` directly to output without CRLF validation
- `io.netty.handler.codec.haproxy.HAProxyMessage` — constructor `checkAddress()` validates IPv4/IPv6 format but **only checks length for AF_UNIX** (line 439)</p>
<p>## 3. Vulnerability Description</p>
<p>Netty's HAProxy protocol encoder writes AF_UNIX socket addresses directly into the HAProxy V1 text protocol format **without validating for CRLF characters**. The V1 protocol uses CRLF (`\r\n`) as the line terminator, so CRLF characters in an address split the single PROXY header line into multiple lines, effectively injecting a second PROXY protocol header.</p>
<p>### Root Cause — Encoder</p>
<p>```java
// HAProxyMessageEncoder.java:63-77
private static void encodeV1(HAProxyMessage msg, ByteBuf out)…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-wh89-7897-x99h"/>
  </entry>
</feed>
