Find, fix and prevent vulnerabilities in your code.
high severity
- Vulnerable module: commons-lang:commons-lang
- Introduced through: io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0
Detailed paths
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › commons-configuration:commons-configuration@1.10 › commons-lang:commons-lang@2.6
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › commons-configuration:commons-configuration@1.10 › commons-lang:commons-lang@2.6
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › commons-configuration:commons-configuration@1.10 › commons-lang:commons-lang@2.6
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › commons-configuration:commons-configuration@1.10 › commons-lang:commons-lang@2.6
Overview
Affected versions of this package are vulnerable to Uncontrolled Recursion via the ClassUtils.getClass
function. An attacker can cause the application to terminate unexpectedly by providing excessively long input values.
Remediation
There is no fixed version for commons-lang:commons-lang
.
References
high severity
- Vulnerable module: org.apache.commons:commons-lang3
- Introduced through: org.apache.commons:commons-lang3@3.17.0
Detailed paths
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › org.apache.commons:commons-lang3@3.17.0Remediation: Upgrade to org.apache.commons:commons-lang3@3.18.0.
Overview
Affected versions of this package are vulnerable to Uncontrolled Recursion via the ClassUtils.getClass
function. An attacker can cause the application to terminate unexpectedly by providing excessively long input values.
Remediation
Upgrade org.apache.commons:commons-lang3
to version 3.18.0 or higher.
References
high severity
- Vulnerable module: com.thoughtworks.xstream:xstream
- Introduced through: io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0
Detailed paths
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.thoughtworks.xstream:xstream@1.4.20
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.thoughtworks.xstream:xstream@1.4.20
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.thoughtworks.xstream:xstream@1.4.20
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.thoughtworks.xstream:xstream@1.4.20
Overview
com.thoughtworks.xstream:xstream is a simple library to serialize objects to XML and back again.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data due to a manipulated binary input stream. An attacker can terminate the application with a stack overflow error resulting in a denial of service by manipulating the processed input stream when configured to use the BinaryStreamDriver
.
Workaround
This vulnerability can be mitigated by catching the StackOverflowError
in the client code calling XStream.
PoC
Prepare the manipulated data and provide it as input for a XStream instance using the BinaryDriver:
final byte[] byteArray = new byte[36000];
for (int i = 0; i < byteArray.length / 4; i++) {
byteArray[i * 4] = 10;
byteArray[i * 4 + 1] = -127;
byteArray[i * 4 + 2] = 0;
byteArray[i * 4 + 3] = 0;
}
XStream xstream = new XStream(new BinaryStreamDriver());
xstream.fromXML(new ByteArrayInputStream(byteArray));
As soon as the data gets unmarshalled, the endless recursion is entered and the executing thread is aborted with a stack overflow error.
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, thus allowing the attacker to control the state or the flow of the execution.
Remediation
Upgrade com.thoughtworks.xstream:xstream
to version 1.4.21 or higher.
References
medium severity
- Vulnerable module: com.nimbusds:nimbus-jose-jwt
- Introduced through: io.pivotal.spring.cloud:spring-cloud-services-starter-config-client@4.3.0 and io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0
Detailed paths
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-config-client@4.3.0 › org.springframework.security:spring-security-oauth2-client@6.5.0 › com.nimbusds:oauth2-oidc-sdk@9.43.6 › com.nimbusds:nimbus-jose-jwt@9.37.3
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.security:spring-security-oauth2-client@6.5.0 › com.nimbusds:oauth2-oidc-sdk@9.43.6 › com.nimbusds:nimbus-jose-jwt@9.37.3
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-config-client@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-config-client-autoconfigure@4.3.0 › org.springframework.security:spring-security-oauth2-client@6.5.0 › com.nimbusds:oauth2-oidc-sdk@9.43.6 › com.nimbusds:nimbus-jose-jwt@9.37.3
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.security:spring-security-oauth2-client@6.5.0 › com.nimbusds:oauth2-oidc-sdk@9.43.6 › com.nimbusds:nimbus-jose-jwt@9.37.3
Overview
com.nimbusds:nimbus-jose-jwt is a library for JSON Web Tokens (JWT)
Affected versions of this package are vulnerable to Uncontrolled Recursion due to the improper handling JWT claim sets containing deeply nested JSON objects. An attacker can cause application downtime or resource exhaustion by submitting a specially crafted JWT with excessive nesting.
Note:
This issue only affects nimbus-jose-jwt
, not Gson
because the Connect2id product could have checked the JSON object nesting depth, regardless of what limits (if any) were imposed by Gson.
PoC
import com.nimbusds.jwt.JWTClaimsSet;
import java.text.ParseException;
import java.util.HashMap;
import java.util.Map;
public class Test {
// This builds a claimset with a deeply nested map, which could theoretically be supplied by a client.
// If the JWT is serialized into JSON (for example, in logging or debugging), it can cause a StackOverflowError.
public static void main(String[] args) throws ParseException {
Map<String, Object> nestedMap = new HashMap<>();
Map<String, Object> currentLevel = nestedMap;
for (int i = 0; i < 5000; i++) {
Map<String, Object> nextLevel = new HashMap<>();
currentLevel.put("", nextLevel);
currentLevel = nextLevel;
}
JWTClaimsSet claimSet = JWTClaimsSet.parse(nestedMap);
// This will cause a StackOverflowError due to excessive recursion in GSON's serialization
claimSet.toString();
}
}
Remediation
Upgrade com.nimbusds:nimbus-jose-jwt
to version 9.37.4, 10.0.2 or higher.
References
medium severity
- Vulnerable module: commons-configuration:commons-configuration
- Introduced through: io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0
Detailed paths
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › commons-configuration:commons-configuration@1.10
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › commons-configuration:commons-configuration@1.10
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › commons-configuration:commons-configuration@1.10
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › commons-configuration:commons-configuration@1.10
Overview
Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling due several issues in the loading of untrusted configurations. An attacker can cause excessive resource consumption by manipulating the configuration data or introducing unexpected usage patterns. Users affected by this issue are recommended to upgrade to the 2.x version line org.apache.commons:commons-configuration2
, which fixes these issues.
Note: This is only exploitable if the application is configured to load untrusted configurations.
Remediation
There is no fixed version for commons-configuration:commons-configuration
.
References
medium severity
new
- Vulnerable module: ch.qos.logback:logback-core
- Introduced through: io.pivotal.spring.cloud:spring-cloud-services-starter-config-client@4.3.0, io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 and others
Detailed paths
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-config-client@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › org.springframework.boot:spring-boot-starter-actuator@3.5.6 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › org.springframework.boot:spring-boot-starter-security@3.5.6 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › org.springframework.boot:spring-boot-starter-webflux@3.5.6 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-config-client@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-config-client-autoconfigure@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › org.springframework.boot:spring-boot-starter-webflux@3.5.6 › org.springframework.boot:spring-boot-starter-json@3.5.6 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-config-client@4.3.0 › org.springframework.cloud:spring-cloud-config-client@4.3.0 › org.springframework.cloud:spring-cloud-starter@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-starter@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-config-client@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-config-client-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-config@4.3.0 › org.springframework.cloud:spring-cloud-starter@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.0 › org.springframework.cloud:spring-cloud-starter@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-starter@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.0 › org.springframework.boot:spring-boot-starter-cache@3.5.6 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-config-client@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-config-client-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-config@4.3.0 › org.springframework.cloud:spring-cloud-config-client@4.3.0 › org.springframework.cloud:spring-cloud-starter@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.0 › org.springframework.cloud:spring-cloud-starter@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.0 › org.springframework.boot:spring-boot-starter-cache@3.5.6 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
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: com.google.guava:guava
- Introduced through: io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0
Detailed paths
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.netflix.netflix-commons:netflix-eventbus@0.3.0 › com.netflix.netflix-commons:netflix-infix@0.3.0 › com.google.guava:guava@14.0.1
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.netflix.netflix-commons:netflix-eventbus@0.3.0 › com.netflix.servo:servo-core@0.5.3 › com.google.guava:guava@14.0.1
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.netflix.netflix-commons:netflix-eventbus@0.3.0 › com.netflix.netflix-commons:netflix-infix@0.3.0 › com.google.guava:guava@14.0.1
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.netflix.netflix-commons:netflix-eventbus@0.3.0 › com.netflix.netflix-commons:netflix-infix@0.3.0 › com.google.guava:guava@14.0.1
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.netflix.netflix-commons:netflix-eventbus@0.3.0 › com.netflix.servo:servo-core@0.5.3 › com.google.guava:guava@14.0.1
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.netflix.netflix-commons:netflix-eventbus@0.3.0 › com.netflix.servo:servo-core@0.5.3 › com.google.guava:guava@14.0.1
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.netflix.netflix-commons:netflix-eventbus@0.3.0 › com.netflix.netflix-commons:netflix-infix@0.3.0 › com.google.guava:guava@14.0.1
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.netflix.netflix-commons:netflix-eventbus@0.3.0 › com.netflix.servo:servo-core@0.5.3 › com.google.guava:guava@14.0.1
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.apache.httpcomponents:httpclient
- Introduced through: io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0
Detailed paths
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › org.apache.httpcomponents:httpclient@4.5.3
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › org.apache.httpcomponents:httpclient@4.5.3
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › org.apache.httpcomponents:httpclient@4.5.3
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › org.apache.httpcomponents:httpclient@4.5.3
Overview
org.apache.httpcomponents:httpclient is a HttpClient component of the Apache HttpComponents project.
Affected versions of this package are vulnerable to Improper Input Validation. Apache HttpClient can misinterpret malformed authority component in request URIs passed to the library as java.net.URI
object and pick the wrong target host for request execution.
Remediation
Upgrade org.apache.httpcomponents:httpclient
to version 4.5.13 or higher.
References
medium severity
- Module: ch.qos.logback:logback-classic
- Introduced through: io.pivotal.spring.cloud:spring-cloud-services-starter-config-client@4.3.0, io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 and others
Detailed paths
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-config-client@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › org.springframework.boot:spring-boot-starter-actuator@3.5.6 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › org.springframework.boot:spring-boot-starter-security@3.5.6 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › org.springframework.boot:spring-boot-starter-webflux@3.5.6 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-config-client@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-config-client-autoconfigure@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › org.springframework.boot:spring-boot-starter-webflux@3.5.6 › org.springframework.boot:spring-boot-starter-json@3.5.6 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-config-client@4.3.0 › org.springframework.cloud:spring-cloud-config-client@4.3.0 › org.springframework.cloud:spring-cloud-starter@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-starter@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-config-client@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-config-client-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-config@4.3.0 › org.springframework.cloud:spring-cloud-starter@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.0 › org.springframework.cloud:spring-cloud-starter@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-starter@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.0 › org.springframework.boot:spring-boot-starter-cache@3.5.6 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-config-client@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-config-client-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-config@4.3.0 › org.springframework.cloud:spring-cloud-config-client@4.3.0 › org.springframework.cloud:spring-cloud-starter@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.0 › org.springframework.cloud:spring-cloud-starter@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.0 › org.springframework.boot:spring-boot-starter-cache@3.5.6 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18
Dual license: EPL-1.0, LGPL-2.1
medium severity
- Module: ch.qos.logback:logback-core
- Introduced through: io.pivotal.spring.cloud:spring-cloud-services-starter-config-client@4.3.0, io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 and others
Detailed paths
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-config-client@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › org.springframework.boot:spring-boot-starter-actuator@3.5.6 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › org.springframework.boot:spring-boot-starter-security@3.5.6 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › org.springframework.boot:spring-boot-starter-webflux@3.5.6 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-config-client@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-config-client-autoconfigure@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › org.springframework.boot:spring-boot-starter-webflux@3.5.6 › org.springframework.boot:spring-boot-starter-json@3.5.6 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-config-client@4.3.0 › org.springframework.cloud:spring-cloud-config-client@4.3.0 › org.springframework.cloud:spring-cloud-starter@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-starter@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-config-client@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-config-client-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-config@4.3.0 › org.springframework.cloud:spring-cloud-starter@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.0 › org.springframework.cloud:spring-cloud-starter@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-starter@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.0 › org.springframework.boot:spring-boot-starter-cache@3.5.6 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-config-client@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-config-client-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-config@4.3.0 › org.springframework.cloud:spring-cloud-config-client@4.3.0 › org.springframework.cloud:spring-cloud-starter@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.0 › org.springframework.cloud:spring-cloud-starter@4.3.0 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.0 › org.springframework.boot:spring-boot-starter-cache@3.5.6 › org.springframework.boot:spring-boot-starter@3.5.6 › org.springframework.boot:spring-boot-starter-logging@3.5.6 › ch.qos.logback:logback-classic@1.5.18 › ch.qos.logback:logback-core@1.5.18
Dual license: EPL-1.0, LGPL-2.1
medium severity
- Module: junit:junit
- Introduced through: io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0
Detailed paths
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.thoughtworks.xstream:xstream@1.4.20 › junit:junit@4.13.2
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.thoughtworks.xstream:xstream@1.4.20 › io.github.x-stream:mxparser@1.2.2 › junit:junit@4.13.2
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.thoughtworks.xstream:xstream@1.4.20 › jmock:jmock@1.0.1 › junit:junit@4.13.2
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.thoughtworks.xstream:xstream@1.4.20 › junit:junit@4.13.2
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.thoughtworks.xstream:xstream@1.4.20 › junit:junit@4.13.2
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.thoughtworks.xstream:xstream@1.4.20 › io.github.x-stream:mxparser@1.2.2 › junit:junit@4.13.2
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.thoughtworks.xstream:xstream@1.4.20 › io.github.x-stream:mxparser@1.2.2 › junit:junit@4.13.2
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.thoughtworks.xstream:xstream@1.4.20 › jmock:jmock@1.0.1 › junit:junit@4.13.2
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.thoughtworks.xstream:xstream@1.4.20 › jmock:jmock@1.0.1 › junit:junit@4.13.2
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.thoughtworks.xstream:xstream@1.4.20 › junit:junit@4.13.2
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.thoughtworks.xstream:xstream@1.4.20 › io.github.x-stream:mxparser@1.2.2 › junit:junit@4.13.2
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.thoughtworks.xstream:xstream@1.4.20 › jmock:jmock@1.0.1 › junit:junit@4.13.2
EPL-1.0 license
low severity
- Vulnerable module: commons-codec:commons-codec
- Introduced through: io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0
Detailed paths
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › org.apache.httpcomponents:httpclient@4.5.3 › commons-codec:commons-codec@1.9
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › org.apache.httpcomponents:httpclient@4.5.3 › commons-codec:commons-codec@1.9
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › org.apache.httpcomponents:httpclient@4.5.3 › commons-codec:commons-codec@1.9
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › org.apache.httpcomponents:httpclient@4.5.3 › commons-codec:commons-codec@1.9
Overview
commons-codec:commons-codec is a package that contains simple encoder and decoders for various formats such as Base64 and Hexadecimal.
Affected versions of this package are vulnerable to Information Exposure. When there is no byte array value that can be encoded into a string the Base32 implementation does not reject it, and instead decodes it into an arbitrary value which can be re-encoded again using the same implementation. This allows for information exposure exploits such as tunneling additional information via seemingly valid base 32 strings.
Remediation
Upgrade commons-codec:commons-codec
to version 1.14 or higher.
References
low severity
- Vulnerable module: com.google.guava:guava
- Introduced through: io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0
Detailed paths
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.netflix.netflix-commons:netflix-eventbus@0.3.0 › com.netflix.netflix-commons:netflix-infix@0.3.0 › com.google.guava:guava@14.0.1
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.netflix.netflix-commons:netflix-eventbus@0.3.0 › com.netflix.servo:servo-core@0.5.3 › com.google.guava:guava@14.0.1
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.netflix.netflix-commons:netflix-eventbus@0.3.0 › com.netflix.netflix-commons:netflix-infix@0.3.0 › com.google.guava:guava@14.0.1
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.netflix.netflix-commons:netflix-eventbus@0.3.0 › com.netflix.netflix-commons:netflix-infix@0.3.0 › com.google.guava:guava@14.0.1
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.netflix.netflix-commons:netflix-eventbus@0.3.0 › com.netflix.servo:servo-core@0.5.3 › com.google.guava:guava@14.0.1
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.netflix.netflix-commons:netflix-eventbus@0.3.0 › com.netflix.servo:servo-core@0.5.3 › com.google.guava:guava@14.0.1
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.netflix.netflix-commons:netflix-eventbus@0.3.0 › com.netflix.netflix-commons:netflix-infix@0.3.0 › com.google.guava:guava@14.0.1
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.netflix.netflix-commons:netflix-eventbus@0.3.0 › com.netflix.servo:servo-core@0.5.3 › com.google.guava:guava@14.0.1
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: io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0
Detailed paths
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.netflix.netflix-commons:netflix-eventbus@0.3.0 › com.netflix.netflix-commons:netflix-infix@0.3.0 › com.google.guava:guava@14.0.1
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.netflix.netflix-commons:netflix-eventbus@0.3.0 › com.netflix.servo:servo-core@0.5.3 › com.google.guava:guava@14.0.1
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.netflix.netflix-commons:netflix-eventbus@0.3.0 › com.netflix.netflix-commons:netflix-infix@0.3.0 › com.google.guava:guava@14.0.1
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.netflix.netflix-commons:netflix-eventbus@0.3.0 › com.netflix.netflix-commons:netflix-infix@0.3.0 › com.google.guava:guava@14.0.1
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.netflix.netflix-commons:netflix-eventbus@0.3.0 › com.netflix.servo:servo-core@0.5.3 › com.google.guava:guava@14.0.1
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.netflix.netflix-commons:netflix-eventbus@0.3.0 › com.netflix.servo:servo-core@0.5.3 › com.google.guava:guava@14.0.1
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.netflix.netflix-commons:netflix-eventbus@0.3.0 › com.netflix.netflix-commons:netflix-infix@0.3.0 › com.google.guava:guava@14.0.1
-
Introduced through: cf-toolsuite/cf-hoover@cf-toolsuite/cf-hoover#1d3c6359224b822938ec678b66c0caa8d8dd8a73 › io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry@4.3.0 › io.pivotal.spring.cloud:spring-cloud-services-service-registry-autoconfigure@4.3.0 › org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.3.0 › org.springframework.cloud:spring-cloud-netflix-eureka-client@4.3.0 › com.netflix.eureka:eureka-client@2.0.4 › com.netflix.netflix-commons:netflix-eventbus@0.3.0 › com.netflix.servo:servo-core@0.5.3 › com.google.guava:guava@14.0.1
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.