Vulnerabilities

30 via 178 paths

Dependencies

209

Source

GitHub

Find, fix and prevent vulnerabilities in your code.

Issue type
  • 30
  • 10
Severity
  • 23
  • 13
  • 4
Status
  • 40
  • 0
  • 0

high severity

Uncontrolled Recursion

  • Vulnerable module: org.apache.commons:commons-lang3
  • Introduced through: com.microsoft.azure:azure-storage@8.6.6, org.apache.poi:poi-ooxml@5.5.1 and others

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api com.microsoft.azure:azure-storage@8.6.6 org.apache.commons:commons-lang3@3.4
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api com.microsoft.azure:azure-storage@8.6.6 com.microsoft.azure:azure-keyvault-core@1.2.4 org.apache.commons:commons-lang3@3.4
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.apache.poi:poi-ooxml@5.5.1 org.apache.commons:commons-compress@1.28.0 org.apache.commons:commons-lang3@3.4
    Remediation: Upgrade to org.apache.poi:poi-ooxml@5.5.1.
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.2 org.springframework.cloud:spring-cloud-openfeign-core@5.0.2 io.github.openfeign:feign-form-spring@13.6.1 org.apache.commons:commons-text@1.13.0 org.apache.commons:commons-lang3@3.4

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

Out-of-bounds Read

  • Vulnerable module: org.lz4:lz4-java
  • Introduced through: org.elasticsearch:elasticsearch@9.1.2

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.elasticsearch:elasticsearch@9.1.2 org.elasticsearch:elasticsearch-lz4@9.1.2 org.lz4:lz4-java@1.8.0
    Remediation: Upgrade to org.elasticsearch:elasticsearch@9.1.9.

Overview

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

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

Workaround

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

Notes

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

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

Remediation

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

References

high severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: com.fasterxml.jackson.core:jackson-core
  • Introduced through: co.elastic.clients:elasticsearch-java@9.1.2, com.microsoft.azure:azure-storage@8.6.6 and others

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api co.elastic.clients:elasticsearch-java@9.1.2 com.fasterxml.jackson.core:jackson-core@2.9.4
    Remediation: Upgrade to co.elastic.clients:elasticsearch-java@9.2.7.
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api com.microsoft.azure:azure-storage@8.6.6 com.fasterxml.jackson.core:jackson-core@2.9.4
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api co.elastic.clients:elasticsearch-java@9.1.2 com.fasterxml.jackson.core:jackson-databind@2.12.7.1 com.fasterxml.jackson.core:jackson-core@2.9.4
    Remediation: Upgrade to co.elastic.clients:elasticsearch-java@9.2.7.
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api io.jsonwebtoken:jjwt-jackson@0.13.0 com.fasterxml.jackson.core:jackson-databind@2.12.7.1 com.fasterxml.jackson.core:jackson-core@2.9.4

Overview

com.fasterxml.jackson.core:jackson-core is a Core Jackson abstractions, basic JSON streaming API implementation

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 com.fasterxml.jackson.core:jackson-core to version 2.18.6, 2.21.1 or higher.

References

high severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: com.fasterxml.jackson.core:jackson-core
  • Introduced through: co.elastic.clients:elasticsearch-java@9.1.2, com.microsoft.azure:azure-storage@8.6.6 and others

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api co.elastic.clients:elasticsearch-java@9.1.2 com.fasterxml.jackson.core:jackson-core@2.9.4
    Remediation: Upgrade to co.elastic.clients:elasticsearch-java@9.2.8.
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api com.microsoft.azure:azure-storage@8.6.6 com.fasterxml.jackson.core:jackson-core@2.9.4
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api co.elastic.clients:elasticsearch-java@9.1.2 com.fasterxml.jackson.core:jackson-databind@2.12.7.1 com.fasterxml.jackson.core:jackson-core@2.9.4
    Remediation: Upgrade to co.elastic.clients:elasticsearch-java@9.2.8.
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api io.jsonwebtoken:jjwt-jackson@0.13.0 com.fasterxml.jackson.core:jackson-databind@2.12.7.1 com.fasterxml.jackson.core:jackson-core@2.9.4

Overview

com.fasterxml.jackson.core:jackson-core is a Core Jackson abstractions, basic JSON streaming API implementation

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 com.fasterxml.jackson.core:jackson-core to version 2.18.7, 2.21.2 or higher.

References

high severity

Denial of Service (DoS)

  • Vulnerable module: com.fasterxml.jackson.core:jackson-core
  • Introduced through: co.elastic.clients:elasticsearch-java@9.1.2, com.microsoft.azure:azure-storage@8.6.6 and others

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api co.elastic.clients:elasticsearch-java@9.1.2 com.fasterxml.jackson.core:jackson-core@2.9.4
    Remediation: Upgrade to co.elastic.clients:elasticsearch-java@9.1.2.
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api com.microsoft.azure:azure-storage@8.6.6 com.fasterxml.jackson.core:jackson-core@2.9.4
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api co.elastic.clients:elasticsearch-java@9.1.2 com.fasterxml.jackson.core:jackson-databind@2.12.7.1 com.fasterxml.jackson.core:jackson-core@2.9.4
    Remediation: Upgrade to co.elastic.clients:elasticsearch-java@9.1.2.
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api io.jsonwebtoken:jjwt-jackson@0.13.0 com.fasterxml.jackson.core:jackson-databind@2.12.7.1 com.fasterxml.jackson.core:jackson-core@2.9.4

Overview

com.fasterxml.jackson.core:jackson-core is a Core Jackson abstractions, basic JSON streaming API implementation

Affected versions of this package are vulnerable to Denial of Service (DoS) due to missing input size validation when performing numeric type conversions. A remote attacker can exploit this vulnerability by causing the application to deserialize data containing certain numeric types with large values, causing the application to exhaust all available resources.

Details

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

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

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

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

Two common types of DoS vulnerabilities:

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

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

Remediation

Upgrade com.fasterxml.jackson.core:jackson-core to version 2.15.0-rc1 or higher.

References

high severity

Stack-based Buffer Overflow

  • Vulnerable module: com.fasterxml.jackson.core:jackson-core
  • Introduced through: co.elastic.clients:elasticsearch-java@9.1.2, com.microsoft.azure:azure-storage@8.6.6 and others

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api co.elastic.clients:elasticsearch-java@9.1.2 com.fasterxml.jackson.core:jackson-core@2.9.4
    Remediation: Upgrade to co.elastic.clients:elasticsearch-java@9.1.2.
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api com.microsoft.azure:azure-storage@8.6.6 com.fasterxml.jackson.core:jackson-core@2.9.4
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api co.elastic.clients:elasticsearch-java@9.1.2 com.fasterxml.jackson.core:jackson-databind@2.12.7.1 com.fasterxml.jackson.core:jackson-core@2.9.4
    Remediation: Upgrade to co.elastic.clients:elasticsearch-java@9.1.2.
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api io.jsonwebtoken:jjwt-jackson@0.13.0 com.fasterxml.jackson.core:jackson-databind@2.12.7.1 com.fasterxml.jackson.core:jackson-core@2.9.4

Overview

com.fasterxml.jackson.core:jackson-core is a Core Jackson abstractions, basic JSON streaming API implementation

Affected versions of this package are vulnerable to Stack-based Buffer Overflow due to the parse process, which accepts an unlimited input file with deeply nested data. An attacker can cause a stack overflow and crash the application by providing input files with excessively deep nesting.

Remediation

Upgrade com.fasterxml.jackson.core:jackson-core to version 2.15.0-rc1 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.1.2

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api co.elastic.clients:elasticsearch-java@9.1.2 io.opentelemetry:opentelemetry-api@1.32.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@5.0.2 and org.springframework.cloud:spring-cloud-starter-openfeign@5.0.2

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.cloud:spring-cloud-starter@5.0.2 org.bouncycastle:bcprov-jdk18on@1.81.1
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.2 org.springframework.cloud:spring-cloud-starter@5.0.2 org.bouncycastle:bcprov-jdk18on@1.81.1

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

Timing Attack

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

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.cloud:spring-cloud-starter@5.0.2 org.bouncycastle:bcprov-jdk18on@1.81.1
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.2 org.springframework.cloud:spring-cloud-starter@5.0.2 org.bouncycastle:bcprov-jdk18on@1.81.1

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

Insertion of Sensitive Information Into Sent Data

  • Vulnerable module: org.lz4:lz4-java
  • Introduced through: org.elasticsearch:elasticsearch@9.1.2

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.elasticsearch:elasticsearch@9.1.2 org.elasticsearch:elasticsearch-lz4@9.1.2 org.lz4:lz4-java@1.8.0

Overview

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

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

Note:

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

Workaround

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

Remediation

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

References

high severity

Improper Encoding or Escaping of Output

  • Vulnerable module: org.apache.logging.log4j:log4j-core
  • Introduced through: org.elasticsearch:elasticsearch@9.1.2

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.elasticsearch:elasticsearch@9.1.2 org.apache.logging.log4j:log4j-core@2.19.0
    Remediation: Upgrade to org.elasticsearch:elasticsearch@9.3.5.

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

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.elasticsearch:elasticsearch@9.1.2 org.apache.logging.log4j:log4j-core@2.19.0
    Remediation: Upgrade to org.elasticsearch:elasticsearch@9.3.5.

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: ch.qos.logback:logback-classic
  • Introduced through: com.microsoft.azure:applicationinsights-logging-logback@2.6.4, org.springframework.boot:spring-boot-starter-cache@4.1.0 and others

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-client@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.cloud:spring-cloud-starter@5.0.2 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter@5.0.2.
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-client@4.1.0 org.springframework.boot:spring-boot-starter-security@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.2 org.springframework.cloud:spring-cloud-starter@5.0.2 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter-openfeign@5.0.2.

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-cache@4.1.0 and others

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-client@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.cloud:spring-cloud-starter@5.0.2 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter@5.0.2.
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-client@4.1.0 org.springframework.boot:spring-boot-starter-security@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.2 org.springframework.cloud:spring-cloud-starter@5.0.2 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter-openfeign@5.0.2.

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-cache@4.1.0 and others

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-client@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.cloud:spring-cloud-starter@5.0.2 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter@5.0.2.
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-client@4.1.0 org.springframework.boot:spring-boot-starter-security@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.2 org.springframework.cloud:spring-cloud-starter@5.0.2 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter-openfeign@5.0.2.

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-cache@4.1.0 and others

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-client@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.cloud:spring-cloud-starter@5.0.2 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter@5.0.2.
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-client@4.1.0 org.springframework.boot:spring-boot-starter-security@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.2 org.springframework.cloud:spring-cloud-starter@5.0.2 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter-openfeign@5.0.2.

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

AGPL-3.0 license

  • Module: org.elasticsearch:elasticsearch-entitlement
  • Introduced through: org.elasticsearch:elasticsearch@9.1.2

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.elasticsearch:elasticsearch@9.1.2 org.elasticsearch:elasticsearch-entitlement@9.1.2

AGPL-3.0 license

high severity

AGPL-3.0 license

  • Module: org.elasticsearch:elasticsearch-grok
  • Introduced through: org.elasticsearch:elasticsearch@9.1.2

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.elasticsearch:elasticsearch@9.1.2 org.elasticsearch:elasticsearch-grok@9.1.2

AGPL-3.0 license

high severity

AGPL-3.0 license

  • Module: org.elasticsearch:elasticsearch-logging
  • Introduced through: org.elasticsearch:elasticsearch@9.1.2

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.elasticsearch:elasticsearch@9.1.2 org.elasticsearch:elasticsearch-logging@9.1.2
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.elasticsearch:elasticsearch@9.1.2 org.elasticsearch:elasticsearch-cli@9.1.2 org.elasticsearch:elasticsearch-logging@9.1.2
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.elasticsearch:elasticsearch@9.1.2 org.elasticsearch:elasticsearch-native@9.1.2 org.elasticsearch:elasticsearch-logging@9.1.2
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.elasticsearch:elasticsearch@9.1.2 org.elasticsearch:elasticsearch-simdvec@9.1.2 org.elasticsearch:elasticsearch-logging@9.1.2
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.elasticsearch:elasticsearch@9.1.2 org.elasticsearch:elasticsearch-simdvec@9.1.2 org.elasticsearch:elasticsearch-native@9.1.2 org.elasticsearch:elasticsearch-logging@9.1.2

AGPL-3.0 license

high severity

AGPL-3.0 license

  • Module: org.elasticsearch:elasticsearch-native
  • Introduced through: org.elasticsearch:elasticsearch@9.1.2

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.elasticsearch:elasticsearch@9.1.2 org.elasticsearch:elasticsearch-native@9.1.2
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.elasticsearch:elasticsearch@9.1.2 org.elasticsearch:elasticsearch-simdvec@9.1.2 org.elasticsearch:elasticsearch-native@9.1.2

AGPL-3.0 license

high severity

AGPL-3.0 license

  • Module: org.elasticsearch:elasticsearch-simdvec
  • Introduced through: org.elasticsearch:elasticsearch@9.1.2

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.elasticsearch:elasticsearch@9.1.2 org.elasticsearch:elasticsearch-simdvec@9.1.2

AGPL-3.0 license

high severity

AGPL-3.0 license

  • Module: org.elasticsearch.plugin:elasticsearch-plugin-analysis-api
  • Introduced through: org.elasticsearch:elasticsearch@9.1.2

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.elasticsearch:elasticsearch@9.1.2 org.elasticsearch.plugin:elasticsearch-plugin-analysis-api@9.1.2

AGPL-3.0 license

high severity

AGPL-3.0 license

  • Module: org.elasticsearch.plugin:elasticsearch-plugin-api
  • Introduced through: org.elasticsearch:elasticsearch@9.1.2

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.elasticsearch:elasticsearch@9.1.2 org.elasticsearch.plugin:elasticsearch-plugin-api@9.1.2
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.elasticsearch:elasticsearch@9.1.2 org.elasticsearch.plugin:elasticsearch-plugin-analysis-api@9.1.2 org.elasticsearch.plugin:elasticsearch-plugin-api@9.1.2

AGPL-3.0 license

medium severity

LDAP Injection

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

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.cloud:spring-cloud-starter@5.0.2 org.bouncycastle:bcprov-jdk18on@1.81.1
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.2 org.springframework.cloud:spring-cloud-starter@5.0.2 org.bouncycastle:bcprov-jdk18on@1.81.1

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

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: org.elasticsearch:elasticsearch
  • Introduced through: org.elasticsearch:elasticsearch@9.1.2

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.elasticsearch:elasticsearch@9.1.2
    Remediation: Upgrade to org.elasticsearch:elasticsearch@9.1.8.

Overview

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

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

Note:

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

Remediation

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

References

medium severity

Insertion of Sensitive Information into Log File

  • Vulnerable module: org.elasticsearch:elasticsearch
  • Introduced through: org.elasticsearch:elasticsearch@9.1.2

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.elasticsearch:elasticsearch@9.1.2
    Remediation: Upgrade to org.elasticsearch:elasticsearch@9.1.5.

Overview

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

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

Remediation

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

References

medium severity

Improper Validation of Certificate with Host Mismatch

  • Vulnerable module: org.apache.logging.log4j:log4j-core
  • Introduced through: org.elasticsearch:elasticsearch@9.1.2

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.elasticsearch:elasticsearch@9.1.2 org.apache.logging.log4j:log4j-core@2.19.0
    Remediation: Upgrade to org.elasticsearch:elasticsearch@9.3.5.

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

Improper Validation of Certificate with Host Mismatch

  • Vulnerable module: org.apache.logging.log4j:log4j-core
  • Introduced through: org.elasticsearch:elasticsearch@9.1.2

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.elasticsearch:elasticsearch@9.1.2 org.apache.logging.log4j:log4j-core@2.19.0
    Remediation: Upgrade to org.elasticsearch:elasticsearch@9.3.5.

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 when configured through the verifyHostName attribute of the <Ssl> element. An attacker can intercept and manipulate network traffic by presenting a certificate issued by a trusted certificate authority to the appender's configured trust store, or the default Java trust store if none is configured. This is only exploitable if an SMTP, Socket, or Syslog appender is in use and TLS is configured via a nested element.

Note:

This issue is due to incomplete fix for CVE-2025-68161.

Remediation

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

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-cache@4.1.0 and others

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-client@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.cloud:spring-cloud-starter@5.0.2 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter@5.0.2.
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-client@4.1.0 org.springframework.boot:spring-boot-starter-security@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.2 org.springframework.cloud:spring-cloud-starter@5.0.2 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter-openfeign@5.0.2.

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-cache@4.1.0 and others

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-client@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.cloud:spring-cloud-starter@5.0.2 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter@5.0.2.
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-client@4.1.0 org.springframework.boot:spring-boot-starter-security@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.2 org.springframework.cloud:spring-cloud-starter@5.0.2 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter-openfeign@5.0.2.

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-cache@4.1.0 and others

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-client@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.cloud:spring-cloud-starter@5.0.2 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter@5.0.2.
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-client@4.1.0 org.springframework.boot:spring-boot-starter-security@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.2 org.springframework.cloud:spring-cloud-starter@5.0.2 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter-openfeign@5.0.2.

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

Information Exposure

  • Vulnerable module: com.fasterxml.jackson.core:jackson-core
  • Introduced through: co.elastic.clients:elasticsearch-java@9.1.2, com.microsoft.azure:azure-storage@8.6.6 and others

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api co.elastic.clients:elasticsearch-java@9.1.2 com.fasterxml.jackson.core:jackson-core@2.9.4
    Remediation: Upgrade to co.elastic.clients:elasticsearch-java@9.1.2.
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api com.microsoft.azure:azure-storage@8.6.6 com.fasterxml.jackson.core:jackson-core@2.9.4
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api co.elastic.clients:elasticsearch-java@9.1.2 com.fasterxml.jackson.core:jackson-databind@2.12.7.1 com.fasterxml.jackson.core:jackson-core@2.9.4
    Remediation: Upgrade to co.elastic.clients:elasticsearch-java@9.1.2.
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api io.jsonwebtoken:jjwt-jackson@0.13.0 com.fasterxml.jackson.core:jackson-databind@2.12.7.1 com.fasterxml.jackson.core:jackson-core@2.9.4

Overview

com.fasterxml.jackson.core:jackson-core is a Core Jackson abstractions, basic JSON streaming API implementation

Affected versions of this package are vulnerable to Information Exposure due to the JsonLocation._appendSourceDesc method. An attacker can access up to 500 bytes of unintended memory content by exploiting exception messages that incorrectly read from the beginning of a byte array instead of the logical payload start.

Workaround

This vulnerability can be mitigated by disabling exception message exposure to clients to avoid returning parsing exception messages in HTTP responses and/or disabling source inclusion in exceptions to prevent Jackson from embedding any source content in exception messages, avoiding leakage.

PoC


byte[] buffer = new byte[1000];
System.arraycopy("SECRET".getBytes(), 0, buffer, 0, 6);
System.arraycopy("{ \"bad\": }".getBytes(), 0, buffer, 700, 10);

JsonFactory factory = new JsonFactory();
JsonParser parser = factory.createParser(buffer, 700, 20);
parser.nextToken(); // throws exception

// Exception message will include "SECRET"

Remediation

Upgrade com.fasterxml.jackson.core:jackson-core to version 2.13.0-rc1 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-cache@4.1.0 and others

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-client@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.cloud:spring-cloud-starter@5.0.2 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter@5.0.2.
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-client@4.1.0 org.springframework.boot:spring-boot-starter-security@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.2 org.springframework.cloud:spring-cloud-starter@5.0.2 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter-openfeign@5.0.2.

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-cache@4.1.0 and others

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-client@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.cloud:spring-cloud-starter@5.0.2 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-client@4.1.0 org.springframework.boot:spring-boot-starter-security@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.2 org.springframework.cloud:spring-cloud-starter@5.0.2 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 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-cache@4.1.0 and others

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-client@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.cloud:spring-cloud-starter@5.0.2 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-client@4.1.0 org.springframework.boot:spring-boot-starter-security@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.2 org.springframework.cloud:spring-cloud-starter@5.0.2 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 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: org.hibernate.orm:hibernate-core
  • Introduced through: org.hibernate.orm:hibernate-core@6.6.50.Final and org.springframework.boot:spring-boot-starter-data-jpa@4.1.0

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.hibernate.orm:hibernate-core@6.6.50.Final
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-data-jpa@4.1.0 org.springframework.boot:spring-boot-hibernate@4.1.0 org.hibernate.orm:hibernate-core@6.6.50.Final

LGPL-2.1 license

low severity

Creation of Temporary File in Directory with Insecure Permissions

  • Vulnerable module: com.google.guava:guava
  • Introduced through: com.microsoft.azure:azure-storage@8.6.6

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api com.microsoft.azure:azure-storage@8.6.6 com.microsoft.azure:azure-keyvault-core@1.2.4 com.google.guava:guava@24.1.1-jre

Overview

com.google.guava:guava is a set of core libraries that includes new collection types (such as multimap and multiset,immutable collections, a graph library, functional types, an in-memory cache and more.

Affected versions of this package are vulnerable to Creation of Temporary File in Directory with Insecure Permissions due to the use of Java's default temporary directory for file creation in FileBackedOutputStream. Other users and apps on the machine with access to the default Java temporary directory can access the files created by this class. This more fully addresses the underlying issue described in CVE-2020-8908, by deprecating the permissive temp file creation behavior.

NOTE: Even though the security vulnerability is fixed in version 32.0.0, the maintainers recommend using version 32.0.1, as version 32.0.0 breaks some functionality under Windows.

Remediation

Upgrade com.google.guava:guava to version 32.0.0-android, 32.0.0-jre or higher.

References

low severity

Information Disclosure

  • Vulnerable module: com.google.guava:guava
  • Introduced through: com.microsoft.azure:azure-storage@8.6.6

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api com.microsoft.azure:azure-storage@8.6.6 com.microsoft.azure:azure-keyvault-core@1.2.4 com.google.guava:guava@24.1.1-jre

Overview

com.google.guava:guava is a set of core libraries that includes new collection types (such as multimap and multiset,immutable collections, a graph library, functional types, an in-memory cache and more.

Affected versions of this package are vulnerable to Information Disclosure. The file permissions on the file created by com.google.common.io.Files.createTempDir allow an attacker running a malicious program co-resident on the same machine to steal secrets stored in this directory. This is because, by default, on unix-like operating systems the /tmp directory is shared between all users, so if the correct file permissions aren't set by the directory/file creator, the file becomes readable by all other users on that system.

PoC

File guavaTempDir = com.google.common.io.Files.createTempDir();
System.out.println("Guava Temp Dir: " + guavaTempDir.getName());
runLS(guavaTempDir.getParentFile(), guavaTempDir); // Prints the file permissions -> drwxr-xr-x
File child = new File(guavaTempDir, "guava-child.txt");
child.createNewFile();
runLS(guavaTempDir, child); // Prints the file permissions -> -rw-r--r--

For Android developers, choosing a temporary directory API provided by Android is recommended, such as context.getCacheDir(). For other Java developers, we recommend migrating to the Java 7 API java.nio.file.Files.createTempDirectory() which explicitly configures permissions of 700, or configuring the Java runtime's java.io.tmpdir system property to point to a location whose permissions are appropriately configured.

Remediation

There is no fix for com.google.guava:guava. However, in version 30.0 and above, the vulnerable functionality has been deprecated. In oder to mitigate this vulnerability, upgrade to version 30.0 or higher and ensure your dependencies don't use the createTempDir or createTempFile methods.

References

low severity

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-cache@4.1.0 and others

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-client@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.cloud:spring-cloud-starter@5.0.2 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter@5.0.2.
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-client@4.1.0 org.springframework.boot:spring-boot-starter-security@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.2 org.springframework.cloud:spring-cloud-starter@5.0.2 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter-openfeign@5.0.2.

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

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-cache@4.1.0 and others

Detailed paths

  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api com.microsoft.azure:applicationinsights-logging-logback@2.6.4 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-cache@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-data-jpa@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-client@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-resource-server@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-validation@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.cloud:spring-cloud-starter@5.0.2 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter@5.0.2.
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.boot:spring-boot-starter-oauth2-client@4.1.0 org.springframework.boot:spring-boot-starter-security@4.1.0 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-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.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
  • Introduced through: hmcts/ccd-definition-store-api@hmcts/ccd-definition-store-api org.springframework.cloud:spring-cloud-starter-openfeign@5.0.2 org.springframework.cloud:spring-cloud-starter@5.0.2 org.springframework.boot:spring-boot-starter@4.0.7 org.springframework.boot:spring-boot-starter-logging@4.0.7 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to org.springframework.cloud:spring-cloud-starter-openfeign@5.0.2.

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