Vulnerabilities

8 via 13 paths

Dependencies

23

Source

GitHub

Commit

258ce3b9

Find, fix and prevent vulnerabilities in your code.

Issue type
  • 8
  • 1
Severity
  • 3
  • 5
  • 1
Status
  • 9
  • 0
  • 0

high severity

Denial of Service (DoS)

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

Detailed paths

  • Introduced through: bdelion/basic-weather-app@bdelion/basic-weather-app#258ce3b9f4a6ada9eff3d85d1e3f405f32114e56 com.fasterxml.jackson.core:jackson-databind@2.13.1 com.fasterxml.jackson.core:jackson-core@2.13.1
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.15.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 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-databind@2.13.1

Detailed paths

  • Introduced through: bdelion/basic-weather-app@bdelion/basic-weather-app#258ce3b9f4a6ada9eff3d85d1e3f405f32114e56 com.fasterxml.jackson.core:jackson-databind@2.13.1 com.fasterxml.jackson.core:jackson-core@2.13.1
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.15.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 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

Denial of Service (DoS)

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

Detailed paths

  • Introduced through: bdelion/basic-weather-app@bdelion/basic-weather-app#258ce3b9f4a6ada9eff3d85d1e3f405f32114e56 com.fasterxml.jackson.core:jackson-databind@2.13.1
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.13.2.1.

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

medium severity
new

XML External Entity (XXE) Injection

  • Vulnerable module: org.assertj:assertj-core
  • Introduced through: org.apache.logging.log4j:log4j-api@2.17.1 and org.apache.logging.log4j:log4j-core@2.17.1

Detailed paths

  • Introduced through: bdelion/basic-weather-app@bdelion/basic-weather-app#258ce3b9f4a6ada9eff3d85d1e3f405f32114e56 org.apache.logging.log4j:log4j-api@2.17.1 org.assertj:assertj-core@3.20.2
    Remediation: Upgrade to org.apache.logging.log4j:log4j-api@2.17.1.
  • Introduced through: bdelion/basic-weather-app@bdelion/basic-weather-app#258ce3b9f4a6ada9eff3d85d1e3f405f32114e56 org.apache.logging.log4j:log4j-core@2.17.1 org.apache.logging.log4j:log4j-api@2.17.1 org.assertj:assertj-core@3.20.2
    Remediation: Upgrade to org.apache.logging.log4j:log4j-core@2.17.1.

Overview

Affected versions of this package are vulnerable to XML External Entity (XXE) Injection via the toXmlDocument function of XmlStringPrettyFormatter. An attacker can read arbitrary local files, perform server-side request forgery, or cause denial of service by providing crafted XML input containing external entities.

Note: This formatter is used by isXmlEqualTo(CharSequence) and xmlPrettyFormat(String) and could be exploited if untrusted XML input is processed by the methods.

Workaround

Replace use of isXmlEqualTo(CharSequence) with XMLUnit.

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 org.assertj:assertj-core to version 3.27.7 or higher.

References

medium severity

Improper Validation of Certificate with Host Mismatch

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

Detailed paths

  • Introduced through: bdelion/basic-weather-app@bdelion/basic-weather-app#258ce3b9f4a6ada9eff3d85d1e3f405f32114e56 org.apache.logging.log4j:log4j-core@2.17.1
    Remediation: Upgrade to org.apache.logging.log4j:log4j-core@2.25.3.

Overview

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

Affected versions of this package are vulnerable to Improper Validation of Certificate with Host Mismatch due to the lack of TLS hostname verification in the SocketAppender component. An attacker can intercept or redirect log traffic by performing a man-in-the-middle attack if they are able to intercept or redirect network traffic between the client and the log receiver and can present a server certificate issued by a certification authority trusted by the configured trust store or the default Java trust store.

Workaround

This vulnerability can be mitigated by configuring the SocketAppender to use a private or restricted trust root to limit the set of trusted certificates.

Remediation

Upgrade org.apache.logging.log4j:log4j-core to version 2.25.3 or higher.

References

medium severity

Denial of Service (DoS)

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

Detailed paths

  • Introduced through: bdelion/basic-weather-app@bdelion/basic-weather-app#258ce3b9f4a6ada9eff3d85d1e3f405f32114e56 com.fasterxml.jackson.core:jackson-databind@2.13.1
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.13.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.13.1

Detailed paths

  • Introduced through: bdelion/basic-weather-app@bdelion/basic-weather-app#258ce3b9f4a6ada9eff3d85d1e3f405f32114e56 com.fasterxml.jackson.core:jackson-databind@2.13.1
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.13.4.1.

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

EPL-1.0 license

  • Module: junit:junit
  • Introduced through: org.apache.logging.log4j:log4j-api@2.17.1 and org.apache.logging.log4j:log4j-core@2.17.1

Detailed paths

  • Introduced through: bdelion/basic-weather-app@bdelion/basic-weather-app#258ce3b9f4a6ada9eff3d85d1e3f405f32114e56 org.apache.logging.log4j:log4j-api@2.17.1 org.junit.jupiter:junit-jupiter-migrationsupport@5.7.2 junit:junit@4.13
  • Introduced through: bdelion/basic-weather-app@bdelion/basic-weather-app#258ce3b9f4a6ada9eff3d85d1e3f405f32114e56 org.apache.logging.log4j:log4j-api@2.17.1 org.junit.vintage:junit-vintage-engine@5.7.2 junit:junit@4.13
  • Introduced through: bdelion/basic-weather-app@bdelion/basic-weather-app#258ce3b9f4a6ada9eff3d85d1e3f405f32114e56 org.apache.logging.log4j:log4j-core@2.17.1 org.junit.vintage:junit-vintage-engine@5.7.2 junit:junit@4.13
  • Introduced through: bdelion/basic-weather-app@bdelion/basic-weather-app#258ce3b9f4a6ada9eff3d85d1e3f405f32114e56 org.apache.logging.log4j:log4j-core@2.17.1 org.apache.logging.log4j:log4j-api@2.17.1 org.junit.jupiter:junit-jupiter-migrationsupport@5.7.2 junit:junit@4.13
  • Introduced through: bdelion/basic-weather-app@bdelion/basic-weather-app#258ce3b9f4a6ada9eff3d85d1e3f405f32114e56 org.apache.logging.log4j:log4j-core@2.17.1 org.apache.logging.log4j:log4j-api@2.17.1 org.junit.vintage:junit-vintage-engine@5.7.2 junit:junit@4.13

EPL-1.0 license

low severity

Information Exposure

  • Vulnerable module: junit:junit
  • Introduced through: org.apache.logging.log4j:log4j-api@2.17.1 and org.apache.logging.log4j:log4j-core@2.17.1

Detailed paths

  • Introduced through: bdelion/basic-weather-app@bdelion/basic-weather-app#258ce3b9f4a6ada9eff3d85d1e3f405f32114e56 org.apache.logging.log4j:log4j-api@2.17.1 org.junit.jupiter:junit-jupiter-migrationsupport@5.7.2 junit:junit@4.13
    Remediation: Upgrade to org.apache.logging.log4j:log4j-api@2.17.1.
  • Introduced through: bdelion/basic-weather-app@bdelion/basic-weather-app#258ce3b9f4a6ada9eff3d85d1e3f405f32114e56 org.apache.logging.log4j:log4j-api@2.17.1 org.junit.vintage:junit-vintage-engine@5.7.2 junit:junit@4.13
    Remediation: Upgrade to org.apache.logging.log4j:log4j-api@2.17.1.
  • Introduced through: bdelion/basic-weather-app@bdelion/basic-weather-app#258ce3b9f4a6ada9eff3d85d1e3f405f32114e56 org.apache.logging.log4j:log4j-core@2.17.1 org.junit.vintage:junit-vintage-engine@5.7.2 junit:junit@4.13
    Remediation: Upgrade to org.apache.logging.log4j:log4j-core@2.17.1.
  • Introduced through: bdelion/basic-weather-app@bdelion/basic-weather-app#258ce3b9f4a6ada9eff3d85d1e3f405f32114e56 org.apache.logging.log4j:log4j-core@2.17.1 org.apache.logging.log4j:log4j-api@2.17.1 org.junit.jupiter:junit-jupiter-migrationsupport@5.7.2 junit:junit@4.13
    Remediation: Upgrade to org.apache.logging.log4j:log4j-core@2.17.1.
  • Introduced through: bdelion/basic-weather-app@bdelion/basic-weather-app#258ce3b9f4a6ada9eff3d85d1e3f405f32114e56 org.apache.logging.log4j:log4j-core@2.17.1 org.apache.logging.log4j:log4j-api@2.17.1 org.junit.vintage:junit-vintage-engine@5.7.2 junit:junit@4.13
    Remediation: Upgrade to org.apache.logging.log4j:log4j-core@2.17.1.

Overview

junit:junit is an unit testing framework for Java

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

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

Remediation

Upgrade junit:junit to version 4.13.1 or higher.

References