Vulnerabilities

11 via 21 paths

Dependencies

97

Source

GitHub

Find, fix and prevent vulnerabilities in your code.

Issue type
  • 11
  • 2
Severity
  • 1
  • 4
  • 6
  • 2
Status
  • 13
  • 0
  • 0

critical severity

HTTP Request Smuggling

  • Vulnerable module: org.eclipse.jetty:jetty-http
  • Introduced through: org.eclipse.jetty:jetty-servlet@9.4.58.v20250814

Detailed paths

  • Introduced through: Cantara/microservice-baseline@Cantara/microservice-baseline org.eclipse.jetty:jetty-servlet@9.4.58.v20250814 org.eclipse.jetty:jetty-security@9.4.58.v20250814 org.eclipse.jetty:jetty-server@9.4.58.v20250814 org.eclipse.jetty:jetty-http@9.4.58.v20250814

Overview

org.eclipse.jetty:jetty-http is an is a http module for jetty server.

Affected versions of this package are vulnerable to HTTP Request Smuggling in the HTTP/1.1 parser (HttpParser.java). An attacker can inject additional HTTP requests with chunked transfer encoding with improperly terminated quoted strings.

Remediation

Upgrade org.eclipse.jetty:jetty-http to version 12.0.33, 12.1.7 or higher.

References

high severity

Uncontrolled Recursion

  • Vulnerable module: commons-lang:commons-lang
  • Introduced through: org.constretto:constretto-core@2.2.3, org.constretto:constretto-spring@2.2.3 and others

Detailed paths

  • Introduced through: Cantara/microservice-baseline@Cantara/microservice-baseline org.constretto:constretto-core@2.2.3 org.constretto:constretto-api@2.2.3 commons-lang:commons-lang@2.6
  • Introduced through: Cantara/microservice-baseline@Cantara/microservice-baseline org.constretto:constretto-spring@2.2.3 org.constretto:constretto-api@2.2.3 commons-lang:commons-lang@2.6
  • Introduced through: Cantara/microservice-baseline@Cantara/microservice-baseline com.netflix.hystrix:hystrix-core@1.5.18 com.netflix.archaius:archaius-core@0.4.1 commons-configuration:commons-configuration@1.8 commons-lang:commons-lang@2.6
  • Introduced through: Cantara/microservice-baseline@Cantara/microservice-baseline org.constretto:constretto-spring@2.2.3 org.constretto:constretto-core@2.2.3 org.constretto:constretto-api@2.2.3 commons-lang:commons-lang@2.6

Overview

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

Remediation

There is no fixed version for commons-lang:commons-lang.

References

high severity

Out-of-bounds Read

  • Vulnerable module: net.jpountz.lz4:lz4
  • Introduced through: org.mapdb:mapdb@3.1.0

Detailed paths

  • Introduced through: Cantara/microservice-baseline@Cantara/microservice-baseline org.mapdb:mapdb@3.1.0 net.jpountz.lz4:lz4@1.3.0

Overview

net.jpountz.lz4:lz4 is a package for LZ4 compression for Java

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

There is no fixed version for net.jpountz.lz4:lz4.

References

high severity
new

Incorrect Implementation of Authentication Algorithm

  • Vulnerable module: org.eclipse.jetty:jetty-security
  • Introduced through: org.eclipse.jetty:jetty-servlet@9.4.58.v20250814

Detailed paths

  • Introduced through: Cantara/microservice-baseline@Cantara/microservice-baseline org.eclipse.jetty:jetty-servlet@9.4.58.v20250814 org.eclipse.jetty:jetty-security@9.4.58.v20250814

Overview

Affected versions of this package are vulnerable to Incorrect Implementation of Authentication Algorithm due to lossy ISO-8859-1 encoding in the digest hash computation. An attacker can log in as a user with a non-Latin-1 password by supplying a collision password that replaces each non-ASCII character with ?, producing the same digest response hash. The vulnerable code feeds the username/password material into getBytes(StandardCharsets.ISO_8859_1) when computing the digest values, so characters above U+00FF are silently substituted before hashing. That lets an attacker authenticate successfully with a different password while the victim’s Digest-authenticated account accepts the forged response.

Remediation

Upgrade org.eclipse.jetty:jetty-security to version 9.4.63, 10.0.31, 11.0.31, 12.0.36, 12.1.10 or higher.

References

high severity

Insertion of Sensitive Information Into Sent Data

  • Vulnerable module: net.jpountz.lz4:lz4
  • Introduced through: org.mapdb:mapdb@3.1.0

Detailed paths

  • Introduced through: Cantara/microservice-baseline@Cantara/microservice-baseline org.mapdb:mapdb@3.1.0 net.jpountz.lz4:lz4@1.3.0

Overview

net.jpountz.lz4:lz4 is a package for LZ4 compression for Java

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 net.jpountz.lz4:lz4.

References

medium severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: commons-configuration:commons-configuration
  • Introduced through: com.netflix.hystrix:hystrix-core@1.5.18

Detailed paths

  • Introduced through: Cantara/microservice-baseline@Cantara/microservice-baseline com.netflix.hystrix:hystrix-core@1.5.18 com.netflix.archaius:archaius-core@0.4.1 commons-configuration:commons-configuration@1.8

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling due several issues in the loading of untrusted configurations. An attacker can cause excessive resource consumption by manipulating the configuration data or introducing unexpected usage patterns. Users affected by this issue are recommended to upgrade to the 2.x version line org.apache.commons:commons-configuration2, which fixes these issues.

Note: This is only exploitable if the application is configured to load untrusted configurations.

Remediation

There is no fixed version for commons-configuration:commons-configuration.

References

medium severity
new

Improper Validation of Consistency within Input

  • Vulnerable module: org.eclipse.jetty:jetty-server
  • Introduced through: org.eclipse.jetty:jetty-servlet@9.4.58.v20250814

Detailed paths

  • Introduced through: Cantara/microservice-baseline@Cantara/microservice-baseline org.eclipse.jetty:jetty-servlet@9.4.58.v20250814 org.eclipse.jetty:jetty-security@9.4.58.v20250814 org.eclipse.jetty:jetty-server@9.4.58.v20250814

Overview

org.eclipse.jetty:jetty-server is a lightweight highly scalable java based web server and servlet engine.

Affected versions of this package are vulnerable to Improper Validation of Consistency within Input through ComplianceUtils.verify(HttpURI, HttpFields, HttpCompliance, ComplianceViolation.Listener) in jetty-core/jetty-http/src/main/java/org/eclipse/jetty/http/ComplianceUtils.java. An attacker can bypass host consistency checks by sending a request whose :authority pseudo-header and Host header name different hosts, causing Jetty to accept the request and expose conflicting host identities to different code paths. This lets attacker-controlled host information survive inside the request, so logic that relies on Request.getServerName() or the URI authority can see one host while code reading the raw Host header sees another. In deployments that use host-based routing, ACLs, redirects, or tenant isolation, this can lead to incorrect request handling, host-based access control bypass, and attacker-influenced URL generation or logging.

Notes

  • HTTP/1.1 already had its own authority/Host consistency path in HttpConnection/HttpChannelState; the gap was in the HTTP/2 and HTTP/3 server entry flow where the shared compliance check was invoked before that comparison happened.
  • The mismatch check only rejects when both values are present and differ after normalizing case and default ports, so requests with only one of :authority or Host present are not part of this issue.

Remediation

Upgrade org.eclipse.jetty:jetty-server to version 9.4.61, 10.0.29, 11.0.29, 12.0.35, 12.1.9 or higher.

References

medium severity

Deserialization of Untrusted Data

  • Vulnerable module: com.google.code.gson:gson
  • Introduced through: org.constretto:constretto-core@2.2.3 and org.constretto:constretto-spring@2.2.3

Detailed paths

  • Introduced through: Cantara/microservice-baseline@Cantara/microservice-baseline org.constretto:constretto-core@2.2.3 com.google.code.gson:gson@2.2.4
  • Introduced through: Cantara/microservice-baseline@Cantara/microservice-baseline org.constretto:constretto-spring@2.2.3 org.constretto:constretto-core@2.2.3 com.google.code.gson:gson@2.2.4

Overview

Affected versions of this package are vulnerable to Deserialization of Untrusted Data via the writeReplace() method in internal classes, which may allow a denial of service attack if combined with another exploit.

Details

Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating object from sequence of bytes is called deserialization. Serialization is commonly used for communication (sharing objects between multiple hosts) and persistence (store the object state in a file or a database). It is an integral part of popular protocols like Remote Method Invocation (RMI), Java Management Extension (JMX), Java Messaging System (JMS), Action Message Format (AMF), Java Server Faces (JSF) ViewState, etc.

Deserialization of untrusted data (CWE-502), is when the application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, letting the attacker to control the state or the flow of the execution.

Java deserialization issues have been known for years. However, interest in the issue intensified greatly in 2015, when classes that could be abused to achieve remote code execution were found in a popular library (Apache Commons Collection). These classes were used in zero-days affecting IBM WebSphere, Oracle WebLogic and many other products.

An attacker just needs to identify a piece of software that has both a vulnerable class on its path, and performs deserialization on untrusted data. Then all they need to do is send the payload into the deserializer, getting the command executed.

Developers put too much trust in Java Object Serialization. Some even de-serialize objects pre-authentication. When deserializing an Object in Java you typically cast it to an expected type, and therefore Java's strict type system will ensure you only get valid object trees. Unfortunately, by the time the type checking happens, platform code has already created and executed significant logic. So, before the final type is checked a lot of code is executed from the readObject() methods of various objects, all of which is out of the developer's control. By combining the readObject() methods of various classes which are available on the classpath of the vulnerable application, an attacker can execute functions (including calling Runtime.exec() to execute local OS commands).

Remediation

Upgrade com.google.code.gson:gson to version 2.8.9 or higher.

References

medium severity

Interpretation Conflict

  • Vulnerable module: org.eclipse.jetty:jetty-server
  • Introduced through: org.eclipse.jetty:jetty-servlet@9.4.58.v20250814

Detailed paths

  • Introduced through: Cantara/microservice-baseline@Cantara/microservice-baseline org.eclipse.jetty:jetty-servlet@9.4.58.v20250814 org.eclipse.jetty:jetty-security@9.4.58.v20250814 org.eclipse.jetty:jetty-server@9.4.58.v20250814

Overview

org.eclipse.jetty:jetty-server is a lightweight highly scalable java based web server and servlet engine.

Affected versions of this package are vulnerable to Interpretation Conflict due to inconsistent handling of invalid or unusual URIs in the parse() function on HttpURI.java‎. An attacker can bypass security controls or access restricted resources by crafting specially formatted URIs that are interpreted differently by various system components.

Remediation

Upgrade org.eclipse.jetty:jetty-server to version 12.0.31, 12.1.5 or higher.

References

medium severity

EPL-1.0 license

  • Module: junit:junit
  • Introduced through: org.constretto:constretto-core@2.2.3, org.constretto:constretto-spring@2.2.3 and others

Detailed paths

  • Introduced through: Cantara/microservice-baseline@Cantara/microservice-baseline org.constretto:constretto-core@2.2.3 junit:junit@4.12
  • Introduced through: Cantara/microservice-baseline@Cantara/microservice-baseline org.constretto:constretto-spring@2.2.3 junit:junit@4.12
  • Introduced through: Cantara/microservice-baseline@Cantara/microservice-baseline org.constretto:constretto-core@2.2.3 org.constretto:constretto-api@2.2.3 junit:junit@4.12
  • Introduced through: Cantara/microservice-baseline@Cantara/microservice-baseline org.constretto:constretto-spring@2.2.3 org.constretto:constretto-api@2.2.3 junit:junit@4.12
  • Introduced through: Cantara/microservice-baseline@Cantara/microservice-baseline org.constretto:constretto-spring@2.2.3 org.constretto:constretto-core@2.2.3 junit:junit@4.12
  • Introduced through: Cantara/microservice-baseline@Cantara/microservice-baseline org.mapdb:mapdb@3.1.0 org.eclipse.collections:eclipse-collections-forkjoin@10.4.0 junit:junit@4.12
  • Introduced through: Cantara/microservice-baseline@Cantara/microservice-baseline org.constretto:constretto-spring@2.2.3 org.constretto:constretto-core@2.2.3 org.constretto:constretto-api@2.2.3 junit:junit@4.12

EPL-1.0 license

medium severity

EPL-1.0 license

  • Module: org.aspectj:aspectjweaver
  • Introduced through: org.constretto:constretto-spring@2.2.3

Detailed paths

  • Introduced through: Cantara/microservice-baseline@Cantara/microservice-baseline org.constretto:constretto-spring@2.2.3 org.aspectj:aspectjweaver@1.7.4

EPL-1.0 license

low severity

Information Exposure

  • Vulnerable module: org.jetbrains.kotlin:kotlin-stdlib
  • Introduced through: org.mapdb:mapdb@3.1.0

Detailed paths

  • Introduced through: Cantara/microservice-baseline@Cantara/microservice-baseline org.mapdb:mapdb@3.1.0 org.jetbrains.kotlin:kotlin-stdlib@1.9.25

Overview

org.jetbrains.kotlin:kotlin-stdlib is a Kotlin Standard Library for JVM.

Affected versions of this package are vulnerable to Information Exposure. A Kotlin application using createTempDir or createTempFile and placing sensitive information within either of these locations would be leaking this information in a read-only way to other users also on this system.

Note: As of version 1.4.21, the vulnerable functions have been marked as deprecated. Due to still being usable, this advisory is kept as "unfixed".

PoC by JLLeitschuh

package org.jlleitschuh.sandbox

import org.junit.jupiter.api.Test
import java.io.BufferedReader
import java.io.File
import java.io.IOException
import java.io.InputStreamReader
import java.nio.file.Files

class KotlinTempDirectoryPermissionCheck {
    @Test
    fun `kotlin check default directory permissions`() {
        val dir = createTempDir()
        runLS(dir.parentFile, dir) // Prints drwxr-xr-x
    }

    @Test
    fun `Files check default directory permissions`() {
        val dir = Files.createTempDirectory("random-directory")
        runLS(dir.toFile().parentFile, dir.toFile()) // Prints drwx------
    }

    @Test
    fun `kotlin check default file permissions`() {
        val file = createTempFile()
        runLS(file.parentFile, file) // Prints -rw-r--r--
    }

    @Test
    fun `Files check default file permissions`() {
        val file = Files.createTempFile("random-file", ".txt")
        runLS(file.toFile().parentFile, file.toFile()) // Prints -rw-------
    }

    private fun runLS(file: File, lookingFor: File) {
        val processBuilder = ProcessBuilder()
        processBuilder.command("ls", "-l", file.absolutePath)
        try {
            val process = processBuilder.start()
            val output = StringBuilder()
            val reader = BufferedReader(
                InputStreamReader(process.inputStream)
            )
            reader.lines().forEach { line ->
                if (line.contains("total")) {
                    output.append(line).append('\n')
                }
                if (line.contains(lookingFor.name)) {
                    output.append(line).append('\n')
                }
            }
            val exitVal = process.waitFor()
            if (exitVal == 0) {
                println("Success!")
                println(output)
            } else {
                //abnormal...
            }
        } catch (e: IOException) {
            e.printStackTrace()
        } catch (e: InterruptedException) {
            e.printStackTrace()
        }
    }
}

Remediation

Upgrade org.jetbrains.kotlin:kotlin-stdlib to version 2.1.0 or higher.

References

low severity

Information Exposure

  • Vulnerable module: junit:junit
  • Introduced through: org.constretto:constretto-core@2.2.3, org.constretto:constretto-spring@2.2.3 and others

Detailed paths

  • Introduced through: Cantara/microservice-baseline@Cantara/microservice-baseline org.constretto:constretto-core@2.2.3 junit:junit@4.12
    Remediation: Upgrade to org.constretto:constretto-core@2.2.3.
  • Introduced through: Cantara/microservice-baseline@Cantara/microservice-baseline org.constretto:constretto-spring@2.2.3 junit:junit@4.12
    Remediation: Upgrade to org.constretto:constretto-spring@2.2.3.
  • Introduced through: Cantara/microservice-baseline@Cantara/microservice-baseline org.constretto:constretto-core@2.2.3 org.constretto:constretto-api@2.2.3 junit:junit@4.12
    Remediation: Upgrade to org.constretto:constretto-core@2.2.3.
  • Introduced through: Cantara/microservice-baseline@Cantara/microservice-baseline org.constretto:constretto-spring@2.2.3 org.constretto:constretto-api@2.2.3 junit:junit@4.12
    Remediation: Upgrade to org.constretto:constretto-spring@2.2.3.
  • Introduced through: Cantara/microservice-baseline@Cantara/microservice-baseline org.constretto:constretto-spring@2.2.3 org.constretto:constretto-core@2.2.3 junit:junit@4.12
    Remediation: Upgrade to org.constretto:constretto-spring@2.2.3.
  • Introduced through: Cantara/microservice-baseline@Cantara/microservice-baseline org.mapdb:mapdb@3.1.0 org.eclipse.collections:eclipse-collections-forkjoin@10.4.0 junit:junit@4.12
    Remediation: Upgrade to org.mapdb:mapdb@3.1.0.
  • Introduced through: Cantara/microservice-baseline@Cantara/microservice-baseline org.constretto:constretto-spring@2.2.3 org.constretto:constretto-core@2.2.3 org.constretto:constretto-api@2.2.3 junit:junit@4.12
    Remediation: Upgrade to org.constretto:constretto-spring@2.2.3.

Overview

junit:junit is an unit testing framework for Java

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

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

Remediation

Upgrade junit:junit to version 4.13.1 or higher.

References