masahitojp/botan-core:build.gradle

Vulnerabilities

8 via 33 paths

Dependencies

25

Source

GitHub

Commit

47fdfc82

Find, fix and prevent vulnerabilities in your code.

Severity
  • 7
  • 1
Status
  • 8
  • 0
  • 0

medium severity

Denial of Service (DoS)

  • Vulnerable module: io.netty:netty-codec-http
  • Introduced through: io.netty:netty-codec-http@4.1.46.Final

Detailed paths

  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb io.netty:netty-codec-http@4.1.46.Final
    Remediation: Upgrade to io.netty:netty-codec-http@4.1.53.Final.

Overview

io.netty:netty-codec-http is a network application framework for rapid development of maintainable high performance protocol servers & clients.

Affected versions of this package are vulnerable to Denial of Service (DoS). When the post request body data received by the server is greater than 16k, netty will use DiskAttribute, which will create a temporary file, and use deleteOnExit() when the file needs to be deleted, which results in DeleteOnExitHook.files continually growing and leading to a denial of service.

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 io.netty:netty-codec-http to version 4.1.53.Final or higher.

References

medium severity

Information Disclosure

  • Vulnerable module: io.netty:netty-codec-http
  • Introduced through: io.netty:netty-codec-http@4.1.46.Final

Detailed paths

  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb io.netty:netty-codec-http@4.1.46.Final
    Remediation: Upgrade to io.netty:netty-codec-http@4.1.59.Final.

Overview

io.netty:netty-codec-http is a network application framework for rapid development of maintainable high performance protocol servers & clients.

Affected versions of this package are vulnerable to Information Disclosure via the AbstractDiskHttpData method, and on Unix-like systems.

When netty's multipart decoders are used, local information disclosure can occur via the local system temporary directory if temporary storing uploads on the disk are enabled. On unix-like systems, the temporary directory is shared between all users. As such, writing to this directory using API's that do not explicitly set the file/directory permissions can lead to information disclosure. The method File.createTempFile on unix-like systems creates a random file, but, by default will create this file with the permissions -rw-r--r--. Sensitive information is written to this file in AbstractDiskHttpData, and other local users can read it.

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.59.Final or higher.

References

medium severity

Information Disclosure

  • Vulnerable module: io.netty:netty-common
  • Introduced through: io.netty:netty-codec-http@4.1.46.Final

Detailed paths

  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb io.netty:netty-codec-http@4.1.46.Final io.netty:netty-common@4.1.46.Final
  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb io.netty:netty-codec-http@4.1.46.Final io.netty:netty-buffer@4.1.46.Final io.netty:netty-common@4.1.46.Final
  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb io.netty:netty-codec-http@4.1.46.Final io.netty:netty-transport@4.1.46.Final io.netty:netty-common@4.1.46.Final
  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb io.netty:netty-codec-http@4.1.46.Final io.netty:netty-codec@4.1.46.Final io.netty:netty-common@4.1.46.Final
  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb io.netty:netty-codec-http@4.1.46.Final io.netty:netty-handler@4.1.46.Final io.netty:netty-common@4.1.46.Final
  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb io.netty:netty-codec-http@4.1.46.Final io.netty:netty-transport@4.1.46.Final io.netty:netty-buffer@4.1.46.Final io.netty:netty-common@4.1.46.Final
  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb io.netty:netty-codec-http@4.1.46.Final io.netty:netty-codec@4.1.46.Final io.netty:netty-buffer@4.1.46.Final io.netty:netty-common@4.1.46.Final
  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb io.netty:netty-codec-http@4.1.46.Final io.netty:netty-handler@4.1.46.Final io.netty:netty-buffer@4.1.46.Final io.netty:netty-common@4.1.46.Final
  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb io.netty:netty-codec-http@4.1.46.Final io.netty:netty-transport@4.1.46.Final io.netty:netty-resolver@4.1.46.Final io.netty:netty-common@4.1.46.Final
  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb io.netty:netty-codec-http@4.1.46.Final io.netty:netty-handler@4.1.46.Final io.netty:netty-resolver@4.1.46.Final io.netty:netty-common@4.1.46.Final
  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb io.netty:netty-codec-http@4.1.46.Final io.netty:netty-codec@4.1.46.Final io.netty:netty-transport@4.1.46.Final io.netty:netty-common@4.1.46.Final
  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb io.netty:netty-codec-http@4.1.46.Final io.netty:netty-handler@4.1.46.Final io.netty:netty-transport@4.1.46.Final io.netty:netty-common@4.1.46.Final
  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb io.netty:netty-codec-http@4.1.46.Final io.netty:netty-handler@4.1.46.Final io.netty:netty-codec@4.1.46.Final io.netty:netty-common@4.1.46.Final
  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb io.netty:netty-codec-http@4.1.46.Final io.netty:netty-codec@4.1.46.Final io.netty:netty-transport@4.1.46.Final io.netty:netty-buffer@4.1.46.Final io.netty:netty-common@4.1.46.Final
  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb io.netty:netty-codec-http@4.1.46.Final io.netty:netty-handler@4.1.46.Final io.netty:netty-transport@4.1.46.Final io.netty:netty-buffer@4.1.46.Final io.netty:netty-common@4.1.46.Final
  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb io.netty:netty-codec-http@4.1.46.Final io.netty:netty-handler@4.1.46.Final io.netty:netty-codec@4.1.46.Final io.netty:netty-buffer@4.1.46.Final io.netty:netty-common@4.1.46.Final
  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb io.netty:netty-codec-http@4.1.46.Final io.netty:netty-codec@4.1.46.Final io.netty:netty-transport@4.1.46.Final io.netty:netty-resolver@4.1.46.Final io.netty:netty-common@4.1.46.Final
  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb io.netty:netty-codec-http@4.1.46.Final io.netty:netty-handler@4.1.46.Final io.netty:netty-transport@4.1.46.Final io.netty:netty-resolver@4.1.46.Final io.netty:netty-common@4.1.46.Final
  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb io.netty:netty-codec-http@4.1.46.Final io.netty:netty-handler@4.1.46.Final io.netty:netty-codec@4.1.46.Final io.netty:netty-transport@4.1.46.Final io.netty:netty-common@4.1.46.Final
  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb io.netty:netty-codec-http@4.1.46.Final io.netty:netty-handler@4.1.46.Final io.netty:netty-codec@4.1.46.Final io.netty:netty-transport@4.1.46.Final io.netty:netty-buffer@4.1.46.Final io.netty:netty-common@4.1.46.Final
  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb io.netty:netty-codec-http@4.1.46.Final io.netty:netty-handler@4.1.46.Final io.netty:netty-codec@4.1.46.Final io.netty:netty-transport@4.1.46.Final io.netty:netty-resolver@4.1.46.Final io.netty:netty-common@4.1.46.Final

Overview

Affected versions of this package are vulnerable to Information Disclosure via the AbstractDiskHttpData method, and on Unix-like systems.

When netty's multipart decoders are used, local information disclosure can occur via the local system temporary directory if temporary storing uploads on the disk are enabled. On unix-like systems, the temporary directory is shared between all users. As such, writing to this directory using API's that do not explicitly set the file/directory permissions can lead to information disclosure. The method File.createTempFile on unix-like systems creates a random file, but, by default will create this file with the permissions -rw-r--r--. Sensitive information is written to this file in AbstractDiskHttpData, and other local users can read it.

Remediation

Upgrade io.netty:netty-common to version 4.1.59.Final or higher.

References

medium severity

Improper Certificate Validation

  • Vulnerable module: io.netty:netty-handler
  • Introduced through: io.netty:netty-codec-http@4.1.46.Final

Detailed paths

  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb io.netty:netty-codec-http@4.1.46.Final io.netty:netty-handler@4.1.46.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 Improper Certificate Validation. Certificate hostname validation is disabled by default in Netty 4.1.x which makes it potentially susceptible to Man-in-the-Middle attacks.

Remediation

There is no fixed version for io.netty:netty-handler.

References

medium severity

Information Disclosure

  • Vulnerable module: io.netty:netty-handler
  • Introduced through: io.netty:netty-codec-http@4.1.46.Final

Detailed paths

  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb io.netty:netty-codec-http@4.1.46.Final io.netty:netty-handler@4.1.46.Final
    Remediation: Upgrade to io.netty:netty-codec-http@4.1.59.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 Information Disclosure via the AbstractDiskHttpData method, and on Unix-like systems.

When netty's multipart decoders are used, local information disclosure can occur via the local system temporary directory if temporary storing uploads on the disk are enabled. On unix-like systems, the temporary directory is shared between all users. As such, writing to this directory using API's that do not explicitly set the file/directory permissions can lead to information disclosure. The method File.createTempFile on unix-like systems creates a random file, but, by default will create this file with the permissions -rw-r--r--. Sensitive information is written to this file in AbstractDiskHttpData, and other local users can read it.

Remediation

Upgrade io.netty:netty-handler to version 4.1.59.Final or higher.

References

medium severity

Information Disclosure

  • Vulnerable module: io.netty:netty-transport
  • Introduced through: io.netty:netty-codec-http@4.1.46.Final

Detailed paths

  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb io.netty:netty-codec-http@4.1.46.Final io.netty:netty-transport@4.1.46.Final
  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb io.netty:netty-codec-http@4.1.46.Final io.netty:netty-codec@4.1.46.Final io.netty:netty-transport@4.1.46.Final
  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb io.netty:netty-codec-http@4.1.46.Final io.netty:netty-handler@4.1.46.Final io.netty:netty-transport@4.1.46.Final
  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb io.netty:netty-codec-http@4.1.46.Final io.netty:netty-handler@4.1.46.Final io.netty:netty-codec@4.1.46.Final io.netty:netty-transport@4.1.46.Final

Overview

Affected versions of this package are vulnerable to Information Disclosure via the AbstractDiskHttpData method, and on Unix-like systems.

When netty's multipart decoders are used, local information disclosure can occur via the local system temporary directory if temporary storing uploads on the disk are enabled. On unix-like systems, the temporary directory is shared between all users. As such, writing to this directory using API's that do not explicitly set the file/directory permissions can lead to information disclosure. The method File.createTempFile on unix-like systems creates a random file, but, by default will create this file with the permissions -rw-r--r--. Sensitive information is written to this file in AbstractDiskHttpData, and other local users can read it.

Remediation

Upgrade io.netty:netty-transport to version 4.1.59.Final or higher.

References

medium severity

Improper Input Validation

  • Vulnerable module: org.apache.httpcomponents:httpclient
  • Introduced through: com.ullink.slack:simpleslackapi@1.2.0

Detailed paths

  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb com.ullink.slack:simpleslackapi@1.2.0 org.apache.httpcomponents:httpclient@4.5.3
  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb com.ullink.slack:simpleslackapi@1.2.0 org.apache.httpcomponents:httpmime@4.5.3 org.apache.httpcomponents:httpclient@4.5.3

Overview

org.apache.httpcomponents:httpclient is a HttpClient component of the Apache HttpComponents project.

Affected versions of this package are vulnerable to Improper Input Validation. Apache HttpClient can misinterpret malformed authority component in request URIs passed to the library as java.net.URI object and pick the wrong target host for request execution.

Remediation

Upgrade org.apache.httpcomponents:httpclient to version 4.5.13 or higher.

References

low severity

Information Exposure

  • Vulnerable module: commons-codec:commons-codec
  • Introduced through: com.ullink.slack:simpleslackapi@1.2.0

Detailed paths

  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb com.ullink.slack:simpleslackapi@1.2.0 org.apache.httpcomponents:httpclient@4.5.3 commons-codec:commons-codec@1.9
  • Introduced through: masahitojp/botan-core@masahitojp/botan-core#47fdfc82b319d0619b65b971ef5ae4826d6ee7fb com.ullink.slack:simpleslackapi@1.2.0 org.apache.httpcomponents:httpmime@4.5.3 org.apache.httpcomponents:httpclient@4.5.3 commons-codec:commons-codec@1.9

Overview

commons-codec:commons-codec is a package that contains simple encoder and decoders for various formats such as Base64 and Hexadecimal.

Affected versions of this package are vulnerable to Information Exposure. When there is no byte array value that can be encoded into a string the Base32 implementation does not reject it, and instead decodes it into an arbitrary value which can be re-encoded again using the same implementation. This allows for information exposure exploits such as tunneling additional information via seemingly valid base 32 strings.

Remediation

Upgrade commons-codec:commons-codec to version 1.13 or higher.

References