EngineHub/CommandHelper
Find, fix and prevent vulnerabilities in your code.
high severity
- Vulnerable module: com.google.protobuf:protobuf-java
- Introduced through: com.mysql:mysql-connector-j@8.3.0
Detailed paths
-
Introduced through: EngineHub/CommandHelper@EngineHub/CommandHelper#d9d85dbab5de60a7c0522dc748a4cc88287c309f › com.mysql:mysql-connector-j@8.3.0 › com.google.protobuf:protobuf-java@3.25.1Remediation: Upgrade to com.mysql:mysql-connector-j@9.2.0.
Overview
com.google.protobuf:protobuf-java is a Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data.
Affected versions of this package are vulnerable to Stack-based Buffer Overflow via the parsing of nested groups or series of SGROUP
tags as unknown fields with DiscardUnknownFieldsParser
or Java Protobuf Lite parser, or against Protobuf map fields. An attacker can cause infinite recursion by sending malicious Protocol Buffer data.
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 com.google.protobuf:protobuf-java
to version 3.25.5, 4.27.5, 4.28.2 or higher.
References
high severity
new
- Module: com.mysql:mysql-connector-j
- Introduced through: com.mysql:mysql-connector-j@8.3.0
Detailed paths
-
Introduced through: EngineHub/CommandHelper@EngineHub/CommandHelper#d9d85dbab5de60a7c0522dc748a4cc88287c309f › com.mysql:mysql-connector-j@8.3.0
GPL-2.0 license
medium severity
- Vulnerable module: com.squareup.okio:okio
- Introduced through: com.squareup.okhttp:okhttp@2.7.5 and com.squareup.okhttp:logging-interceptor@2.7.5
Detailed paths
-
Introduced through: EngineHub/CommandHelper@EngineHub/CommandHelper#d9d85dbab5de60a7c0522dc748a4cc88287c309f › com.squareup.okhttp:okhttp@2.7.5 › com.squareup.okio:okio@1.6.0
-
Introduced through: EngineHub/CommandHelper@EngineHub/CommandHelper#d9d85dbab5de60a7c0522dc748a4cc88287c309f › com.squareup.okhttp:logging-interceptor@2.7.5 › com.squareup.okhttp:okhttp@2.7.5 › com.squareup.okio:okio@1.6.0
Overview
Affected versions of this package are vulnerable to Denial of Service (DoS) due to improper exception handling by the GzipSource
class when parsing a malformed gzip buffer.
This vulnerability can be exploited on the Okio client when handling a crafted GZIP archive.
PoC
val gzBuf: Buffer = Buffer()
try {
val gzByteString: ByteString = ("1f8b41ff424242424343ffff").decodeHex()
gzBuf.write(gzByteString)
val gz: GzipSource = GzipSource(gzBuf)
val sinkBuf: Buffer = Buffer()
gz.read(sinkBuf, 5)
}
catch(e: IOException) {
println("got error: " + e.toString())
}
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 com.squareup.okio:okio
to version 1.17.6, 3.4.0 or higher.
References
medium severity
new
- Module: net.sourceforge.jchardet:jchardet
- Introduced through: net.sourceforge.jchardet:jchardet@1.0
Detailed paths
-
Introduced through: EngineHub/CommandHelper@EngineHub/CommandHelper#d9d85dbab5de60a7c0522dc748a4cc88287c309f › net.sourceforge.jchardet:jchardet@1.0
MPL-2.0 license
medium severity
new
- Module: org.eclipse.lsp4j:org.eclipse.lsp4j
- Introduced through: org.eclipse.lsp4j:org.eclipse.lsp4j@0.22.0
Detailed paths
-
Introduced through: EngineHub/CommandHelper@EngineHub/CommandHelper#d9d85dbab5de60a7c0522dc748a4cc88287c309f › org.eclipse.lsp4j:org.eclipse.lsp4j@0.22.0
EPL-1.0 license
medium severity
new
- Module: org.eclipse.lsp4j:org.eclipse.lsp4j.jsonrpc
- Introduced through: org.eclipse.lsp4j:org.eclipse.lsp4j@0.22.0
Detailed paths
-
Introduced through: EngineHub/CommandHelper@EngineHub/CommandHelper#d9d85dbab5de60a7c0522dc748a4cc88287c309f › org.eclipse.lsp4j:org.eclipse.lsp4j@0.22.0 › org.eclipse.lsp4j:org.eclipse.lsp4j.jsonrpc@0.22.0
EPL-1.0 license
low severity
- Vulnerable module: junit:junit
- Introduced through: com.googlecode.json-simple:json-simple@1.1.1
Detailed paths
-
Introduced through: EngineHub/CommandHelper@EngineHub/CommandHelper#d9d85dbab5de60a7c0522dc748a4cc88287c309f › com.googlecode.json-simple:json-simple@1.1.1 › junit:junit@4.10
Overview
junit:junit is an unit testing framework for Java
Affected versions of this package are vulnerable to Information Exposure. The JUnit4 test rule TemporaryFolder
contains a local information disclosure vulnerability. On Unix like systems, the system's temporary directory is shared between all users on that system. Because of this, when files and directories are written into this directory they are, by default, readable by other users on that same system.
Note: This vulnerability does not allow other users to overwrite the contents of these directories or files. This only affects Unix like systems.
Remediation
Upgrade junit:junit
to version 4.13.1 or higher.