Vulnerabilities

15 via 25 paths

Dependencies

167

Source

GitHub

Find, fix and prevent vulnerabilities in your code.

Issue type
  • 15
  • 1
Severity
  • 1
  • 7
  • 5
  • 3
Status
  • 16
  • 0
  • 0

critical severity
new

Incorrect Comparison

  • Vulnerable module: io.netty:netty-handler
  • Introduced through: io.lettuce:lettuce-core@7.5.1.RELEASE and software.amazon.awssdk:netty-nio-client@2.44.7

Detailed paths

  • Introduced through: larseckart/java_playground@larseckart/java_playground io.lettuce:lettuce-core@7.5.1.RELEASE io.netty:netty-handler@4.2.5.Final
  • Introduced through: larseckart/java_playground@larseckart/java_playground software.amazon.awssdk:netty-nio-client@2.44.7 io.netty:netty-handler@4.2.5.Final
  • 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-handler@4.2.5.Final
  • Introduced through: larseckart/java_playground@larseckart/java_playground software.amazon.awssdk:netty-nio-client@2.44.7 io.netty:netty-codec-http2@5.0.0.Alpha2 io.netty:netty-handler@4.2.5.Final

Overview

io.netty:netty-handler is a library that provides an asynchronous event-driven network application framework and tools for rapid development of maintainable high performance and high scalability protocol servers and clients. In other words, Netty is a NIO client server framework which enables quick and easy development of network applications such as protocol servers and clients. It greatly simplifies and streamlines network programming such as TCP and UDP socket server.

Affected versions of this package are vulnerable to Incorrect Comparison in the IpSubnetFilterRule.compareTo() function. An attacker can gain unauthorized access by bypassing IPv6 subnet restrictions through incorrect masking of IP addresses.

Remediation

Upgrade io.netty:netty-handler to version 4.1.135.Final, 4.2.15.Final or higher.

References

high severity

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
    Remediation: Upgrade to io.lettuce:lettuce-core@7.5.2.RELEASE.

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: io.netty:netty-handler
  • Introduced through: io.lettuce:lettuce-core@7.5.1.RELEASE and software.amazon.awssdk:netty-nio-client@2.44.7

Detailed paths

  • Introduced through: larseckart/java_playground@larseckart/java_playground io.lettuce:lettuce-core@7.5.1.RELEASE io.netty:netty-handler@4.2.5.Final
  • Introduced through: larseckart/java_playground@larseckart/java_playground software.amazon.awssdk:netty-nio-client@2.44.7 io.netty:netty-handler@4.2.5.Final
  • 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-handler@4.2.5.Final
  • Introduced through: larseckart/java_playground@larseckart/java_playground software.amazon.awssdk:netty-nio-client@2.44.7 io.netty:netty-codec-http2@5.0.0.Alpha2 io.netty:netty-handler@4.2.5.Final

Overview

io.netty:netty-handler is a library that provides an asynchronous event-driven network application framework and tools for rapid development of maintainable high performance and high scalability protocol servers and clients. In other words, Netty is a NIO client server framework which enables quick and easy development of network applications such as protocol servers and clients. It greatly simplifies and streamlines network programming such as TCP and UDP socket server.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the SslClientHelloHandler.decode() function. An attacker can cause excessive memory allocation by sending a specially crafted TLS handshake with a large handshake length value, leading to resource exhaustion and potential denial of service.

Remediation

Upgrade io.netty:netty-handler to version 4.1.135.Final, 4.2.15.Final or higher.

References

high severity

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

high severity
new

Insufficient Verification of Data Authenticity

  • Vulnerable module: io.netty:netty-resolver-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

Overview

Affected versions of this package are vulnerable to Insufficient Verification of Data Authenticity in the DnsResolveContext.AuthoritativeNameServerList#add function. An attacker can inject malicious NS and A records into the DNS cache by controlling an authoritative name server for a subdomain and providing NS records that claim authority over a parent domain, leading to unauthorized redirection or interception of DNS queries for affected domains.

Remediation

Upgrade io.netty:netty-resolver-dns to version 4.1.135.Final, 4.2.15.Final or higher.

References

high severity
new

Insufficient Verification of Data Authenticity

  • Vulnerable module: io.netty:netty-resolver-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

Overview

Affected versions of this package are vulnerable to Insufficient Verification of Data Authenticity due to missing validation of the origin of CNAME records in DNS responses within the DnsResolveContext function. An attacker can inject unauthorized DNS records by supplying malicious DNS responses, potentially leading to cache poisoning and redirection of network traffic.

Remediation

Upgrade io.netty:netty-resolver-dns to version 4.1.135.Final, 4.2.15.Final or higher.

References

medium severity
new

Generation of Predictable Numbers or Identifiers

  • Vulnerable module: io.netty:netty-resolver-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

Overview

Affected versions of this package are vulnerable to Generation of Predictable Numbers or Identifiers due to the use of a predictable pseudo-random number generator for DNS transaction IDs and a default static UDP source port in the DNS resolution process. An attacker can redirect network traffic or perform man-in-the-middle attacks by spoofing DNS responses.

Note:

This is only exploitable if the attacker's forged response arrives before the legitimate DNS reply. The timing window is not guaranteed.

Remediation

Upgrade io.netty:netty-resolver-dns to version 4.1.135.Final, 4.2.15.Final 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
new

Missing Release of Resource after Effective Lifetime

  • Vulnerable module: io.netty:netty-transport-native-unix-common
  • Introduced through: io.lettuce:lettuce-core@7.5.1.RELEASE and software.amazon.awssdk:netty-nio-client@2.44.7

Detailed paths

  • Introduced through: larseckart/java_playground@larseckart/java_playground io.lettuce:lettuce-core@7.5.1.RELEASE io.netty:netty-handler@4.2.5.Final io.netty:netty-transport-native-unix-common@4.2.5.Final
  • Introduced through: larseckart/java_playground@larseckart/java_playground software.amazon.awssdk:netty-nio-client@2.44.7 io.netty:netty-handler@4.2.5.Final io.netty:netty-transport-native-unix-common@4.2.5.Final
  • Introduced through: larseckart/java_playground@larseckart/java_playground software.amazon.awssdk:netty-nio-client@2.44.7 io.netty:netty-transport-classes-epoll@4.2.15.Final io.netty:netty-transport-native-unix-common@4.2.5.Final
  • 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-handler@4.2.5.Final io.netty:netty-transport-native-unix-common@4.2.5.Final
  • Introduced through: larseckart/java_playground@larseckart/java_playground software.amazon.awssdk:netty-nio-client@2.44.7 io.netty:netty-codec-http2@5.0.0.Alpha2 io.netty:netty-handler@4.2.5.Final io.netty:netty-transport-native-unix-common@4.2.5.Final

Overview

Affected versions of this package are vulnerable to Missing Release of Resource after Effective Lifetime in the netty_unix_socket_recvFd function. An attacker can cause file descriptor leaks by sending two file descriptors at once via a Unix domain socket, leading to resource exhaustion and potential denial of service.

Note:

This is only exploitable if the application opts into DomainSocketReadMode.FILE_DESCRIPTORS.

Remediation

Upgrade io.netty:netty-transport-native-unix-common to version 4.1.135.Final, 4.2.15.Final 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