Vulnerabilities

22 via 57 paths

Dependencies

25

Source

GitHub

Commit

62c2493d

Find, fix and prevent vulnerabilities in your code.

Issue type
  • 22
  • 2
Severity
  • 9
  • 8
  • 7
Status
  • 24
  • 0
  • 0

high severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: com.fasterxml.jackson.core:jackson-core
  • Introduced through: com.fasterxml.jackson.core:jackson-core@2.16.0 and com.fasterxml.jackson.core:jackson-databind@2.16.0

Detailed paths

  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 com.fasterxml.jackson.core:jackson-core@2.16.0
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-core@2.18.6.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 com.fasterxml.jackson.core:jackson-databind@2.16.0 com.fasterxml.jackson.core:jackson-core@2.16.0
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.18.6.

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

Incorrect Authorization

  • Vulnerable module: org.springframework:spring-core
  • Introduced through: org.springframework.boot:spring-boot-starter@3.2.0 and org.springframework:spring-web@6.1.2

Detailed paths

  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework:spring-core@6.1.1
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.10.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework:spring-web@6.1.2 org.springframework:spring-core@6.1.1
    Remediation: Upgrade to org.springframework:spring-web@6.2.11.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework:spring-web@6.1.2 org.springframework:spring-beans@6.1.2 org.springframework:spring-core@6.1.1
    Remediation: Upgrade to org.springframework:spring-web@6.2.11.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-core@6.1.1
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.10.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-context@6.1.1 org.springframework:spring-core@6.1.1
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.10.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot-autoconfigure@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-core@6.1.1
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.10.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-context@6.1.1 org.springframework:spring-beans@6.1.2 org.springframework:spring-core@6.1.1
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.10.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-context@6.1.1 org.springframework:spring-aop@6.1.1 org.springframework:spring-core@6.1.1
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.10.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-context@6.1.1 org.springframework:spring-expression@6.1.1 org.springframework:spring-core@6.1.1
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.10.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot-autoconfigure@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-context@6.1.1 org.springframework:spring-core@6.1.1
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.10.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-context@6.1.1 org.springframework:spring-aop@6.1.1 org.springframework:spring-beans@6.1.2 org.springframework:spring-core@6.1.1
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.10.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot-autoconfigure@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-context@6.1.1 org.springframework:spring-beans@6.1.2 org.springframework:spring-core@6.1.1
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.10.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot-autoconfigure@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-context@6.1.1 org.springframework:spring-aop@6.1.1 org.springframework:spring-core@6.1.1
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.10.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot-autoconfigure@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-context@6.1.1 org.springframework:spring-expression@6.1.1 org.springframework:spring-core@6.1.1
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.10.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot-autoconfigure@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-context@6.1.1 org.springframework:spring-aop@6.1.1 org.springframework:spring-beans@6.1.2 org.springframework:spring-core@6.1.1
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.10.

Overview

org.springframework:spring-core is a core package within the spring-framework that contains multiple classes and utilities.

Affected versions of this package are vulnerable to Incorrect Authorization via the AnnotationsScanner and AnnotatedMethod class. An attacker can gain unauthorized access to sensitive information by exploiting improper resolution of annotations on methods within type hierarchies that use parameterized supertypes with unbounded generics.

Note: This is only exploitable if security annotations are used on methods in generic superclasses or generic interfaces and the @EnableMethodSecurity feature is enabled.

Remediation

Upgrade org.springframework:spring-core to version 6.2.11 or higher.

References

high severity

Relative Path Traversal

  • Vulnerable module: org.springframework:spring-beans
  • Introduced through: org.springframework:spring-web@6.1.2 and org.springframework.boot:spring-boot-starter@3.2.0

Detailed paths

  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework:spring-web@6.1.2 org.springframework:spring-beans@6.1.2
    Remediation: Upgrade to org.springframework:spring-web@6.2.10.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-context@6.1.1 org.springframework:spring-beans@6.1.2
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.9.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-context@6.1.1 org.springframework:spring-aop@6.1.1 org.springframework:spring-beans@6.1.2
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.9.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot-autoconfigure@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-context@6.1.1 org.springframework:spring-beans@6.1.2
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.9.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot-autoconfigure@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-context@6.1.1 org.springframework:spring-aop@6.1.1 org.springframework:spring-beans@6.1.2
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.9.

Overview

org.springframework:spring-beans is a package that is the basis for Spring Framework's IoC container. The BeanFactory interface provides an advanced configuration mechanism capable of managing any type of object.

Affected versions of this package are vulnerable to Relative Path Traversal when deployed on non-compliant Servlet containers. An unauthenticated attacker could gain access to files and directories outside the intended web root.

Notes:

  1. This is only exploitable if the application is deployed as a WAR or with an embedded Servlet container, the Servlet container does not reject suspicious sequences and the application serves static resources with Spring resource handling.

  2. Applications deployed on Apache Tomcat or Eclipse Jetty are not vulnerable, as long as default security features are not disabled in the configuration.

  3. This vulnerability was also fixed in the commercial versions 6.1.22 and 5.3.44.

Remediation

Upgrade org.springframework:spring-beans to version 6.2.10 or higher.

References

high severity

Denial of Service (DoS)

  • Vulnerable module: ch.qos.logback:logback-classic
  • Introduced through: org.springframework.boot:spring-boot-starter@3.2.0

Detailed paths

  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot-starter-logging@3.2.0 ch.qos.logback:logback-classic@1.4.11
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.1.

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: org.springframework.boot:spring-boot-starter@3.2.0

Detailed paths

  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot-starter-logging@3.2.0 ch.qos.logback:logback-classic@1.4.11
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.1.

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: org.springframework.boot:spring-boot-starter@3.2.0

Detailed paths

  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot-starter-logging@3.2.0 ch.qos.logback:logback-classic@1.4.11 ch.qos.logback:logback-core@1.4.11
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.1.

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: org.springframework.boot:spring-boot-starter@3.2.0

Detailed paths

  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot-starter-logging@3.2.0 ch.qos.logback:logback-classic@1.4.11 ch.qos.logback:logback-core@1.4.11
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.1.

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

Open Redirect

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: org.springframework:spring-web@6.1.2

Detailed paths

  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework:spring-web@6.1.2
    Remediation: Upgrade to org.springframework:spring-web@6.1.4.

Overview

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

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

Remediation

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

References

high severity

Open Redirect

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: org.springframework:spring-web@6.1.2

Detailed paths

  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework:spring-web@6.1.2
    Remediation: Upgrade to org.springframework:spring-web@6.1.5.

Overview

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

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

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

Remediation

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

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: org.springframework:spring-web@6.1.2

Detailed paths

  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework:spring-web@6.1.2
    Remediation: Upgrade to org.springframework:spring-web@6.1.12.

Overview

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

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

Workaround

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

Details

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

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

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

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

Two common types of DoS vulnerabilities:

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

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

Remediation

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

References

medium severity

Improper Neutralization of Special Elements

  • Vulnerable module: ch.qos.logback:logback-classic
  • Introduced through: org.springframework.boot:spring-boot-starter@3.2.0

Detailed paths

  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot-starter-logging@3.2.0 ch.qos.logback:logback-classic@1.4.11
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.3.8.

Overview

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

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

Remediation

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

References

medium severity

External Initialization of Trusted Variables or Data Stores

  • Vulnerable module: ch.qos.logback:logback-core
  • Introduced through: org.springframework.boot:spring-boot-starter@3.2.0

Detailed paths

  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot-starter-logging@3.2.0 ch.qos.logback:logback-classic@1.4.11 ch.qos.logback:logback-core@1.4.11
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.11.

Overview

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

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

Remediation

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

References

medium severity

Improper Neutralization of Special Elements

  • Vulnerable module: ch.qos.logback:logback-core
  • Introduced through: org.springframework.boot:spring-boot-starter@3.2.0

Detailed paths

  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot-starter-logging@3.2.0 ch.qos.logback:logback-classic@1.4.11 ch.qos.logback:logback-core@1.4.11
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.3.8.

Overview

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

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

Remediation

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

References

medium severity

Open Redirect

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: org.springframework:spring-web@6.1.2

Detailed paths

  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework:spring-web@6.1.2
    Remediation: Upgrade to org.springframework:spring-web@6.1.6.

Overview

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

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

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

Remediation

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

References

medium severity

HTTP Response Splitting

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: org.springframework:spring-web@6.1.2

Detailed paths

  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework:spring-web@6.1.2
    Remediation: Upgrade to org.springframework:spring-web@6.1.21.

Overview

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

Affected versions of this package are vulnerable to HTTP Response Splitting via the Content-Disposition header where the filename parameter value could contain non-printable characters, causing parsing issues for HTTP clients. An attacker can cause the download of files containing malicious commands by injecting content into the response.

Notes:

  1. This is only exploitable if the header is prepared with org.springframework.http.ContentDisposition, the filename is set via ContentDisposition.Builder#filename(String, Charset), the value is derived from unsanitized user input, and the attacker can inject malicious content into the downloaded response.

  2. The vulnerability was also fixed in the 6.0.29 commercial version.

Remediation

Upgrade org.springframework:spring-web to version 6.1.21, 6.2.8 or higher.

References

medium severity

Dual license: EPL-1.0, LGPL-2.1

  • Module: ch.qos.logback:logback-classic
  • Introduced through: org.springframework.boot:spring-boot-starter@3.2.0

Detailed paths

  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot-starter-logging@3.2.0 ch.qos.logback:logback-classic@1.4.11

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: org.springframework.boot:spring-boot-starter@3.2.0

Detailed paths

  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot-starter-logging@3.2.0 ch.qos.logback:logback-classic@1.4.11 ch.qos.logback:logback-core@1.4.11

Dual license: EPL-1.0, LGPL-2.1

low severity

Server-side Request Forgery (SSRF)

  • Vulnerable module: ch.qos.logback:logback-core
  • Introduced through: org.springframework.boot:spring-boot-starter@3.2.0

Detailed paths

  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot-starter-logging@3.2.0 ch.qos.logback:logback-classic@1.4.11 ch.qos.logback:logback-core@1.4.11
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.3.8.

Overview

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

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

Remediation

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

References

low severity

Improper Handling of Case Sensitivity

  • Vulnerable module: org.springframework:spring-context
  • Introduced through: org.springframework.boot:spring-boot-starter@3.2.0

Detailed paths

  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-context@6.1.1
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.3.12.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot-autoconfigure@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-context@6.1.1
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.3.12.

Overview

Affected versions of this package are vulnerable to Improper Handling of Case Sensitivity due to an incomplete fix for CVE-2024-38820, where it is still possible to bypass the disallowedFields checks.

Note:

This vulnerability was also fixed in commercial versions 6.0.28 and 5.3.43.

Remediation

Upgrade org.springframework:spring-context to version 6.1.20, 6.2.7 or higher.

References

low severity

Improper Handling of Case Sensitivity

  • Vulnerable module: org.springframework:spring-context
  • Introduced through: org.springframework.boot:spring-boot-starter@3.2.0

Detailed paths

  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-context@6.1.1
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot-autoconfigure@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-context@6.1.1
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.

Overview

Affected versions of this package are vulnerable to Improper Handling of Case Sensitivity due to String.toLowerCase() having some Locale dependent exceptions that could potentially result in fields not protected as expected.

Note:

The fix for CVE-2022-22968 made disallowedFields patterns in DataBinder case insensitive.

This vulnerability was also fixed in commercial versions 5.3.41 and 6.0.25.

Remediation

Upgrade org.springframework:spring-context to version 6.1.14 or higher.

References

low severity

Improper Handling of Case Sensitivity

  • Vulnerable module: org.springframework:spring-core
  • Introduced through: org.springframework.boot:spring-boot-starter@3.2.0 and org.springframework:spring-web@6.1.2

Detailed paths

  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework:spring-core@6.1.1
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework:spring-web@6.1.2 org.springframework:spring-core@6.1.1
    Remediation: Upgrade to org.springframework:spring-web@6.1.14.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework:spring-web@6.1.2 org.springframework:spring-beans@6.1.2 org.springframework:spring-core@6.1.1
    Remediation: Upgrade to org.springframework:spring-web@6.1.14.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-core@6.1.1
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-context@6.1.1 org.springframework:spring-core@6.1.1
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot-autoconfigure@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-core@6.1.1
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-context@6.1.1 org.springframework:spring-beans@6.1.2 org.springframework:spring-core@6.1.1
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-context@6.1.1 org.springframework:spring-aop@6.1.1 org.springframework:spring-core@6.1.1
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-context@6.1.1 org.springframework:spring-expression@6.1.1 org.springframework:spring-core@6.1.1
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot-autoconfigure@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-context@6.1.1 org.springframework:spring-core@6.1.1
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-context@6.1.1 org.springframework:spring-aop@6.1.1 org.springframework:spring-beans@6.1.2 org.springframework:spring-core@6.1.1
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot-autoconfigure@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-context@6.1.1 org.springframework:spring-beans@6.1.2 org.springframework:spring-core@6.1.1
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot-autoconfigure@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-context@6.1.1 org.springframework:spring-aop@6.1.1 org.springframework:spring-core@6.1.1
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot-autoconfigure@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-context@6.1.1 org.springframework:spring-expression@6.1.1 org.springframework:spring-core@6.1.1
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.
  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot-autoconfigure@3.2.0 org.springframework.boot:spring-boot@3.2.0 org.springframework:spring-context@6.1.1 org.springframework:spring-aop@6.1.1 org.springframework:spring-beans@6.1.2 org.springframework:spring-core@6.1.1
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.

Overview

org.springframework:spring-core is a core package within the spring-framework that contains multiple classes and utilities.

Affected versions of this package are vulnerable to Improper Handling of Case Sensitivity due to String.toLowerCase() having some Locale dependent exceptions that could potentially result in fields not protected as expected.

Note:

The fix for CVE-2022-22968 made disallowedFields patterns in DataBinder case insensitive.

This vulnerability was also fixed in commercial versions 5.3.41 and 6.0.25.

Remediation

Upgrade org.springframework:spring-core to version 6.1.14 or higher.

References

low severity

Improper Handling of Case Sensitivity

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: org.springframework:spring-web@6.1.2

Detailed paths

  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework:spring-web@6.1.2
    Remediation: Upgrade to org.springframework:spring-web@6.1.14.

Overview

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

Affected versions of this package are vulnerable to Improper Handling of Case Sensitivity due to String.toLowerCase() having some Locale dependent exceptions that could potentially result in fields not protected as expected.

Note:

The fix for CVE-2022-22968 made disallowedFields patterns in DataBinder case insensitive.

This vulnerability was also fixed in commercial versions 5.3.41 and 6.0.25.

Remediation

Upgrade org.springframework:spring-web to version 6.1.14 or higher.

References

low severity
new

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

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: org.springframework:spring-web@6.1.2

Detailed paths

  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework:spring-web@6.1.2
    Remediation: Upgrade to org.springframework:spring-web@6.2.17.

Overview

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

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

Note:

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

Remediation

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

References

low severity

External Initialization of Trusted Variables or Data Stores

  • Vulnerable module: ch.qos.logback:logback-core
  • Introduced through: org.springframework.boot:spring-boot-starter@3.2.0

Detailed paths

  • Introduced through: clue2solve/Huggingface-Spring-Cloud-Starter@clue2solve/Huggingface-Spring-Cloud-Starter#62c2493deff3cac6d332911eec20c1e68dcbe6c4 org.springframework.boot:spring-boot-starter@3.2.0 org.springframework.boot:spring-boot-starter-logging@3.2.0 ch.qos.logback:logback-classic@1.4.11 ch.qos.logback:logback-core@1.4.11
    Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.5.10.

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