Find, fix and prevent vulnerabilities in your code.
high severity
- Vulnerable module: org.springframework:spring-core
- Introduced through: org.springframework.boot:spring-boot-starter@1.5.9.RELEASE
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.10.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.10.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.0.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.10.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-beans@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.0.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-aop@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.0.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-expression@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.0.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.1.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-aop@7.0.2 › org.springframework:spring-beans@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.0.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-beans@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.1.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-aop@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.1.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-expression@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.1.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-aop@7.0.2 › org.springframework:spring-beans@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.1.
Overview
org.springframework:spring-core is a core package within the spring-framework that contains multiple classes and utilities.
Affected versions of this package are vulnerable to Incorrect Authorization via the AnnotationsScanner and AnnotatedMethod class. An attacker can gain unauthorized access to sensitive information by exploiting improper resolution of annotations on methods within type hierarchies that use parameterized supertypes with unbounded generics.
Note:
This is only exploitable if security annotations are used on methods in generic superclasses or generic interfaces and the @EnableMethodSecurity feature is enabled.
Remediation
Upgrade org.springframework:spring-core to version 6.2.11 or higher.
References
high severity
- Vulnerable module: org.springframework.boot:spring-boot
- Introduced through: org.springframework.boot:spring-boot-starter@1.5.9.RELEASE
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.2.11.RELEASE.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.2.11.RELEASE.
Overview
Affected versions of this package are vulnerable to Insecure Temporary File via the org.springframework.boot.web.server.AbstractConfigurableWebServerFactory.createTempDir method, allowing for temporary directory hijacking and privilege escalation.
Remediation
Upgrade org.springframework.boot:spring-boot to version 2.2.11.RELEASE or higher.
References
high severity
- Vulnerable module: org.json:json
- Introduced through: org.cfg4j:cfg4j-core@4.4.0
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.cfg4j:cfg4j-core@4.4.0 › org.json:json@20160212
Overview
Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling. An attacker can cause indefinite amounts of memory to be used by inputting a string of modest size. This can lead to a Denial of Service.
PoC
package orgjsonbug;
import org.json.JSONObject;
/**
* Illustrates a bug in JSON-Java.
*/
public class Bug {
private static String makeNested(int depth) {
if (depth == 0) {
return "{\"a\":1}";
}
return "{\"a\":1;\t\0" + makeNested(depth - 1) + ":1}";
}
public static void main(String[] args) {
String input = makeNested(30);
System.out.printf("Input string has length %d: %s\n", input.length(), input);
JSONObject output = new JSONObject(input);
System.out.printf("Output JSONObject has length %d: %s\n", output.toString().length(), output);
}
}
Remediation
Upgrade org.json:json to version 20231013 or higher.
References
high severity
- Vulnerable module: org.json:json
- Introduced through: org.cfg4j:cfg4j-core@4.4.0
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.cfg4j:cfg4j-core@4.4.0 › org.json:json@20160212
Overview
Affected versions of this package are vulnerable to Denial of Service (DoS) when trying to initialize a JSONArray object and the input is [. This will cause the jvm to crash with StackOverflowError due to non-cyclical stack overflow.
PoC
new JSONArray("[")
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
wspackage
Remediation
Upgrade org.json:json to version 20180130 or higher.
References
high severity
- Vulnerable module: org.json:json
- Introduced through: org.cfg4j:cfg4j-core@4.4.0
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.cfg4j:cfg4j-core@4.4.0 › org.json:json@20160212
Overview
Affected versions of this package are vulnerable to Denial of Service (DoS) in the XML.toJSONObject component via crafted JSON or XML 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
wspackage
Remediation
Upgrade org.json:json to version 20230227 or higher.
References
high severity
- Vulnerable module: org.springframework.boot:spring-boot-autoconfigure
- Introduced through: org.springframework.boot:spring-boot-starter@1.5.9.RELEASE
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.15.
Overview
Affected versions of this package are vulnerable to Denial of Service (DoS) if Spring MVC is used together with a reverse proxy cache.
Specifically, an application is vulnerable if all of the conditions are true:
- The application has Spring MVC auto-configuration enabled. This is the case by default if Spring MVC is on the classpath.
- The application uses Spring Boot's welcome page support, either static or templated.
- The application is deployed behind a proxy which caches 404 responses.
The application is NOT vulnerable if any of the following are true:
- Spring MVC auto-configuration is disabled. This is true if
WebMvcAutoConfigurationis explicitly excluded, if Spring MVC is not on the classpath, or ifspring.main.web-application-typeis set to a value other thanSERVLET. - The application does not use Spring Boot's welcome page support.
- There is no proxy which caches 404 responses.
Workaround
Users who are unable to upgrade should configure the reverse proxy not to cache 404 responses and/or not to cache responses to requests to the root (/) of the application.
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
wspackage
Remediation
Upgrade org.springframework.boot:spring-boot-autoconfigure to version 2.5.15, 2.6.15, 2.7.12, 3.0.7 or higher.
References
high severity
- Vulnerable module: org.yaml:snakeyaml
- Introduced through: org.cfg4j:cfg4j-core@4.4.0 and org.springframework.boot:spring-boot-starter@1.5.9.RELEASE
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.cfg4j:cfg4j-core@4.4.0 › org.yaml:snakeyaml@1.17
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.yaml:snakeyaml@1.17Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.0.0.
Overview
org.yaml:snakeyaml is a YAML 1.1 parser and emitter for Java.
Affected versions of this package are vulnerable to Denial of Service (DoS) due to missing nested depth limitation for collections.
NOTE: This vulnerability has also been identified as: CVE-2022-38749
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
wspackage
Remediation
Upgrade org.yaml:snakeyaml to version 1.31 or higher.
References
high severity
- Vulnerable module: org.yaml:snakeyaml
- Introduced through: org.cfg4j:cfg4j-core@4.4.0 and org.springframework.boot:spring-boot-starter@1.5.9.RELEASE
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.cfg4j:cfg4j-core@4.4.0 › org.yaml:snakeyaml@1.17
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.yaml:snakeyaml@1.17Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.0.0.
Overview
org.yaml:snakeyaml is a YAML 1.1 parser and emitter for Java.
Affected versions of this package are vulnerable to Denial of Service (DoS) due to missing nested depth limitation for collections.
NOTE: This vulnerability has also been identified as: CVE-2022-25857
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
wspackage
Remediation
Upgrade org.yaml:snakeyaml to version 1.31 or higher.
References
high severity
- Vulnerable module: ch.qos.logback:logback-classic
- Introduced through: ch.qos.logback:logback-classic@1.2.3 and org.springframework.boot:spring-boot-starter@1.5.9.RELEASE
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › ch.qos.logback:logback-classic@1.2.3Remediation: Upgrade to ch.qos.logback:logback-classic@1.2.13.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-starter-logging@1.5.9.RELEASE › ch.qos.logback:logback-classic@1.2.3Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.1.7.
Overview
ch.qos.logback:logback-classic is a reliable, generic, fast and flexible logging library for Java.
Affected versions of this package are vulnerable to Denial of Service (DoS). An attacker can mount a denial-of-service attack by sending poisoned data. This is only exploitable if logback receiver component is deployed.
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
wspackage
Remediation
Upgrade ch.qos.logback:logback-classic to version 1.2.13, 1.3.12, 1.4.12 or higher.
References
high severity
- Vulnerable module: ch.qos.logback:logback-classic
- Introduced through: ch.qos.logback:logback-classic@1.2.3 and org.springframework.boot:spring-boot-starter@1.5.9.RELEASE
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › ch.qos.logback:logback-classic@1.2.3Remediation: Upgrade to ch.qos.logback:logback-classic@1.2.13.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-starter-logging@1.5.9.RELEASE › ch.qos.logback:logback-classic@1.2.3Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.1.7.
Overview
ch.qos.logback:logback-classic is a reliable, generic, fast and flexible logging library for Java.
Affected versions of this package are vulnerable to Uncontrolled Resource Consumption ('Resource Exhaustion') via the logback receiver component. An attacker can mount a denial-of-service attack by sending poisoned data.
Note:
Successful exploitation requires the logback-receiver component being enabled and also reachable by the attacker.
Remediation
Upgrade ch.qos.logback:logback-classic to version 1.2.13, 1.3.14, 1.4.14 or higher.
References
high severity
- Vulnerable module: ch.qos.logback:logback-core
- Introduced through: ch.qos.logback:logback-core@1.2.3, ch.qos.logback:logback-classic@1.2.3 and others
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › ch.qos.logback:logback-core@1.2.3Remediation: Upgrade to ch.qos.logback:logback-core@1.2.13.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3Remediation: Upgrade to ch.qos.logback:logback-classic@1.2.13.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-starter-logging@1.5.9.RELEASE › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.1.7.
Overview
ch.qos.logback:logback-core is a logback-core module.
Affected versions of this package are vulnerable to Denial of Service (DoS). An attacker can mount a denial-of-service attack by sending poisoned data. This is only exploitable if logback receiver component is deployed.
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
wspackage
Remediation
Upgrade ch.qos.logback:logback-core to version 1.2.13, 1.3.12, 1.4.12 or higher.
References
high severity
- Vulnerable module: ch.qos.logback:logback-core
- Introduced through: ch.qos.logback:logback-core@1.2.3, ch.qos.logback:logback-classic@1.2.3 and others
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › ch.qos.logback:logback-core@1.2.3Remediation: Upgrade to ch.qos.logback:logback-core@1.2.13.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3Remediation: Upgrade to ch.qos.logback:logback-classic@1.2.13.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-starter-logging@1.5.9.RELEASE › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.1.7.
Overview
ch.qos.logback:logback-core is a logback-core module.
Affected versions of this package are vulnerable to Uncontrolled Resource Consumption ('Resource Exhaustion') via the logback receiver component. An attacker can mount a denial-of-service attack by sending poisoned data.
Note:
Successful exploitation requires the logback-receiver component being enabled and also reachable by the attacker.
Remediation
Upgrade ch.qos.logback:logback-core to version 1.2.13, 1.3.14, 1.4.14 or higher.
References
medium severity
- Vulnerable module: commons-io:commons-io
- Introduced through: commons-io:commons-io@2.5
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › commons-io:commons-io@2.5Remediation: Upgrade to commons-io:commons-io@2.14.0.
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: org.yaml:snakeyaml
- Introduced through: org.cfg4j:cfg4j-core@4.4.0 and org.springframework.boot:spring-boot-starter@1.5.9.RELEASE
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.cfg4j:cfg4j-core@4.4.0 › org.yaml:snakeyaml@1.17
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.yaml:snakeyaml@1.17Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.0.
Overview
org.yaml:snakeyaml is a YAML 1.1 parser and emitter for Java.
Affected versions of this package are vulnerable to Arbitrary Code Execution in the Constructor class, which does not restrict which types can be deserialized. This vulnerability is exploitable by an attacker who provides a malicious YAML file for deserialization, which circumvents the SafeConstructor class.
The maintainers of the library contend that the application's trust would already have had to be compromised or established and therefore dispute the risk associated with this issue on the basis that there is a high bar for exploitation.
Remediation
Upgrade org.yaml:snakeyaml to version 2.0 or higher.
References
medium severity
- Vulnerable module: com.google.code.gson:gson
- Introduced through: com.google.code.gson:gson@2.7
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › com.google.code.gson:gson@2.7Remediation: Upgrade to com.google.code.gson:gson@2.8.9.
Overview
Affected versions of this package are vulnerable to Deserialization of Untrusted Data via the writeReplace() method in internal classes, which may allow a denial of service attack if combined with another exploit.
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating object from sequence of bytes is called deserialization. Serialization is commonly used for communication (sharing objects between multiple hosts) and persistence (store the object state in a file or a database). It is an integral part of popular protocols like Remote Method Invocation (RMI), Java Management Extension (JMX), Java Messaging System (JMS), Action Message Format (AMF), Java Server Faces (JSF) ViewState, etc.
Deserialization of untrusted data (CWE-502), is when the application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, letting the attacker to control the state or the flow of the execution.
Java deserialization issues have been known for years. However, interest in the issue intensified greatly in 2015, when classes that could be abused to achieve remote code execution were found in a popular library (Apache Commons Collection). These classes were used in zero-days affecting IBM WebSphere, Oracle WebLogic and many other products.
An attacker just needs to identify a piece of software that has both a vulnerable class on its path, and performs deserialization on untrusted data. Then all they need to do is send the payload into the deserializer, getting the command executed.
Developers put too much trust in Java Object Serialization. Some even de-serialize objects pre-authentication. When deserializing an Object in Java you typically cast it to an expected type, and therefore Java's strict type system will ensure you only get valid object trees. Unfortunately, by the time the type checking happens, platform code has already created and executed significant logic. So, before the final type is checked a lot of code is executed from the readObject() methods of various objects, all of which is out of the developer's control. By combining the readObject() methods of various classes which are available on the classpath of the vulnerable application, an attacker can execute functions (including calling Runtime.exec() to execute local OS commands).
Remediation
Upgrade com.google.code.gson:gson to version 2.8.9 or higher.
References
medium severity
- Vulnerable module: ch.qos.logback:logback-classic
- Introduced through: ch.qos.logback:logback-classic@1.2.3 and org.springframework.boot:spring-boot-starter@1.5.9.RELEASE
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › ch.qos.logback:logback-classic@1.2.3Remediation: Upgrade to ch.qos.logback:logback-classic@1.3.15.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-starter-logging@1.5.9.RELEASE › ch.qos.logback:logback-classic@1.2.3Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.3.8.
Overview
ch.qos.logback:logback-classic is a reliable, generic, fast and flexible logging library for Java.
Affected versions of this package are vulnerable to Improper Neutralization of Special Elements via the JaninoEventEvaluator extension. An attacker can execute arbitrary code by compromising an existing logback configuration file or injecting an environment variable before program execution.
Remediation
Upgrade ch.qos.logback:logback-classic to version 1.3.15, 1.5.13 or higher.
References
medium severity
- Vulnerable module: ch.qos.logback:logback-core
- Introduced through: ch.qos.logback:logback-core@1.2.3, ch.qos.logback:logback-classic@1.2.3 and others
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › ch.qos.logback:logback-core@1.2.3Remediation: Upgrade to ch.qos.logback:logback-core@1.5.19.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3Remediation: Upgrade to ch.qos.logback:logback-classic@1.5.19.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-starter-logging@1.5.9.RELEASE › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.11.
Overview
ch.qos.logback:logback-core is a logback-core module.
Affected versions of this package are vulnerable to External Initialization of Trusted Variables or Data Stores via the conditional processing of the logback.xml configuration file when both the Janino library and Spring Framework are present on the class path. An attacker can execute arbitrary code by compromising an existing configuration file or injecting a malicious environment variable before program execution. This is only exploitable if the attacker has write access to a configuration file or can set a malicious environment variable.
Remediation
Upgrade ch.qos.logback:logback-core to version 1.5.19 or higher.
References
medium severity
- Vulnerable module: ch.qos.logback:logback-core
- Introduced through: ch.qos.logback:logback-core@1.2.3, ch.qos.logback:logback-classic@1.2.3 and others
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › ch.qos.logback:logback-core@1.2.3Remediation: Upgrade to ch.qos.logback:logback-core@1.3.15.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3Remediation: Upgrade to ch.qos.logback:logback-classic@1.3.15.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-starter-logging@1.5.9.RELEASE › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.3.8.
Overview
ch.qos.logback:logback-core is a logback-core module.
Affected versions of this package are vulnerable to Improper Neutralization of Special Elements via the JaninoEventEvaluator extension. An attacker can execute arbitrary code by compromising an existing logback configuration file or injecting an environment variable before program execution.
Remediation
Upgrade ch.qos.logback:logback-core to version 1.3.15, 1.5.13 or higher.
References
medium severity
- Vulnerable module: com.google.guava:guava
- Introduced through: com.google.guava:guava@19.0 and com.orbitz.consul:consul-client@0.12.7
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › com.google.guava:guava@19.0Remediation: Upgrade to com.google.guava:guava@24.1.1-android.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › com.orbitz.consul:consul-client@0.12.7 › com.google.guava:guava@19.0Remediation: Upgrade to com.orbitz.consul:consul-client@1.3.3.
Overview
com.google.guava:guava is a set of core libraries that includes new collection types (such as multimap and multiset,immutable collections, a graph library, functional types, an in-memory cache and more.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. During deserialization, two Guava classes accept a caller-specified size parameter and eagerly allocate an array of that size:
AtomicDoubleArray(when serialized with Java serialization)CompoundOrdering(when serialized with GWT serialization)
An attacker may be able to send a specially crafted request which with then cause the server to allocate all it's memory, without validation whether the data size is reasonable.
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating object from sequence of bytes is called deserialization. Serialization is commonly used for communication (sharing objects between multiple hosts) and persistence (store the object state in a file or a database). It is an integral part of popular protocols like Remote Method Invocation (RMI), Java Management Extension (JMX), Java Messaging System (JMS), Action Message Format (AMF), Java Server Faces (JSF) ViewState, etc.
Deserialization of untrusted data (CWE-502), is when the application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, letting the attacker to control the state or the flow of the execution.
Java deserialization issues have been known for years. However, interest in the issue intensified greatly in 2015, when classes that could be abused to achieve remote code execution were found in a popular library (Apache Commons Collection). These classes were used in zero-days affecting IBM WebSphere, Oracle WebLogic and many other products.
An attacker just needs to identify a piece of software that has both a vulnerable class on its path, and performs deserialization on untrusted data. Then all they need to do is send the payload into the deserializer, getting the command executed.
Developers put too much trust in Java Object Serialization. Some even de-serialize objects pre-authentication. When deserializing an Object in Java you typically cast it to an expected type, and therefore Java's strict type system will ensure you only get valid object trees. Unfortunately, by the time the type checking happens, platform code has already created and executed significant logic. So, before the final type is checked a lot of code is executed from the readObject() methods of various objects, all of which is out of the developer's control. By combining the readObject() methods of various classes which are available on the classpath of the vulnerable application, an attacker can execute functions (including calling Runtime.exec() to execute local OS commands).
Remediation
Upgrade com.google.guava:guava to version 24.1.1, 24.1.1-jre or higher.
References
medium severity
- Vulnerable module: org.springframework:spring-core
- Introduced through: org.springframework.boot:spring-boot-starter@1.5.9.RELEASE
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@1.5.10.RELEASE.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@1.5.10.RELEASE.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.0.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@1.5.10.RELEASE.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-beans@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.0.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-aop@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.0.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-expression@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.0.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.1.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-aop@7.0.2 › org.springframework:spring-beans@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.0.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-beans@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.1.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-aop@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.1.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-expression@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.1.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-aop@7.0.2 › org.springframework:spring-beans@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.1.
Overview
org.springframework:spring-core is a core package within the spring-framework that contains multiple classes and utilities.
Affected versions of this package are vulnerable to Multipart Content Pollution. It provides client-side support for multipart requests. When the server application (server A) receives input from a remote client, and then uses that input to make a multipart request to another server (server B), it can be exposed to an attack, where an extra multipart is inserted in the content of the request from server A, causing server B to use the wrong value for a part it expects. This could to lead privilege escalation, for example, if the part content represents a username or user roles.
Remediation
Upgrade org.springframework:spring-core to version 4.3.14.RELEASE, 5.0.5.RELEASE or higher.
References
medium severity
- Vulnerable module: org.yaml:snakeyaml
- Introduced through: org.cfg4j:cfg4j-core@4.4.0 and org.springframework.boot:spring-boot-starter@1.5.9.RELEASE
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.cfg4j:cfg4j-core@4.4.0 › org.yaml:snakeyaml@1.17
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.yaml:snakeyaml@1.17Remediation: Upgrade to org.springframework.boot:spring-boot-starter@2.3.0.RELEASE.
Overview
org.yaml:snakeyaml is a YAML 1.1 parser and emitter for Java.
Affected versions of this package are vulnerable to Denial of Service (DoS). The Alias feature in SnakeYAML 1.18 allows entity expansion during a load operation, a related issue to CVE-2003-1564.
Note While the Maintainer acknowledges the existence of the issue, they believe it should be solved by sanitizing the inputStream to the parser
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
wspackage
Remediation
Upgrade org.yaml:snakeyaml to version 1.26 or higher.
References
medium severity
- Vulnerable module: commons-io:commons-io
- Introduced through: commons-io:commons-io@2.5
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › commons-io:commons-io@2.5Remediation: Upgrade to commons-io:commons-io@2.7.
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 Directory Traversal via calling the method FileNameUtils.normalize using an improper string like //../foo or \\..\foo, which may allow access to files in the parent directory.
Details
A Directory Traversal attack (also known as path traversal) aims to access files and directories that are stored outside the intended folder. By manipulating files with "dot-dot-slash (../)" sequences and its variations, or by using absolute file paths, it may be possible to access arbitrary files and directories stored on file system, including application source code, configuration, and other critical system files.
Directory Traversal vulnerabilities can be generally divided into two types:
- Information Disclosure: Allows the attacker to gain information about the folder structure or read the contents of sensitive files on the system.
st is a module for serving static files on web pages, and contains a vulnerability of this type. In our example, we will serve files from the public route.
If an attacker requests the following URL from our server, it will in turn leak the sensitive private key of the root user.
curl http://localhost:8080/public/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/root/.ssh/id_rsa
Note %2e is the URL encoded version of . (dot).
- Writing arbitrary files: Allows the attacker to create or replace existing files. This type of vulnerability is also known as
Zip-Slip.
One way to achieve this is by using a malicious zip archive that holds path traversal filenames. When each filename in the zip archive gets concatenated to the target extraction folder, without validation, the final path ends up outside of the target folder. If an executable or a configuration file is overwritten with a file containing malicious code, the problem can turn into an arbitrary code execution issue quite easily.
The following is an example of a zip archive with one benign file and one malicious file. Extracting the malicious file will result in traversing out of the target folder, ending up in /root/.ssh/ overwriting the authorized_keys file:
2018-04-15 22:04:29 ..... 19 19 good.txt
2018-04-15 22:04:42 ..... 20 20 ../../../../../../root/.ssh/authorized_keys
Remediation
Upgrade commons-io:commons-io to version 2.7 or higher.
References
medium severity
- Vulnerable module: ch.qos.logback:logback-core
- Introduced through: ch.qos.logback:logback-core@1.2.3, ch.qos.logback:logback-classic@1.2.3 and others
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › ch.qos.logback:logback-core@1.2.3Remediation: Upgrade to ch.qos.logback:logback-core@1.2.7.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3Remediation: Upgrade to ch.qos.logback:logback-classic@1.2.7.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-starter-logging@1.5.9.RELEASE › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3Remediation: Upgrade to org.springframework.boot:spring-boot-starter@2.4.13.
Overview
ch.qos.logback:logback-core is a logback-core module.
Affected versions of this package are vulnerable to Insufficient Hostname Verification. X.509 are not properly validated. By spoofing the TLS/SSL server via a certificate that appears valid, an attacker with the ability to intercept network traffic (e.g. MitM, DNS cache poisoning) can disclose and optionally manipulate transmitted data.
Remediation
Upgrade ch.qos.logback:logback-core to version 1.2.7 or higher.
References
medium severity
- Vulnerable module: org.springframework:spring-core
- Introduced through: org.springframework.boot:spring-boot-starter@1.5.9.RELEASE
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.8.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.8.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.0.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.8.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-beans@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.0.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-aop@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.0.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-expression@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.0.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.1.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-aop@7.0.2 › org.springframework:spring-beans@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.0.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-beans@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.1.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-aop@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.1.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-expression@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.1.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-aop@7.0.2 › org.springframework:spring-beans@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.1.
Overview
org.springframework:spring-core is a core package within the spring-framework that contains multiple classes and utilities.
Affected versions of this package are vulnerable to Improper Input Validation when a user provides malicious input, causing insertion of additional log entries.
Remediation
Upgrade org.springframework:spring-core to version 5.2.19.RELEASE, 5.3.14 or higher.
References
medium severity
- Vulnerable module: org.springframework:spring-core
- Introduced through: org.springframework.boot:spring-boot-starter@1.5.9.RELEASE
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.4.12.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.4.12.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.0.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.4.12.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-beans@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.0.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-aop@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.0.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-expression@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.0.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.1.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-aop@7.0.2 › org.springframework:spring-beans@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.0.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-beans@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.1.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-aop@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.1.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-expression@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.1.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-aop@7.0.2 › org.springframework:spring-beans@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.1.
Overview
org.springframework:spring-core is a core package within the spring-framework that contains multiple classes and utilities.
Affected versions of this package are vulnerable to Improper Output Neutralization for Logs when a user provides malicious input, causing insertion of additional log entries.
Remediation
Upgrade org.springframework:spring-core to version 5.3.12, 5.2.18 or higher.
References
medium severity
- Vulnerable module: org.yaml:snakeyaml
- Introduced through: org.cfg4j:cfg4j-core@4.4.0 and org.springframework.boot:spring-boot-starter@1.5.9.RELEASE
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.cfg4j:cfg4j-core@4.4.0 › org.yaml:snakeyaml@1.17
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.yaml:snakeyaml@1.17Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.0.0.
Overview
org.yaml:snakeyaml is a YAML 1.1 parser and emitter for Java.
Affected versions of this package are vulnerable to Stack-based Buffer Overflow when parsing crafted untrusted YAML files, which can lead to a denial-of-service.
Remediation
Upgrade org.yaml:snakeyaml to version 1.31 or higher.
References
medium severity
- Module: ch.qos.logback:logback-classic
- Introduced through: ch.qos.logback:logback-classic@1.2.3 and org.springframework.boot:spring-boot-starter@1.5.9.RELEASE
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › ch.qos.logback:logback-classic@1.2.3
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-starter-logging@1.5.9.RELEASE › ch.qos.logback:logback-classic@1.2.3
Dual license: EPL-1.0, LGPL-2.1
medium severity
- Module: ch.qos.logback:logback-core
- Introduced through: ch.qos.logback:logback-core@1.2.3, ch.qos.logback:logback-classic@1.2.3 and others
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › ch.qos.logback:logback-core@1.2.3
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-starter-logging@1.5.9.RELEASE › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3
Dual license: EPL-1.0, LGPL-2.1
low severity
- Vulnerable module: org.yaml:snakeyaml
- Introduced through: org.cfg4j:cfg4j-core@4.4.0 and org.springframework.boot:spring-boot-starter@1.5.9.RELEASE
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.cfg4j:cfg4j-core@4.4.0 › org.yaml:snakeyaml@1.17
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.yaml:snakeyaml@1.17Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.0.0.
Overview
org.yaml:snakeyaml is a YAML 1.1 parser and emitter for Java.
Affected versions of this package are vulnerable to Stack-based Buffer Overflow when parsing crafted untrusted YAML files, which can lead to a denial-of-service.
Remediation
Upgrade org.yaml:snakeyaml to version 1.32 or higher.
References
low severity
- Vulnerable module: org.yaml:snakeyaml
- Introduced through: org.cfg4j:cfg4j-core@4.4.0 and org.springframework.boot:spring-boot-starter@1.5.9.RELEASE
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.cfg4j:cfg4j-core@4.4.0 › org.yaml:snakeyaml@1.17
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.yaml:snakeyaml@1.17Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.0.0.
Overview
org.yaml:snakeyaml is a YAML 1.1 parser and emitter for Java.
Affected versions of this package are vulnerable to Stack-based Buffer Overflow in org.yaml.snakeyaml.constructor.BaseConstructor.constructObject when parsing crafted untrusted YAML files, which can lead to a denial-of-service.
Remediation
Upgrade org.yaml:snakeyaml to version 1.31 or higher.
References
low severity
- Vulnerable module: org.yaml:snakeyaml
- Introduced through: org.cfg4j:cfg4j-core@4.4.0 and org.springframework.boot:spring-boot-starter@1.5.9.RELEASE
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.cfg4j:cfg4j-core@4.4.0 › org.yaml:snakeyaml@1.17
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.yaml:snakeyaml@1.17Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.0.0.
Overview
org.yaml:snakeyaml is a YAML 1.1 parser and emitter for Java.
Affected versions of this package are vulnerable to Stack-based Buffer Overflow when supplied with untrusted input, due to improper limitation for incoming data.
Remediation
Upgrade org.yaml:snakeyaml to version 1.32 or higher.
References
low severity
- Vulnerable module: com.google.guava:guava
- Introduced through: com.google.guava:guava@19.0 and com.orbitz.consul:consul-client@0.12.7
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › com.google.guava:guava@19.0Remediation: Upgrade to com.google.guava:guava@32.0.0-android.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › com.orbitz.consul:consul-client@0.12.7 › com.google.guava:guava@19.0
Overview
com.google.guava:guava is a set of core libraries that includes new collection types (such as multimap and multiset,immutable collections, a graph library, functional types, an in-memory cache and more.
Affected versions of this package are vulnerable to Creation of Temporary File in Directory with Insecure Permissions due to the use of Java's default temporary directory for file creation in FileBackedOutputStream. Other users and apps on the machine with access to the default Java temporary directory can access the files created by this class. This more fully addresses the underlying issue described in CVE-2020-8908, by deprecating the permissive temp file creation behavior.
NOTE: Even though the security vulnerability is fixed in version 32.0.0, the maintainers recommend using version 32.0.1, as version 32.0.0 breaks some functionality under Windows.
Remediation
Upgrade com.google.guava:guava to version 32.0.0-android, 32.0.0-jre or higher.
References
low severity
- Vulnerable module: com.google.guava:guava
- Introduced through: com.google.guava:guava@19.0 and com.orbitz.consul:consul-client@0.12.7
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › com.google.guava:guava@19.0Remediation: Upgrade to com.google.guava:guava@30.0-android.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › com.orbitz.consul:consul-client@0.12.7 › com.google.guava:guava@19.0
Overview
com.google.guava:guava is a set of core libraries that includes new collection types (such as multimap and multiset,immutable collections, a graph library, functional types, an in-memory cache and more.
Affected versions of this package are vulnerable to Information Disclosure.
The file permissions on the file created by com.google.common.io.Files.createTempDir allow an attacker running a malicious program co-resident on the same machine to steal secrets stored in this directory. This is because, by default, on unix-like operating systems the /tmp directory is shared between all users, so if the correct file permissions aren't set by the directory/file creator, the file becomes readable by all other users on that system.
PoC
File guavaTempDir = com.google.common.io.Files.createTempDir();
System.out.println("Guava Temp Dir: " + guavaTempDir.getName());
runLS(guavaTempDir.getParentFile(), guavaTempDir); // Prints the file permissions -> drwxr-xr-x
File child = new File(guavaTempDir, "guava-child.txt");
child.createNewFile();
runLS(guavaTempDir, child); // Prints the file permissions -> -rw-r--r--
For Android developers, choosing a temporary directory API provided by Android is recommended, such as context.getCacheDir(). For other Java developers, we recommend migrating to the Java 7 API java.nio.file.Files.createTempDirectory() which explicitly configures permissions of 700, or configuring the Java runtime's java.io.tmpdir system property to point to a location whose permissions are appropriately configured.
Remediation
There is no fix for com.google.guava:guava. However, in version 30.0 and above, the vulnerable functionality has been deprecated. In oder to mitigate this vulnerability, upgrade to version 30.0 or higher and ensure your dependencies don't use the createTempDir or createTempFile methods.
References
low severity
- Vulnerable module: ch.qos.logback:logback-core
- Introduced through: ch.qos.logback:logback-core@1.2.3, ch.qos.logback:logback-classic@1.2.3 and others
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › ch.qos.logback:logback-core@1.2.3Remediation: Upgrade to ch.qos.logback:logback-core@1.3.15.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3Remediation: Upgrade to ch.qos.logback:logback-classic@1.3.15.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-starter-logging@1.5.9.RELEASE › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.3.8.
Overview
ch.qos.logback:logback-core is a logback-core module.
Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) through the SaxEventRecorder process. An attacker can forge requests by compromising logback configuration files in XML.
Remediation
Upgrade ch.qos.logback:logback-core to version 1.3.15, 1.5.13 or higher.
References
low severity
- Vulnerable module: org.springframework:spring-core
- Introduced through: org.springframework.boot:spring-boot-starter@1.5.9.RELEASE
Detailed paths
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.0.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-beans@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.0.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-aop@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.0.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-expression@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.0.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.1.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-aop@7.0.2 › org.springframework:spring-beans@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.0.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-beans@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.1.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-aop@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.1.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-expression@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.1.
-
Introduced through: garciapl/consulpusher@garciapl/consulpusher#a1d3606d007f261d1891b700cfb792ae21e037d4 › org.springframework.boot:spring-boot-starter@1.5.9.RELEASE › org.springframework.boot:spring-boot-autoconfigure@1.5.9.RELEASE › org.springframework.boot:spring-boot@1.5.9.RELEASE › org.springframework:spring-context@7.0.2 › org.springframework:spring-aop@7.0.2 › org.springframework:spring-beans@7.0.2 › org.springframework:spring-core@4.3.13.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@4.0.1.
Overview
org.springframework:spring-core is a core package within the spring-framework that contains multiple classes and utilities.
Affected versions of this package are vulnerable to Improper Handling of Case Sensitivity due to String.toLowerCase() having some Locale dependent exceptions that could potentially result in fields not protected as expected.
Note:
The fix for CVE-2022-22968 made disallowedFields patterns in DataBinder case insensitive.
This vulnerability was also fixed in commercial versions 5.3.41 and 6.0.25.
Remediation
Upgrade org.springframework:spring-core to version 6.1.14 or higher.