Vulnerabilities

9 via 9 paths

Dependencies

167

Source

GitHub

Find, fix and prevent vulnerabilities in your code.

Issue type
  • 9
  • 1
Severity
  • 4
  • 3
  • 3
Status
  • 10
  • 0
  • 0

high severity
new

Null Byte Interaction Error (Poison Null Byte)

  • Vulnerable module: io.netty:netty-codec-dns
  • Introduced through: io.lettuce:lettuce-core@7.5.1.RELEASE

Detailed paths

  • Introduced through: larseckart/java_playground@larseckart/java_playground io.lettuce:lettuce-core@7.5.1.RELEASE io.netty:netty-resolver-dns@4.2.5.Final io.netty:netty-codec-dns@4.2.5.Final

Overview

Affected versions of this package are vulnerable to Null Byte Interaction Error (Poison Null Byte) due to inadequate validation of domain name labels and lengths in the encodeDomainName and decodeDomainName components. An attacker can cause DNS cache poisoning, bypass domain validation, or trigger excessive memory allocation by supplying specially crafted domain names or malicious DNS responses. This can result in downstream failures, silent truncation of domain names, and parser confusion across different DNS implementations.

Remediation

Upgrade io.netty:netty-codec-dns to version 4.1.133.Final, 4.2.13.Final or higher.

References

high severity
new

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: org.postgresql:postgresql
  • Introduced through: org.postgresql:postgresql@42.7.10

Detailed paths

  • Introduced through: larseckart/java_playground@larseckart/java_playground org.postgresql:postgresql@42.7.10
    Remediation: Upgrade to org.postgresql:postgresql@42.7.11.

Overview

org.postgresql:postgresql is a Java JDBC 4.2 (JRE 8+) driver for PostgreSQL database.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling during the client-side SCRAM-SHA-256 authentication. An attacker can cause excessive CPU consumption by specifying a very large PBKDF2 iteration count during authentication attempts from a malicious server. This can lead to exhaustion of client CPU resources and disruption of connection pools.

Workaround

The following measures can reduce exposure:

  • Only connect to trusted PostgreSQL servers whose identity is verified. Connect only to trusted PostgreSQL servers, and verify server identity with TLS using sslmode=verify-full and a trusted CA. TLS without certificate and hostname verification is not sufficient as an active network attacker can still impersonate the server.

  • Do not rely on loginTimeout as a complete mitigation on unpatched versions. On affected versions, loginTimeout can stop the waiting caller while the worker thread continues spending CPU.

  • Avoid SCRAM on untrusted or interceptable connection paths. For those paths, use an authentication method that does not let the server choose a SCRAM PBKDF2 iteration count.

  • Reduce blast radius operationally. Limit parallel connection attempts, add retry backoff, isolate connection establishment in a separate worker or process when possible, and apply CPU or container limits where appropriate.

  • On trusted servers you control, keep SCRAM iteration counts at ordinary values. This does not defend against an attacker-controlled server, but it avoids unnecessary client cost when talking to legitimate servers.

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.postgresql:postgresql to version 42.7.11 or higher.

References

high severity

Denial of Service (DoS)

  • Vulnerable module: org.yaml:snakeyaml
  • Introduced through: org.yaml:snakeyaml@1.27

Detailed paths

  • Introduced through: larseckart/java_playground@larseckart/java_playground org.yaml:snakeyaml@1.27
    Remediation: Upgrade to org.yaml:snakeyaml@1.31.

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: org.yaml:snakeyaml@1.27

Detailed paths

  • Introduced through: larseckart/java_playground@larseckart/java_playground org.yaml:snakeyaml@1.27
    Remediation: Upgrade to org.yaml:snakeyaml@1.31.

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

medium severity

Arbitrary Code Execution

  • Vulnerable module: org.yaml:snakeyaml
  • Introduced through: org.yaml:snakeyaml@1.27

Detailed paths

  • Introduced through: larseckart/java_playground@larseckart/java_playground org.yaml:snakeyaml@1.27
    Remediation: Upgrade to org.yaml:snakeyaml@2.0.

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

Stack-based Buffer Overflow

  • Vulnerable module: org.yaml:snakeyaml
  • Introduced through: org.yaml:snakeyaml@1.27

Detailed paths

  • Introduced through: larseckart/java_playground@larseckart/java_playground org.yaml:snakeyaml@1.27
    Remediation: Upgrade to org.yaml:snakeyaml@1.31.

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

EPL-1.0 license

  • Module: junit:junit
  • Introduced through: com.google.protobuf:protobuf-lite@3.0.1, com.google.mug:mug-guava@9.9.1 and others

Detailed paths

  • Introduced through: larseckart/java_playground@larseckart/java_playground com.google.protobuf:protobuf-lite@3.0.1 junit:junit@4.13.1
  • Introduced through: larseckart/java_playground@larseckart/java_playground com.google.mug:mug-guava@9.9.1 com.google.guava:guava-testlib@33.4.0-jre junit:junit@4.13.1
  • Introduced through: larseckart/java_playground@larseckart/java_playground com.google.mug:mug-guava@9.9.1 com.google.testparameterinjector:test-parameter-injector@1.8 junit:junit@4.13.1
  • Introduced through: larseckart/java_playground@larseckart/java_playground com.google.mug:mug-guava@9.9.1 com.google.truth:truth@1.1.5 junit:junit@4.13.1
  • Introduced through: larseckart/java_playground@larseckart/java_playground com.google.mug:mug-guava@9.9.1 com.google.mug:mug@9.9.1 junit:junit@4.13.1
  • Introduced through: larseckart/java_playground@larseckart/java_playground com.google.mug:mug-safesql@9.9.1 com.google.mug:mug@9.9.1 junit:junit@4.13.1
  • Introduced through: larseckart/java_playground@larseckart/java_playground com.sun.xml.ws:jaxws-rt@4.0.4 org.jvnet.mimepull:mimepull@1.10.0 junit:junit@4.13.1
  • Introduced through: larseckart/java_playground@larseckart/java_playground com.google.mug:mug-guava@9.9.1 com.google.mug:mug@9.9.1 com.google.guava:guava-testlib@33.4.0-jre junit:junit@4.13.1
  • Introduced through: larseckart/java_playground@larseckart/java_playground com.google.mug:mug-safesql@9.9.1 com.google.mug:mug@9.9.1 com.google.guava:guava-testlib@33.4.0-jre junit:junit@4.13.1
  • Introduced through: larseckart/java_playground@larseckart/java_playground com.google.mug:mug-guava@9.9.1 com.google.mug:mug@9.9.1 com.google.testparameterinjector:test-parameter-injector@1.8 junit:junit@4.13.1
  • Introduced through: larseckart/java_playground@larseckart/java_playground com.google.mug:mug-safesql@9.9.1 com.google.mug:mug@9.9.1 com.google.testparameterinjector:test-parameter-injector@1.8 junit:junit@4.13.1
  • Introduced through: larseckart/java_playground@larseckart/java_playground com.google.mug:mug-guava@9.9.1 com.google.truth.extensions:truth-java8-extension@1.1.5 com.google.truth:truth@1.1.5 junit:junit@4.13.1
  • Introduced through: larseckart/java_playground@larseckart/java_playground com.google.mug:mug-guava@9.9.1 com.google.mug:mug@9.9.1 com.google.truth:truth@1.1.5 junit:junit@4.13.1
  • Introduced through: larseckart/java_playground@larseckart/java_playground com.google.mug:mug-safesql@9.9.1 com.google.mug:mug@9.9.1 com.google.truth:truth@1.1.5 junit:junit@4.13.1
  • Introduced through: larseckart/java_playground@larseckart/java_playground com.sun.xml.ws:jaxws-rt@4.0.4 org.glassfish.gmbal:gmbal-api-only@4.1.1 org.glassfish.pfl:pfl-tf@5.1.0 junit:junit@4.13.1
  • Introduced through: larseckart/java_playground@larseckart/java_playground com.google.mug:mug-guava@9.9.1 com.google.mug:mug@9.9.1 com.google.truth.extensions:truth-java8-extension@1.1.5 com.google.truth:truth@1.1.5 junit:junit@4.13.1
  • Introduced through: larseckart/java_playground@larseckart/java_playground com.google.mug:mug-safesql@9.9.1 com.google.mug:mug@9.9.1 com.google.truth.extensions:truth-java8-extension@1.1.5 com.google.truth:truth@1.1.5 junit:junit@4.13.1
  • Introduced through: larseckart/java_playground@larseckart/java_playground com.sun.xml.ws:jaxws-rt@4.0.4 org.glassfish.gmbal:gmbal-api-only@4.1.1 org.glassfish.pfl:pfl-tf@5.1.0 org.glassfish.pfl:pfl-dynamic@5.1.0 junit:junit@4.13.1
  • Introduced through: larseckart/java_playground@larseckart/java_playground com.sun.xml.ws:jaxws-rt@4.0.4 org.glassfish.gmbal:gmbal-api-only@4.1.1 org.glassfish.pfl:pfl-tf@5.1.0 org.glassfish.pfl:pfl-dynamic@5.1.0 org.glassfish.pfl:pfl-basic@5.1.0 junit:junit@4.13.1

EPL-1.0 license

low severity

Stack-based Buffer Overflow

  • Vulnerable module: org.yaml:snakeyaml
  • Introduced through: org.yaml:snakeyaml@1.27

Detailed paths

  • Introduced through: larseckart/java_playground@larseckart/java_playground org.yaml:snakeyaml@1.27
    Remediation: Upgrade to org.yaml:snakeyaml@1.32.

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: org.yaml:snakeyaml@1.27

Detailed paths

  • Introduced through: larseckart/java_playground@larseckart/java_playground org.yaml:snakeyaml@1.27
    Remediation: Upgrade to org.yaml:snakeyaml@1.31.

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: org.yaml:snakeyaml@1.27

Detailed paths

  • Introduced through: larseckart/java_playground@larseckart/java_playground org.yaml:snakeyaml@1.27
    Remediation: Upgrade to org.yaml:snakeyaml@1.32.

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