Find, fix and prevent vulnerabilities in your code.
high severity
- Vulnerable module: org.eclipse.jetty:jetty-http
- Introduced through: org.eclipse.jetty:jetty-server@9.4.51.v20230217 and org.eclipse.jetty:jetty-servlet@9.4.51.v20230217
Detailed paths
-
Introduced through: mxro/web-api-example-v2@mxro/web-api-example-v2#b0301271e3ae7cde0cb9ba6fbd489fdafc9c449e › org.eclipse.jetty:jetty-server@9.4.51.v20230217 › org.eclipse.jetty:jetty-http@9.4.51.v20230217Remediation: Upgrade to org.eclipse.jetty:jetty-server@9.4.53.v20231009.
-
Introduced through: mxro/web-api-example-v2@mxro/web-api-example-v2#b0301271e3ae7cde0cb9ba6fbd489fdafc9c449e › org.eclipse.jetty:jetty-servlet@9.4.51.v20230217 › org.eclipse.jetty:jetty-security@9.4.51.v20230217 › org.eclipse.jetty:jetty-server@9.4.51.v20230217 › org.eclipse.jetty:jetty-http@9.4.51.v20230217Remediation: Upgrade to org.eclipse.jetty:jetty-servlet@9.4.53.v20231009.
Overview
org.eclipse.jetty:jetty-http is an is a http module for jetty server.
Affected versions of this package are vulnerable to Denial of Service (DoS) in the MetaDataBuilder.checkSize
function. An attacker provide a very large or negative length value for the HTTP/2 HPACK header values. This can lead to an integer overflow, resulting in a very large buffer allocation on the server.
Details
Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.
Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.
One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.
When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.
Two common types of DoS vulnerabilities:
High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.
Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm
ws
package
Remediation
Upgrade org.eclipse.jetty:jetty-http
to version 9.4.53.v20231009, 10.0.16, 11.0.16 or higher.
References
medium severity
- Vulnerable module: org.eclipse.jetty:jetty-http
- Introduced through: org.eclipse.jetty:jetty-server@9.4.51.v20230217 and org.eclipse.jetty:jetty-servlet@9.4.51.v20230217
Detailed paths
-
Introduced through: mxro/web-api-example-v2@mxro/web-api-example-v2#b0301271e3ae7cde0cb9ba6fbd489fdafc9c449e › org.eclipse.jetty:jetty-server@9.4.51.v20230217 › org.eclipse.jetty:jetty-http@9.4.51.v20230217Remediation: Upgrade to org.eclipse.jetty:jetty-server@9.4.52.v20230823.
-
Introduced through: mxro/web-api-example-v2@mxro/web-api-example-v2#b0301271e3ae7cde0cb9ba6fbd489fdafc9c449e › org.eclipse.jetty:jetty-servlet@9.4.51.v20230217 › org.eclipse.jetty:jetty-security@9.4.51.v20230217 › org.eclipse.jetty:jetty-server@9.4.51.v20230217 › org.eclipse.jetty:jetty-http@9.4.51.v20230217Remediation: Upgrade to org.eclipse.jetty:jetty-servlet@9.4.52.v20230823.
Overview
org.eclipse.jetty:jetty-http is an is a http module for jetty server.
Affected versions of this package are vulnerable to Improper Handling of Length Parameter Inconsistency via the HttpParser.java
component due to accepting the +
character proceeding the content-length value in a HTTP/1
header field. An attacker can use jetty in combination with a server that does not close the connection after rejecting such request and after sending a 400 response. This could result in request smuggling.
PoC
POST / HTTP/1.1
Host: a.com
Content-Length: +16
Connection: close
0123456789abcdef
Remediation
Upgrade org.eclipse.jetty:jetty-http
to version 9.4.52.v20230823, 10.0.16, 11.0.16, 12.0.1 or higher.