Vulnerabilities

15 via 33 paths

Dependencies

20

Source

GitHub

Commit

develop

Find, fix and prevent vulnerabilities in your code.

Severity
  • 1
  • 6
  • 6
  • 2
Status
  • 15
  • 0
  • 0

critical severity

Remote Code Execution (RCE)

  • Vulnerable module: org.scala-lang:scala-library
  • Introduced through: org.scala-lang:scala-library@2.13.1, com.pauldijou:jwt-core_2.13@4.3.0 and others

Detailed paths

  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop org.scala-lang:scala-library@2.13.1
    Remediation: Upgrade to org.scala-lang:scala-library@2.13.9.
  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop com.pauldijou:jwt-core_2.13@4.3.0 org.scala-lang:scala-library@2.13.1
  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop com.typesafe.akka:akka-http-core_2.13@10.1.11 org.scala-lang:scala-library@2.13.1
    Remediation: Upgrade to com.typesafe.akka:akka-http-core_2.13@10.4.0.
  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop com.typesafe.akka:akka-http-spray-json_2.13@10.1.11 org.scala-lang:scala-library@2.13.1
    Remediation: Upgrade to com.typesafe.akka:akka-http-spray-json_2.13@10.4.0.
  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop de.upb.cs.swt.delphi:delphi-core_2.13@0.9.2 org.scala-lang:scala-library@2.13.1
  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop com.typesafe.akka:akka-http-core_2.13@10.1.11 com.typesafe.akka:akka-parsing_2.13@10.1.11 org.scala-lang:scala-library@2.13.1
    Remediation: Upgrade to com.typesafe.akka:akka-http-core_2.13@10.4.0.
  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop com.typesafe.akka:akka-http-spray-json_2.13@10.1.11 com.typesafe.akka:akka-http_2.13@10.1.11 org.scala-lang:scala-library@2.13.1
    Remediation: Upgrade to com.typesafe.akka:akka-http-spray-json_2.13@10.4.0.
  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop com.typesafe.akka:akka-http-spray-json_2.13@10.1.11 io.spray:spray-json_2.13@1.3.5 org.scala-lang:scala-library@2.13.1
  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop de.upb.cs.swt.delphi:delphi-core_2.13@0.9.2 io.spray:spray-json_2.13@1.3.5 org.scala-lang:scala-library@2.13.1
  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop de.upb.cs.swt.delphi:delphi-core_2.13@0.9.2 org.parboiled:parboiled_2.13@2.1.8 org.scala-lang:scala-library@2.13.1
  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop com.typesafe.akka:akka-http-spray-json_2.13@10.1.11 com.typesafe.akka:akka-http_2.13@10.1.11 com.typesafe.akka:akka-http-core_2.13@10.1.11 org.scala-lang:scala-library@2.13.1
    Remediation: Upgrade to com.typesafe.akka:akka-http-spray-json_2.13@10.4.0.
  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop de.upb.cs.swt.delphi:delphi-core_2.13@0.9.2 org.parboiled:parboiled_2.13@2.1.8 com.chuusai:shapeless_2.13@2.3.3 org.scala-lang:scala-library@2.13.1
  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop com.typesafe.akka:akka-http-spray-json_2.13@10.1.11 com.typesafe.akka:akka-http_2.13@10.1.11 com.typesafe.akka:akka-http-core_2.13@10.1.11 com.typesafe.akka:akka-parsing_2.13@10.1.11 org.scala-lang:scala-library@2.13.1
    Remediation: Upgrade to com.typesafe.akka:akka-http-spray-json_2.13@10.4.0.

Overview

Affected versions of this package are vulnerable to Remote Code Execution (RCE) due to a vulnerable Java deserialization chain when used in conjunction with LazyList object deserialization, which may allow execution of an arbitrary Function0.

Remediation

Upgrade org.scala-lang:scala-library to version 2.13.9 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.2 and com.fasterxml.jackson.core:jackson-databind@2.10.2

Detailed paths

  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop com.fasterxml.jackson.core:jackson-core@2.10.2
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-core@2.15.0.
  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop com.fasterxml.jackson.core:jackson-databind@2.10.2 com.fasterxml.jackson.core:jackson-core@2.10.2
    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-core@2.10.2 and com.fasterxml.jackson.core:jackson-databind@2.10.2

Detailed paths

  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop com.fasterxml.jackson.core:jackson-core@2.10.2
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-core@2.15.0.
  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop com.fasterxml.jackson.core:jackson-databind@2.10.2 com.fasterxml.jackson.core:jackson-core@2.10.2
    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.typesafe.akka:akka-http-core_2.13
  • Introduced through: com.typesafe.akka:akka-http-core_2.13@10.1.11 and com.typesafe.akka:akka-http-spray-json_2.13@10.1.11

Detailed paths

  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop com.typesafe.akka:akka-http-core_2.13@10.1.11
    Remediation: Upgrade to com.typesafe.akka:akka-http-core_2.13@10.5.3.
  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop com.typesafe.akka:akka-http-spray-json_2.13@10.1.11 com.typesafe.akka:akka-http_2.13@10.1.11 com.typesafe.akka:akka-http-core_2.13@10.1.11
    Remediation: Upgrade to com.typesafe.akka:akka-http-spray-json_2.13@10.5.3.

Overview

com.typesafe.akka:akka-http-core_2.13 is a modern, fast, asynchronous, streaming-first HTTP server and client.

Affected versions of this package are vulnerable to Denial of Service (DoS) in the implementation of the HTTP/2 protocol. An attacker can cause a denial of service (including via DDoS) by rapidly resetting many streams through request cancellation.

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.typesafe.akka:akka-http-core_2.13 to version 10.5.3 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.2

Detailed paths

  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop com.fasterxml.jackson.core:jackson-databind@2.10.2
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.10.5.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 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

Denial of Service (DoS)

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

Detailed paths

  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop com.fasterxml.jackson.core:jackson-databind@2.10.2
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.12.6.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

high severity

Improper Resource Shutdown or Release

  • Vulnerable module: com.typesafe.akka:akka-http-core_2.13
  • Introduced through: com.typesafe.akka:akka-http-core_2.13@10.1.11 and com.typesafe.akka:akka-http-spray-json_2.13@10.1.11

Detailed paths

  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop com.typesafe.akka:akka-http-core_2.13@10.1.11
    Remediation: Upgrade to com.typesafe.akka:akka-http-core_2.13@10.1.15.
  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop com.typesafe.akka:akka-http-spray-json_2.13@10.1.11 com.typesafe.akka:akka-http_2.13@10.1.11 com.typesafe.akka:akka-http-core_2.13@10.1.11
    Remediation: Upgrade to com.typesafe.akka:akka-http-spray-json_2.13@10.1.15.

Overview

com.typesafe.akka:akka-http-core_2.13 is a modern, fast, asynchronous, streaming-first HTTP server and client.

Affected versions of this package are vulnerable to Improper Resource Shutdown or Release which can encounter stack exhaustion while parsing HTTP headers. It allows a remote attacker to conduct a Denial of Service attack by sending a User-Agent header with deeply nested comments.

Remediation

Upgrade com.typesafe.akka:akka-http-core_2.13 to version 10.2.7, 10.1.15 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.2

Detailed paths

  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop com.fasterxml.jackson.core:jackson-databind@2.10.2
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.12.6.

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

Detailed paths

  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop com.fasterxml.jackson.core:jackson-databind@2.10.2
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.12.7.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 _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.2

Detailed paths

  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop com.fasterxml.jackson.core:jackson-databind@2.10.2
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.12.7.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

Information Exposure

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

Detailed paths

  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop com.fasterxml.jackson.core:jackson-core@2.10.2
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-core@2.13.0.
  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop com.fasterxml.jackson.core:jackson-databind@2.10.2 com.fasterxml.jackson.core:jackson-core@2.10.2
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.13.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

HTTP Request Smuggling

  • Vulnerable module: com.typesafe.akka:akka-http-core_2.13
  • Introduced through: com.typesafe.akka:akka-http-core_2.13@10.1.11 and com.typesafe.akka:akka-http-spray-json_2.13@10.1.11

Detailed paths

  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop com.typesafe.akka:akka-http-core_2.13@10.1.11
    Remediation: Upgrade to com.typesafe.akka:akka-http-core_2.13@10.1.14.
  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop com.typesafe.akka:akka-http-spray-json_2.13@10.1.11 com.typesafe.akka:akka-http_2.13@10.1.11 com.typesafe.akka:akka-http-core_2.13@10.1.11
    Remediation: Upgrade to com.typesafe.akka:akka-http-spray-json_2.13@10.1.14.

Overview

com.typesafe.akka:akka-http-core_2.13 is a modern, fast, asynchronous, streaming-first HTTP server and client.

Affected versions of this package are vulnerable to HTTP Request Smuggling. It allows multiple Transfer-Encoding headers.

Remediation

Upgrade com.typesafe.akka:akka-http-core_2.13 to version 10.2.4, 10.1.14 or higher.

References

medium severity

Creation of Temporary File With Insecure Permissions

  • Vulnerable module: com.typesafe.akka:akka-http_2.13
  • Introduced through: com.typesafe.akka:akka-http-spray-json_2.13@10.1.11

Detailed paths

  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop com.typesafe.akka:akka-http-spray-json_2.13@10.1.11 com.typesafe.akka:akka-http_2.13@10.1.11
    Remediation: Upgrade to com.typesafe.akka:akka-http-spray-json_2.13@10.5.2.

Overview

Affected versions of this package are vulnerable to Creation of Temporary File With Insecure Permissions such that when it accepts file uploads via the FileUploadDirectives.fileUploadAll directive, the temporary file it creates has too weak permissions and it is readable by other users on Linux or UNIX.

Note: This issue is similar to CVE-2022-41946.

Remediation

Upgrade com.typesafe.akka:akka-http_2.13 to version 10.5.2 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@25.1-jre

Detailed paths

  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop com.google.guava:guava@25.1-jre
    Remediation: Upgrade to com.google.guava:guava@32.0.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@25.1-jre

Detailed paths

  • Introduced through: delphi-hub/delphi-webapp@delphi-hub/delphi-webapp#develop com.google.guava:guava@25.1-jre
    Remediation: Upgrade to com.google.guava:guava@30.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