Find, fix and prevent vulnerabilities in your code.
high severity
- Vulnerable module: io.undertow:undertow-core
- Introduced through: io.descoped.dc:data-collector-server-base@2.0.2
Detailed paths
-
Introduced through: descoped/data-collector-testutils@descoped/data-collector-testutils#f61a72a74ba9ba9241598a302a6fe3799a6bd886 › io.descoped.dc:data-collector-server-base@2.0.2 › io.undertow:undertow-core@2.3.17.Final
Overview
io.undertow:undertow-core is a Java web server based on non-blocking IO.
Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling (MadeYouReset) through malformed client requests that trigger repeated server-side stream resets without incrementing abuse counters. An attacker can exhaust server resources by sending specially crafted HTTP/2 requests that cause excessive workload through repeated stream aborts.
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
There is no fixed version for io.undertow:undertow-core
.
References
low severity
- Vulnerable module: io.undertow:undertow-core
- Introduced through: io.descoped.dc:data-collector-server-base@2.0.2
Detailed paths
-
Introduced through: descoped/data-collector-testutils@descoped/data-collector-testutils#f61a72a74ba9ba9241598a302a6fe3799a6bd886 › io.descoped.dc:data-collector-server-base@2.0.2 › io.undertow:undertow-core@2.3.17.Final
Overview
io.undertow:undertow-core is a Java web server based on non-blocking IO.
Affected versions of this package are vulnerable to Memory Leak when the learning-push
handler is configured with the default maxAge
of -1
. An attacker who can send normal HTTP requests may consume excessive memory.
Workaround
This vulnerability can be avoided by setting a value for maxAge
that is not -1
.
Remediation
Upgrade io.undertow:undertow-core
to version 2.2.37.Final, 2.3.18.Final or higher.