Vulnerabilities

44 via 123 paths

Dependencies

57

Source

GitHub

Commit

b05653a4

Find, fix and prevent vulnerabilities in your code.

Issue type
  • 44
  • 3
Severity
  • 1
  • 16
  • 23
  • 7
Status
  • 47
  • 0
  • 0

critical severity

Remote Code Execution (RCE)

  • Vulnerable module: com.h2database:h2
  • Introduced through: com.h2database:h2@1.4.199

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 com.h2database:h2@1.4.199
    Remediation: Upgrade to com.h2database:h2@2.1.210.

Overview

com.h2database:h2 is a database engine

Affected versions of this package are vulnerable to Remote Code Execution (RCE) via a jdbc:h2:mem JDBC URL containing the IGNORE_UNKNOWN_SETTINGS=TRUE;FORBID_CREATION=FALSE;INIT=RUNSCRIPT substring.

Remediation

Upgrade com.h2database:h2 to version 2.1.210 or higher.

References

high severity

Uncontrolled Recursion

  • Vulnerable module: commons-lang:commons-lang
  • Introduced through: io.github.openfeign:feign-hystrix@10.2.3

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.github.openfeign:feign-hystrix@10.2.3 com.netflix.archaius:archaius-core@0.7.6 commons-configuration:commons-configuration@1.8 commons-lang:commons-lang@2.6
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.github.openfeign:feign-hystrix@10.2.3 com.netflix.hystrix:hystrix-core@1.5.18 com.netflix.archaius:archaius-core@0.7.6 commons-configuration:commons-configuration@1.8 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

Uncontrolled Recursion

  • Vulnerable module: org.apache.commons:commons-lang3
  • Introduced through: io.swagger.core.v3:swagger-jaxrs2@2.0.8

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 io.swagger.core.v3:swagger-integration@2.0.8 io.swagger.core.v3:swagger-core@2.0.8 org.apache.commons:commons-lang3@3.7
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.35.

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

Denial of Service (DoS)

  • Vulnerable module: com.fasterxml.jackson.core:jackson-core
  • Introduced through: com.fasterxml.jackson.core:jackson-core@2.10.0.pr3, com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3 and others

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-core@2.15.0.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.15.0.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.jsonwebtoken:jjwt@0.9.1 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
    Remediation: Upgrade to io.jsonwebtoken:jjwt@0.12.0.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.11.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.github.openfeign:feign-hystrix@10.2.3 com.netflix.archaius:archaius-core@0.7.6 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.github.openfeign:feign-hystrix@10.2.3 com.netflix.archaius:archaius-core@0.7.6 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.github.openfeign:feign-hystrix@10.2.3 com.netflix.hystrix:hystrix-core@1.5.18 com.netflix.archaius:archaius-core@0.7.6 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider@2.9.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-base@2.9.8 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.11.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider@2.9.8 com.fasterxml.jackson.module:jackson-module-jaxb-annotations@2.9.8 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.11.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.github.openfeign:feign-hystrix@10.2.3 com.netflix.hystrix:hystrix-core@1.5.18 com.netflix.archaius:archaius-core@0.7.6 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider@2.9.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-base@2.9.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.11.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider@2.9.8 com.fasterxml.jackson.module:jackson-module-jaxb-annotations@2.9.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.11.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 io.swagger.core.v3:swagger-integration@2.0.8 io.swagger.core.v3:swagger-core@2.0.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.11.

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: com.fasterxml.jackson.core:jackson-core@2.10.0.pr3, com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3 and others

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-core@2.15.0.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.15.0.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.jsonwebtoken:jjwt@0.9.1 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
    Remediation: Upgrade to io.jsonwebtoken:jjwt@0.12.0.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.11.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.github.openfeign:feign-hystrix@10.2.3 com.netflix.archaius:archaius-core@0.7.6 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.github.openfeign:feign-hystrix@10.2.3 com.netflix.archaius:archaius-core@0.7.6 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.github.openfeign:feign-hystrix@10.2.3 com.netflix.hystrix:hystrix-core@1.5.18 com.netflix.archaius:archaius-core@0.7.6 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider@2.9.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-base@2.9.8 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.11.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider@2.9.8 com.fasterxml.jackson.module:jackson-module-jaxb-annotations@2.9.8 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.11.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.github.openfeign:feign-hystrix@10.2.3 com.netflix.hystrix:hystrix-core@1.5.18 com.netflix.archaius:archaius-core@0.7.6 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider@2.9.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-base@2.9.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.11.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider@2.9.8 com.fasterxml.jackson.module:jackson-module-jaxb-annotations@2.9.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.11.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 io.swagger.core.v3:swagger-integration@2.0.8 io.swagger.core.v3:swagger-core@2.0.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.11.

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

XML External Entity (XXE) Injection

  • Vulnerable module: com.fasterxml.jackson.core:jackson-databind
  • Introduced through: com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3, io.jsonwebtoken:jjwt@0.9.1 and others

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.10.5.1.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.jsonwebtoken:jjwt@0.9.1 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
    Remediation: Upgrade to io.jsonwebtoken:jjwt@0.12.0.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.1.3.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.github.openfeign:feign-hystrix@10.2.3 com.netflix.archaius:archaius-core@0.7.6 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.github.openfeign:feign-hystrix@10.2.3 com.netflix.hystrix:hystrix-core@1.5.18 com.netflix.archaius:archaius-core@0.7.6 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider@2.9.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-base@2.9.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.1.3.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider@2.9.8 com.fasterxml.jackson.module:jackson-module-jaxb-annotations@2.9.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.1.3.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 io.swagger.core.v3:swagger-integration@2.0.8 io.swagger.core.v3:swagger-core@2.0.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.1.3.

Overview

com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.

Affected versions of this package are vulnerable to XML External Entity (XXE) Injection. A flaw was found in FasterXML Jackson Databind, where it does not have entity expansion secured properly in the DOMDeserializer class. The highest threat from this vulnerability is data integrity.

Details

XXE Injection is a type of attack against an application that parses XML input. XML is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. By default, many XML processors allow specification of an external entity, a URI that is dereferenced and evaluated during XML processing. When an XML document is being parsed, the parser can make a request and include the content at the specified URI inside of the XML document.

Attacks can include disclosing local files, which may contain sensitive data such as passwords or private user data, using file: schemes or relative paths in the system identifier.

For example, below is a sample XML document, containing an XML element- username.

<xml>
<?xml version="1.0" encoding="ISO-8859-1"?>
   <username>John</username>
</xml>

An external XML entity - xxe, is defined using a system identifier and present within a DOCTYPE header. These entities can access local or remote content. For example the below code contains an external XML entity that would fetch the content of /etc/passwd and display it to the user rendered by username.

<xml>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE foo [
   <!ENTITY xxe SYSTEM "file:///etc/passwd" >]>
   <username>&xxe;</username>
</xml>

Other XXE Injection attacks can access local resources that may not stop returning data, possibly impacting application availability and leading to Denial of Service.

Remediation

Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.6.7.4, 2.9.10.7, 2.10.5.1 or higher.

References

high severity

Remote Code Execution (RCE)

  • Vulnerable module: com.h2database:h2
  • Introduced through: com.h2database:h2@1.4.199

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 com.h2database:h2@1.4.199
    Remediation: Upgrade to com.h2database:h2@2.0.206.

Overview

com.h2database:h2 is a database engine

Affected versions of this package are vulnerable to Remote Code Execution (RCE). H2 Console allows loading of custom classes from remote servers through JNDI. This can lead to code execution

If remote access was enabled explicitly and some protection method (such as security constraint) are not set, an intruder can load their own custom class and execute their code in a process using H2 Console (a H2 Server process or a web server with H2 Console servlet).

Note: It should be noted that H2 Console doesn't accept remote connections by default.

Workarounds

  • H2 Console should never be available to untrusted users.

  • -webAllowOthers is a dangerous setting that should be avoided.

  • H2 Console Servlet deployed on a web server can be protected with a security constraint: https://h2database.com/html/tutorial.html#usingH2ConsoleServlet If webAllowOthers is specified, you need to uncomment and edit and as necessary. See documentation of your web server for more details.

All these workaround are mitigatory and unlikely to prevent all attack vectors, upgrade to a fixed version for full remediation.

Remediation

Upgrade com.h2database:h2 to version 2.0.206 or higher.

References

high severity

XML External Entity (XXE) Injection

  • Vulnerable module: com.h2database:h2
  • Introduced through: com.h2database:h2@1.4.199

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 com.h2database:h2@1.4.199
    Remediation: Upgrade to com.h2database:h2@2.0.202.

Overview

com.h2database:h2 is a database engine

Affected versions of this package are vulnerable to XML External Entity (XXE) Injection via the org.h2.jdbc.JdbcSQLXML class object, when it receives parsed string data from org.h2.jdbc.JdbcResultSet.getSQLXML() method. If it executes the getSource() method when the parameter is DOMSource.class it will trigger the vulnerability.

Details

XXE Injection is a type of attack against an application that parses XML input. XML is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. By default, many XML processors allow specification of an external entity, a URI that is dereferenced and evaluated during XML processing. When an XML document is being parsed, the parser can make a request and include the content at the specified URI inside of the XML document.

Attacks can include disclosing local files, which may contain sensitive data such as passwords or private user data, using file: schemes or relative paths in the system identifier.

For example, below is a sample XML document, containing an XML element- username.

<xml>
<?xml version="1.0" encoding="ISO-8859-1"?>
   <username>John</username>
</xml>

An external XML entity - xxe, is defined using a system identifier and present within a DOCTYPE header. These entities can access local or remote content. For example the below code contains an external XML entity that would fetch the content of /etc/passwd and display it to the user rendered by username.

<xml>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE foo [
   <!ENTITY xxe SYSTEM "file:///etc/passwd" >]>
   <username>&xxe;</username>
</xml>

Other XXE Injection attacks can access local resources that may not stop returning data, possibly impacting application availability and leading to Denial of Service.

Remediation

Upgrade com.h2database:h2 to version 2.0.202 or higher.

References

high severity

Infinite loop

  • Vulnerable module: org.apache.commons:commons-compress
  • Introduced through: org.apache.poi:poi-ooxml@4.1.1

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 org.apache.poi:poi-ooxml@4.1.1 org.apache.commons:commons-compress@1.19
    Remediation: Upgrade to org.apache.poi:poi-ooxml@5.3.0.

Overview

org.apache.commons:commons-compress is an API for working with compression and archive formats.

Affected versions of this package are vulnerable to Infinite loop due to the improper handling of certain inputs during the parsing of dump files. An attacker can cause the application to enter an infinite loop by supplying crafted inputs.

Remediation

Upgrade org.apache.commons:commons-compress to version 1.26.0 or higher.

References

high severity

Denial of Service (DoS)

  • Vulnerable module: com.fasterxml.jackson.core:jackson-databind
  • Introduced through: com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3, io.jsonwebtoken:jjwt@0.9.1 and others

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.12.6.1.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.jsonwebtoken:jjwt@0.9.1 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
    Remediation: Upgrade to io.jsonwebtoken:jjwt@0.12.0.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.0.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.github.openfeign:feign-hystrix@10.2.3 com.netflix.archaius:archaius-core@0.7.6 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.github.openfeign:feign-hystrix@10.2.3 com.netflix.hystrix:hystrix-core@1.5.18 com.netflix.archaius:archaius-core@0.7.6 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider@2.9.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-base@2.9.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.2.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider@2.9.8 com.fasterxml.jackson.module:jackson-module-jaxb-annotations@2.9.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.2.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 io.swagger.core.v3:swagger-integration@2.0.8 io.swagger.core.v3:swagger-core@2.0.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.0.

Overview

com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.

Affected versions of this package are vulnerable to Denial of Service (DoS) via a large depth of nested objects.

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-databind to version 2.12.6.1, 2.13.2.1 or higher.

References

high severity

Denial of Service (DoS)

  • Vulnerable module: org.apache.commons:commons-compress
  • Introduced through: org.apache.poi:poi-ooxml@4.1.1

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 org.apache.poi:poi-ooxml@4.1.1 org.apache.commons:commons-compress@1.19
    Remediation: Upgrade to org.apache.poi:poi-ooxml@5.1.0.

Overview

org.apache.commons:commons-compress is an API for working with compression and archive formats.

Affected versions of this package are vulnerable to Denial of Service (DoS). When reading a specially crafted ZIP archive, Compress can be made to allocate large amounts of memory that finally leads to an out-of-memory error even for very small inputs. This could be used to mount a denial of service attack against services that use Compress' zip package.

Details

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

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

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

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

Two common types of DoS vulnerabilities:

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

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

Remediation

Upgrade org.apache.commons:commons-compress to version 1.21 or higher.

References

high severity

Denial of Service (DoS)

  • Vulnerable module: org.yaml:snakeyaml
  • Introduced through: io.swagger.core.v3:swagger-jaxrs2@2.0.8

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 io.swagger.core.v3:swagger-integration@2.0.8 io.swagger.core.v3:swagger-core@2.0.8 com.fasterxml.jackson.dataformat:jackson-dataformat-yaml@2.9.8 org.yaml:snakeyaml@1.23
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.4.

Overview

org.yaml:snakeyaml is a YAML 1.1 parser and emitter for Java.

Affected versions of this package are vulnerable to Denial of Service (DoS) due to missing nested depth limitation for collections.

NOTE: This vulnerability has also been identified as: CVE-2022-38749

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.yaml:snakeyaml to version 1.31 or higher.

References

high severity

Denial of Service (DoS)

  • Vulnerable module: org.yaml:snakeyaml
  • Introduced through: io.swagger.core.v3:swagger-jaxrs2@2.0.8

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 io.swagger.core.v3:swagger-integration@2.0.8 io.swagger.core.v3:swagger-core@2.0.8 com.fasterxml.jackson.dataformat:jackson-dataformat-yaml@2.9.8 org.yaml:snakeyaml@1.23
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.4.

Overview

org.yaml:snakeyaml is a YAML 1.1 parser and emitter for Java.

Affected versions of this package are vulnerable to Denial of Service (DoS) due to missing nested depth limitation for collections.

NOTE: This vulnerability has also been identified as: CVE-2022-25857

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.yaml:snakeyaml to version 1.31 or higher.

References

high severity

Denial of Service (DoS)

  • Vulnerable module: ch.qos.logback:logback-classic
  • Introduced through: ch.qos.logback:logback-classic@1.2.3

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to ch.qos.logback:logback-classic@1.2.13.

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: ch.qos.logback:logback-classic@1.2.3

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to ch.qos.logback:logback-classic@1.2.13.

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: ch.qos.logback:logback-classic@1.2.3

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to ch.qos.logback:logback-classic@1.2.13.

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: ch.qos.logback:logback-classic@1.2.3

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to ch.qos.logback:logback-classic@1.2.13.

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

medium severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: commons-configuration:commons-configuration
  • Introduced through: io.github.openfeign:feign-hystrix@10.2.3

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.github.openfeign:feign-hystrix@10.2.3 com.netflix.archaius:archaius-core@0.7.6 commons-configuration:commons-configuration@1.8
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.github.openfeign:feign-hystrix@10.2.3 com.netflix.hystrix:hystrix-core@1.5.18 com.netflix.archaius:archaius-core@0.7.6 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

Uncontrolled Resource Consumption ('Resource Exhaustion')

  • Vulnerable module: commons-io:commons-io
  • Introduced through: io.swagger.core.v3:swagger-jaxrs2@2.0.8

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 commons-io:commons-io@2.6
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.0.8.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 io.swagger.core.v3:swagger-integration@2.0.8 io.swagger.core.v3:swagger-core@2.0.8 commons-io:commons-io@2.6
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.0.8.

Overview

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

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

Remediation

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

References

medium severity

Improper Input Validation

  • Vulnerable module: org.apache.poi:poi-ooxml
  • Introduced through: org.apache.poi:poi-ooxml@4.1.1

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 org.apache.poi:poi-ooxml@4.1.1
    Remediation: Upgrade to org.apache.poi:poi-ooxml@5.4.0.

Overview

org.apache.poi:poi-ooxml is a Java API To Access Microsoft Format Files.

Affected versions of this package are vulnerable to Improper Input Validation due to the parsing process of OOXML format files. An attacker can manipulate the file content by adding zip entries with duplicate names, leading to inconsistent data being read by different products depending on which duplicate entry is selected.

Remediation

Upgrade org.apache.poi:poi-ooxml to version 5.4.0 or higher.

References

medium severity

Arbitrary Code Execution

  • Vulnerable module: org.yaml:snakeyaml
  • Introduced through: io.swagger.core.v3:swagger-jaxrs2@2.0.8

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 io.swagger.core.v3:swagger-integration@2.0.8 io.swagger.core.v3:swagger-core@2.0.8 com.fasterxml.jackson.dataformat:jackson-dataformat-yaml@2.9.8 org.yaml:snakeyaml@1.23
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.11.

Overview

org.yaml:snakeyaml is a YAML 1.1 parser and emitter for Java.

Affected versions of this package are vulnerable to Arbitrary Code Execution in the Constructor class, which does not restrict which types can be deserialized. This vulnerability is exploitable by an attacker who provides a malicious YAML file for deserialization, which circumvents the SafeConstructor class.

The maintainers of the library contend that the application's trust would already have had to be compromised or established and therefore dispute the risk associated with this issue on the basis that there is a high bar for exploitation.

Remediation

Upgrade org.yaml:snakeyaml to version 2.0 or higher.

References

medium severity

Deserialization of Untrusted Data

  • Vulnerable module: com.google.code.gson:gson
  • Introduced through: io.github.openfeign:feign-gson@10.2.3

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.github.openfeign:feign-gson@10.2.3 com.google.code.gson:gson@2.5
    Remediation: Upgrade to io.github.openfeign:feign-gson@11.8.

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

Denial of Service (DoS)

  • Vulnerable module: org.apache.commons:commons-compress
  • Introduced through: org.apache.poi:poi-ooxml@4.1.1

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 org.apache.poi:poi-ooxml@4.1.1 org.apache.commons:commons-compress@1.19
    Remediation: Upgrade to org.apache.poi:poi-ooxml@5.1.0.

Overview

org.apache.commons:commons-compress is an API for working with compression and archive formats.

Affected versions of this package are vulnerable to Denial of Service (DoS). When reading a specially crafted 7Z archive, Compress can be made to allocate large amounts of memory that finally leads to an out-of-memory error even for very small inputs. This could be used to mount a denial of service attack against services that use Compress' sevenz package.

Details

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

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

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

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

Two common types of DoS vulnerabilities:

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

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

Remediation

Upgrade org.apache.commons:commons-compress to version 1.21 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: org.apache.commons:commons-compress
  • Introduced through: org.apache.poi:poi-ooxml@4.1.1

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 org.apache.poi:poi-ooxml@4.1.1 org.apache.commons:commons-compress@1.19
    Remediation: Upgrade to org.apache.poi:poi-ooxml@5.1.0.

Overview

org.apache.commons:commons-compress is an API for working with compression and archive formats.

Affected versions of this package are vulnerable to Denial of Service (DoS). When reading a specially crafted 7Z archive, the construction of the list of codecs that decompress an entry can result in an infinite loop. This could be used to mount a denial of service attack against services that use Compress' sevenz package.

Details

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

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

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

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

Two common types of DoS vulnerabilities:

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

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

Remediation

Upgrade org.apache.commons:commons-compress to version 1.21 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: org.apache.commons:commons-compress
  • Introduced through: org.apache.poi:poi-ooxml@4.1.1

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 org.apache.poi:poi-ooxml@4.1.1 org.apache.commons:commons-compress@1.19
    Remediation: Upgrade to org.apache.poi:poi-ooxml@5.1.0.

Overview

org.apache.commons:commons-compress is an API for working with compression and archive formats.

Affected versions of this package are vulnerable to Denial of Service (DoS). When reading a specially crafted TAR archive, Compress can be made to allocate large amounts of memory that finally leads to an out-of-memory error even for very small inputs. This could be used to mount a denial of service attack against services that use Compress' tar package.

Details

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

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

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

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

Two common types of DoS vulnerabilities:

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

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

Remediation

Upgrade org.apache.commons:commons-compress to version 1.21 or higher.

References

medium severity

Improper Neutralization of Special Elements

  • Vulnerable module: ch.qos.logback:logback-classic
  • Introduced through: ch.qos.logback:logback-classic@1.2.3

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 ch.qos.logback:logback-classic@1.2.3
    Remediation: Upgrade to ch.qos.logback:logback-classic@1.3.15.

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
new

External Initialization of Trusted Variables or Data Stores

  • Vulnerable module: ch.qos.logback:logback-core
  • Introduced through: ch.qos.logback:logback-classic@1.2.3

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to ch.qos.logback:logback-classic@1.5.14.

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.5.19 or higher.

References

medium severity

Improper Neutralization of Special Elements

  • Vulnerable module: ch.qos.logback:logback-core
  • Introduced through: ch.qos.logback:logback-classic@1.2.3

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to ch.qos.logback:logback-classic@1.3.15.

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

Denial of Service (DoS)

  • Vulnerable module: com.fasterxml.jackson.core:jackson-databind
  • Introduced through: com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3, io.jsonwebtoken:jjwt@0.9.1 and others

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.12.6.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.jsonwebtoken:jjwt@0.9.1 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
    Remediation: Upgrade to io.jsonwebtoken:jjwt@0.12.0.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.0.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.github.openfeign:feign-hystrix@10.2.3 com.netflix.archaius:archaius-core@0.7.6 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.github.openfeign:feign-hystrix@10.2.3 com.netflix.hystrix:hystrix-core@1.5.18 com.netflix.archaius:archaius-core@0.7.6 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider@2.9.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-base@2.9.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.0.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider@2.9.8 com.fasterxml.jackson.module:jackson-module-jaxb-annotations@2.9.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.0.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 io.swagger.core.v3:swagger-integration@2.0.8 io.swagger.core.v3:swagger-core@2.0.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.0.

Overview

com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.

Affected versions of this package are vulnerable to Denial of Service (DoS) when using JDK serialization to serialize and deserialize JsonNode values. It is possible for the attacker to send a 4-byte length payload, with a value of Integer.MAX_VALUE , that will eventually cause large buffer allocation and out of heap memory.

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-databind to version 2.13.1, 2.12.6 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: com.fasterxml.jackson.core:jackson-databind
  • Introduced through: com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3, io.jsonwebtoken:jjwt@0.9.1 and others

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.12.7.1.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.jsonwebtoken:jjwt@0.9.1 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
    Remediation: Upgrade to io.jsonwebtoken:jjwt@0.12.0.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.4.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.github.openfeign:feign-hystrix@10.2.3 com.netflix.archaius:archaius-core@0.7.6 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.github.openfeign:feign-hystrix@10.2.3 com.netflix.hystrix:hystrix-core@1.5.18 com.netflix.archaius:archaius-core@0.7.6 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider@2.9.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-base@2.9.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.4.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider@2.9.8 com.fasterxml.jackson.module:jackson-module-jaxb-annotations@2.9.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.4.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 io.swagger.core.v3:swagger-integration@2.0.8 io.swagger.core.v3:swagger-core@2.0.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.4.

Overview

com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.

Affected versions of this package are vulnerable to Denial of Service (DoS) in the _deserializeFromArray() function in BeanDeserializer, due to resource exhaustion when processing a deeply nested array.

NOTE: For this vulnerability to be exploitable the non-default DeserializationFeature must be enabled.

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-databind to version 2.12.7.1, 2.13.4 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: com.fasterxml.jackson.core:jackson-databind
  • Introduced through: com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3, io.jsonwebtoken:jjwt@0.9.1 and others

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.12.7.1.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.jsonwebtoken:jjwt@0.9.1 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
    Remediation: Upgrade to io.jsonwebtoken:jjwt@0.12.0.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.4.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.github.openfeign:feign-hystrix@10.2.3 com.netflix.archaius:archaius-core@0.7.6 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.github.openfeign:feign-hystrix@10.2.3 com.netflix.hystrix:hystrix-core@1.5.18 com.netflix.archaius:archaius-core@0.7.6 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider@2.9.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-base@2.9.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.7.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider@2.9.8 com.fasterxml.jackson.module:jackson-module-jaxb-annotations@2.9.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.7.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 io.swagger.core.v3:swagger-integration@2.0.8 io.swagger.core.v3:swagger-core@2.0.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.4.

Overview

com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.

Affected versions of this package are vulnerable to Denial of Service (DoS) in the _deserializeWrappedValue() function in StdDeserializer.java, due to resource exhaustion when processing deeply nested arrays.

NOTE: This vulnerability is only exploitable when the non-default UNWRAP_SINGLE_VALUE_ARRAYS feature is enabled.

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-databind to version 2.12.7.1, 2.13.4.1 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: org.yaml:snakeyaml
  • Introduced through: io.swagger.core.v3:swagger-jaxrs2@2.0.8

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 io.swagger.core.v3:swagger-integration@2.0.8 io.swagger.core.v3:swagger-core@2.0.8 com.fasterxml.jackson.dataformat:jackson-dataformat-yaml@2.9.8 org.yaml:snakeyaml@1.23
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.1.3.

Overview

org.yaml:snakeyaml is a YAML 1.1 parser and emitter for Java.

Affected versions of this package are vulnerable to Denial of Service (DoS). The Alias feature in SnakeYAML 1.18 allows entity expansion during a load operation, a related issue to CVE-2003-1564.

Note While the Maintainer acknowledges the existence of the issue, they believe it should be solved by sanitizing the inputStream to the parser

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.yaml:snakeyaml to version 1.26 or higher.

References

medium severity

Information Exposure

  • Vulnerable module: com.h2database:h2
  • Introduced through: com.h2database:h2@1.4.199

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 com.h2database:h2@1.4.199
    Remediation: Upgrade to com.h2database:h2@2.2.220.

Overview

com.h2database:h2 is a database engine

Affected versions of this package are vulnerable to Information Exposure when H2 web-based admin console was started via the CLI with the argument -webAdminPassword, which allows a local user to specify the password in plaintext for the web admin console. Consequently, a malicious local user or an attacker that has obtained local access through some means would be able to get the password for the H2 web admin console by looking at the running processes.

Vendor Statement: "This is not a vulnerability of the H2 Console, this is an example of how not to use it. I think there is nothing to do with it on the H2 side. Passwords should never be passed on the command line, and every qualified DBA or system administrator is expected to know that."

Remediation

Upgrade com.h2database:h2 to version 2.2.220 or higher.

References

medium severity

Directory Traversal

  • Vulnerable module: commons-io:commons-io
  • Introduced through: io.swagger.core.v3:swagger-jaxrs2@2.0.8

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 commons-io:commons-io@2.6
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.0.8.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 io.swagger.core.v3:swagger-integration@2.0.8 io.swagger.core.v3:swagger-core@2.0.8 commons-io:commons-io@2.6
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.0.8.

Overview

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

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

Details

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

Directory Traversal vulnerabilities can be generally divided into two types:

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

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

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

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

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

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

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

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

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

Remediation

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

References

medium severity

Information Exposure

  • Vulnerable module: com.fasterxml.jackson.core:jackson-core
  • Introduced through: com.fasterxml.jackson.core:jackson-core@2.10.0.pr3, com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3 and others

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-core@2.13.0.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.13.0.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.jsonwebtoken:jjwt@0.9.1 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
    Remediation: Upgrade to io.jsonwebtoken:jjwt@0.12.0.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.0.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.github.openfeign:feign-hystrix@10.2.3 com.netflix.archaius:archaius-core@0.7.6 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.github.openfeign:feign-hystrix@10.2.3 com.netflix.archaius:archaius-core@0.7.6 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.github.openfeign:feign-hystrix@10.2.3 com.netflix.hystrix:hystrix-core@1.5.18 com.netflix.archaius:archaius-core@0.7.6 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider@2.9.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-base@2.9.8 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.0.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider@2.9.8 com.fasterxml.jackson.module:jackson-module-jaxb-annotations@2.9.8 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.0.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.github.openfeign:feign-hystrix@10.2.3 com.netflix.hystrix:hystrix-core@1.5.18 com.netflix.archaius:archaius-core@0.7.6 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider@2.9.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-base@2.9.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.0.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider@2.9.8 com.fasterxml.jackson.module:jackson-module-jaxb-annotations@2.9.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.0.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 io.swagger.core.v3:swagger-integration@2.0.8 io.swagger.core.v3:swagger-core@2.0.8 com.fasterxml.jackson.core:jackson-databind@2.10.0.pr3 com.fasterxml.jackson.core:jackson-core@2.10.0.pr3
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.0.

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: ch.qos.logback:logback-classic@1.2.3

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to ch.qos.logback:logback-classic@1.2.7.

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

Stack-based Buffer Overflow

  • Vulnerable module: org.yaml:snakeyaml
  • Introduced through: io.swagger.core.v3:swagger-jaxrs2@2.0.8

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 io.swagger.core.v3:swagger-integration@2.0.8 io.swagger.core.v3:swagger-core@2.0.8 com.fasterxml.jackson.dataformat:jackson-dataformat-yaml@2.9.8 org.yaml:snakeyaml@1.23
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.4.

Overview

org.yaml:snakeyaml is a YAML 1.1 parser and emitter for Java.

Affected versions of this package are vulnerable to Stack-based Buffer Overflow when parsing crafted untrusted YAML files, which can lead to a denial-of-service.

Remediation

Upgrade org.yaml:snakeyaml to version 1.31 or higher.

References

medium severity

Dual license: EPL-1.0, LGPL-2.1

  • Module: ch.qos.logback:logback-classic
  • Introduced through: ch.qos.logback:logback-classic@1.2.3

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 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: ch.qos.logback:logback-classic@1.2.3

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 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

Dual license: MPL-2.0, EPL-1.0

  • Module: com.h2database:h2
  • Introduced through: com.h2database:h2@1.4.199

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 com.h2database:h2@1.4.199

Dual license: MPL-2.0, EPL-1.0

low severity

Information Exposure

  • Vulnerable module: commons-codec:commons-codec
  • Introduced through: org.apache.poi:poi-ooxml@4.1.1

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 org.apache.poi:poi-ooxml@4.1.1 org.apache.poi:poi@4.1.1 commons-codec:commons-codec@1.13
    Remediation: Upgrade to org.apache.poi:poi-ooxml@5.0.0.

Overview

commons-codec:commons-codec is a package that contains simple encoder and decoders for various formats such as Base64 and Hexadecimal.

Affected versions of this package are vulnerable to Information Exposure. When there is no byte array value that can be encoded into a string the Base32 implementation does not reject it, and instead decodes it into an arbitrary value which can be re-encoded again using the same implementation. This allows for information exposure exploits such as tunneling additional information via seemingly valid base 32 strings.

Remediation

Upgrade commons-codec:commons-codec to version 1.14 or higher.

References

low severity

Stack-based Buffer Overflow

  • Vulnerable module: org.yaml:snakeyaml
  • Introduced through: io.swagger.core.v3:swagger-jaxrs2@2.0.8

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 io.swagger.core.v3:swagger-integration@2.0.8 io.swagger.core.v3:swagger-core@2.0.8 com.fasterxml.jackson.dataformat:jackson-dataformat-yaml@2.9.8 org.yaml:snakeyaml@1.23
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.7.

Overview

org.yaml:snakeyaml is a YAML 1.1 parser and emitter for Java.

Affected versions of this package are vulnerable to Stack-based Buffer Overflow when parsing crafted untrusted YAML files, which can lead to a denial-of-service.

Remediation

Upgrade org.yaml:snakeyaml to version 1.32 or higher.

References

low severity

Stack-based Buffer Overflow

  • Vulnerable module: org.yaml:snakeyaml
  • Introduced through: io.swagger.core.v3:swagger-jaxrs2@2.0.8

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 io.swagger.core.v3:swagger-integration@2.0.8 io.swagger.core.v3:swagger-core@2.0.8 com.fasterxml.jackson.dataformat:jackson-dataformat-yaml@2.9.8 org.yaml:snakeyaml@1.23
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.4.

Overview

org.yaml:snakeyaml is a YAML 1.1 parser and emitter for Java.

Affected versions of this package are vulnerable to Stack-based Buffer Overflow in org.yaml.snakeyaml.constructor.BaseConstructor.constructObject when parsing crafted untrusted YAML files, which can lead to a denial-of-service.

Remediation

Upgrade org.yaml:snakeyaml to version 1.31 or higher.

References

low severity

Stack-based Buffer Overflow

  • Vulnerable module: org.yaml:snakeyaml
  • Introduced through: io.swagger.core.v3:swagger-jaxrs2@2.0.8

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.swagger.core.v3:swagger-jaxrs2@2.0.8 io.swagger.core.v3:swagger-integration@2.0.8 io.swagger.core.v3:swagger-core@2.0.8 com.fasterxml.jackson.dataformat:jackson-dataformat-yaml@2.9.8 org.yaml:snakeyaml@1.23
    Remediation: Upgrade to io.swagger.core.v3:swagger-jaxrs2@2.2.7.

Overview

org.yaml:snakeyaml is a YAML 1.1 parser and emitter for Java.

Affected versions of this package are vulnerable to Stack-based Buffer Overflow when supplied with untrusted input, due to improper limitation for incoming data.

Remediation

Upgrade org.yaml:snakeyaml to version 1.32 or higher.

References

low severity

Creation of Temporary File in Directory with Insecure Permissions

  • Vulnerable module: com.google.guava:guava
  • Introduced through: com.google.guava:guava@28.0-jre and io.github.openfeign:feign-hystrix@10.2.3

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 com.google.guava:guava@28.0-jre
    Remediation: Upgrade to com.google.guava:guava@32.0.0-jre.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.github.openfeign:feign-hystrix@10.2.3 com.netflix.archaius:archaius-core@0.7.6 com.google.guava:guava@28.0-jre
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.github.openfeign:feign-hystrix@10.2.3 com.netflix.hystrix:hystrix-core@1.5.18 com.netflix.archaius:archaius-core@0.7.6 com.google.guava:guava@28.0-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.google.guava:guava@28.0-jre and io.github.openfeign:feign-hystrix@10.2.3

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 com.google.guava:guava@28.0-jre
    Remediation: Upgrade to com.google.guava:guava@30.0-jre.
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.github.openfeign:feign-hystrix@10.2.3 com.netflix.archaius:archaius-core@0.7.6 com.google.guava:guava@28.0-jre
  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 io.github.openfeign:feign-hystrix@10.2.3 com.netflix.hystrix:hystrix-core@1.5.18 com.netflix.archaius:archaius-core@0.7.6 com.google.guava:guava@28.0-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: ch.qos.logback:logback-classic@1.2.3

Detailed paths

  • Introduced through: systelab/seed-jee@systelab/seed-jee#b05653a4a9349b98b2dbed4a5cc80ac15f99db39 ch.qos.logback:logback-classic@1.2.3 ch.qos.logback:logback-core@1.2.3
    Remediation: Upgrade to ch.qos.logback:logback-classic@1.3.15.

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