Vulnerabilities

12 via 52 paths

Dependencies

51

Source

GitHub

Find, fix and prevent vulnerabilities in your code.

Severity
  • 4
  • 5
  • 3
Status
  • 12
  • 0
  • 0

high severity

Use After Free

  • Vulnerable module: com.github.jnr:jnr-posix
  • Introduced through: com.github.hypfvieh:dbus-java@3.2.0

Detailed paths

  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network com.github.hypfvieh:dbus-java@3.2.0 com.github.jnr:jnr-unixsocket@0.23 com.github.jnr:jnr-posix@3.0.50
    Remediation: Upgrade to com.github.hypfvieh:dbus-java@3.3.2.

Overview

Affected versions of this package are vulnerable to Use After Free due to CVE-2014-4043.

Remediation

Upgrade com.github.jnr:jnr-posix to version 3.1.8 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.11.2

Detailed paths

  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network com.fasterxml.jackson.core:jackson-databind@2.11.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

Denial of Service (DoS)

  • Vulnerable module: com.google.protobuf:protobuf-java
  • Introduced through: com.google.protobuf:protobuf-java-util@3.13.0 and io.github.incplusplus:simplewifi-java@0.0.4

Detailed paths

  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network com.google.protobuf:protobuf-java-util@3.13.0 com.google.protobuf:protobuf-java@3.13.0
    Remediation: Upgrade to com.google.protobuf:protobuf-java-util@3.16.1.
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 com.google.protobuf:protobuf-java-util@3.13.0 com.google.protobuf:protobuf-java@3.13.0
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-protobuf@1.64.0 com.google.protobuf:protobuf-java@3.13.0
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-protobuf@1.64.0 com.google.api.grpc:proto-google-common-protos@2.29.0 com.google.protobuf:protobuf-java@3.13.0

Overview

com.google.protobuf:protobuf-java is a Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data.

Affected versions of this package are vulnerable to Denial of Service (DoS). An issue in protobuf-java allowed the interleaving of com.google.protobuf.UnknownFieldSet fields in such a way that would be processed out of order. A small malicious payload can occupy the parser for several minutes by creating large numbers of short-lived objects that cause frequent, repeated pauses.

Note: Protobuf javalite users are not affected.

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.google.protobuf:protobuf-java to version 3.16.1, 3.18.2, 3.19.2 or higher.

References

high severity

Denial of Service (DoS)

  • Vulnerable module: com.google.protobuf:protobuf-java
  • Introduced through: com.google.protobuf:protobuf-java-util@3.13.0 and io.github.incplusplus:simplewifi-java@0.0.4

Detailed paths

  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network com.google.protobuf:protobuf-java-util@3.13.0 com.google.protobuf:protobuf-java@3.13.0
    Remediation: Upgrade to com.google.protobuf:protobuf-java-util@3.16.3.
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 com.google.protobuf:protobuf-java-util@3.13.0 com.google.protobuf:protobuf-java@3.13.0
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-protobuf@1.64.0 com.google.protobuf:protobuf-java@3.13.0
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-protobuf@1.64.0 com.google.api.grpc:proto-google-common-protos@2.29.0 com.google.protobuf:protobuf-java@3.13.0

Overview

com.google.protobuf:protobuf-java is a Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data.

Affected versions of this package are vulnerable to Denial of Service (DoS) in MessageReflection.java due to a text format parsing issue. Inputs containing multiple instances of non-repeated embedded messages with repeated or unknown fields causes objects to be converted back and forth between mutable and immutable forms, resulting in potentially long garbage collection pauses.

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.google.protobuf:protobuf-java to version 3.16.3, 3.19.6, 3.20.3, 3.21.7 or higher.

References

medium severity

Deserialization of Untrusted Data

  • Vulnerable module: com.google.code.gson:gson
  • Introduced through: com.google.code.gson:gson@2.8.6, com.google.protobuf:protobuf-java-util@3.13.0 and others

Detailed paths

  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network com.google.code.gson:gson@2.8.6
    Remediation: Upgrade to com.google.code.gson:gson@2.8.9.
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network com.google.protobuf:protobuf-java-util@3.13.0 com.google.code.gson:gson@2.8.6
    Remediation: Upgrade to com.google.protobuf:protobuf-java-util@3.20.0.
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 com.google.protobuf:protobuf-java-util@3.13.0 com.google.code.gson:gson@2.8.6
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-netty-shaded@1.64.0 io.grpc:grpc-core@1.64.0 com.google.code.gson:gson@2.8.6
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-netty-shaded@1.64.0 io.grpc:grpc-util@1.64.0 io.grpc:grpc-core@1.64.0 com.google.code.gson:gson@2.8.6

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: com.fasterxml.jackson.core:jackson-databind
  • Introduced through: com.fasterxml.jackson.core:jackson-databind@2.11.2

Detailed paths

  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network com.fasterxml.jackson.core:jackson-databind@2.11.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.11.2

Detailed paths

  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network com.fasterxml.jackson.core:jackson-databind@2.11.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.11.2

Detailed paths

  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network com.fasterxml.jackson.core:jackson-databind@2.11.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

Denial of Service (DoS)

  • Vulnerable module: com.google.protobuf:protobuf-java
  • Introduced through: com.google.protobuf:protobuf-java-util@3.13.0 and io.github.incplusplus:simplewifi-java@0.0.4

Detailed paths

  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network com.google.protobuf:protobuf-java-util@3.13.0 com.google.protobuf:protobuf-java@3.13.0
    Remediation: Upgrade to com.google.protobuf:protobuf-java-util@3.16.3.
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 com.google.protobuf:protobuf-java-util@3.13.0 com.google.protobuf:protobuf-java@3.13.0
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-protobuf@1.64.0 com.google.protobuf:protobuf-java@3.13.0
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-protobuf@1.64.0 com.google.api.grpc:proto-google-common-protos@2.29.0 com.google.protobuf:protobuf-java@3.13.0

Overview

com.google.protobuf:protobuf-java is a Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data.

Affected versions of this package are vulnerable to Denial of Service (DoS) via the parsing procedure for binary and text format data. Input streams containing multiple instances of non-repeated embedded messages with repeated or unknown fields cause objects to be converted back and forth between mutable and immutable forms, resulting in potentially long garbage collection pauses.

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.google.protobuf:protobuf-java to version 3.16.3, 3.19.6, 3.20.3, 3.21.7 or higher.

References

low severity

Creation of Temporary File in Directory with Insecure Permissions

  • Vulnerable module: com.google.guava:guava
  • Introduced through: com.google.protobuf:protobuf-java-util@3.13.0 and io.github.incplusplus:simplewifi-java@0.0.4

Detailed paths

  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network com.google.protobuf:protobuf-java-util@3.13.0 com.google.guava:guava@29.0-android
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 com.google.protobuf:protobuf-java-util@3.13.0 com.google.guava:guava@29.0-android
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-netty-shaded@1.64.0 com.google.guava:guava@29.0-android
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-protobuf@1.64.0 com.google.guava:guava@29.0-android
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-stub@1.64.0 com.google.guava:guava@29.0-android
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-netty-shaded@1.64.0 io.grpc:grpc-core@1.64.0 com.google.guava:guava@29.0-android
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-netty-shaded@1.64.0 io.grpc:grpc-util@1.64.0 com.google.guava:guava@29.0-android
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-netty-shaded@1.64.0 io.grpc:grpc-api@1.64.0 com.google.guava:guava@29.0-android
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-protobuf@1.64.0 io.grpc:grpc-api@1.64.0 com.google.guava:guava@29.0-android
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-stub@1.64.0 io.grpc:grpc-api@1.64.0 com.google.guava:guava@29.0-android
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-protobuf@1.64.0 io.grpc:grpc-protobuf-lite@1.64.0 com.google.guava:guava@29.0-android
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-netty-shaded@1.64.0 io.grpc:grpc-core@1.64.0 io.grpc:grpc-api@1.64.0 com.google.guava:guava@29.0-android
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-netty-shaded@1.64.0 io.grpc:grpc-util@1.64.0 io.grpc:grpc-api@1.64.0 com.google.guava:guava@29.0-android
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-netty-shaded@1.64.0 io.grpc:grpc-util@1.64.0 io.grpc:grpc-core@1.64.0 com.google.guava:guava@29.0-android

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.protobuf:protobuf-java-util@3.13.0 and io.github.incplusplus:simplewifi-java@0.0.4

Detailed paths

  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network com.google.protobuf:protobuf-java-util@3.13.0 com.google.guava:guava@29.0-android
    Remediation: Upgrade to com.google.protobuf:protobuf-java-util@3.15.0.
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 com.google.protobuf:protobuf-java-util@3.13.0 com.google.guava:guava@29.0-android
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-netty-shaded@1.64.0 com.google.guava:guava@29.0-android
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-protobuf@1.64.0 com.google.guava:guava@29.0-android
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-stub@1.64.0 com.google.guava:guava@29.0-android
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-netty-shaded@1.64.0 io.grpc:grpc-core@1.64.0 com.google.guava:guava@29.0-android
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-netty-shaded@1.64.0 io.grpc:grpc-util@1.64.0 com.google.guava:guava@29.0-android
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-netty-shaded@1.64.0 io.grpc:grpc-api@1.64.0 com.google.guava:guava@29.0-android
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-protobuf@1.64.0 io.grpc:grpc-api@1.64.0 com.google.guava:guava@29.0-android
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-stub@1.64.0 io.grpc:grpc-api@1.64.0 com.google.guava:guava@29.0-android
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-protobuf@1.64.0 io.grpc:grpc-protobuf-lite@1.64.0 com.google.guava:guava@29.0-android
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-netty-shaded@1.64.0 io.grpc:grpc-core@1.64.0 io.grpc:grpc-api@1.64.0 com.google.guava:guava@29.0-android
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-netty-shaded@1.64.0 io.grpc:grpc-util@1.64.0 io.grpc:grpc-api@1.64.0 com.google.guava:guava@29.0-android
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 io.grpc:grpc-netty-shaded@1.64.0 io.grpc:grpc-util@1.64.0 io.grpc:grpc-core@1.64.0 com.google.guava:guava@29.0-android

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

Information Exposure

  • Vulnerable module: junit:junit
  • Introduced through: com.google.protobuf:protobuf-java-util@3.13.0 and io.github.incplusplus:simplewifi-java@0.0.4

Detailed paths

  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network com.google.protobuf:protobuf-java-util@3.13.0 junit:junit@4.13
    Remediation: Upgrade to com.google.protobuf:protobuf-java-util@3.13.0.
  • Introduced through: IncPlusPlus/bigtoolbox-network@IncPlusPlus/bigtoolbox-network io.github.incplusplus:simplewifi-java@0.0.4 com.google.protobuf:protobuf-java-util@3.13.0 junit:junit@4.13

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