Vulnerabilities

1 via 1 paths

Dependencies

6

Source

GitHub

Commit

develop

Find, fix and prevent vulnerabilities in your code.

Severity
  • 1
Status
  • 1
  • 0
  • 0

medium severity

Improper Validation of Certificate with Host Mismatch

  • Vulnerable module: org.apache.logging.log4j:log4j-core
  • Introduced through: org.apache.logging.log4j:log4j-slf4j-impl@2.24.3

Detailed paths

  • Introduced through: rtto/lutra-mirror@rtto/lutra-mirror#develop org.apache.logging.log4j:log4j-slf4j-impl@2.24.3 org.apache.logging.log4j:log4j-core@2.24.3
    Remediation: Upgrade to org.apache.logging.log4j:log4j-slf4j-impl@2.25.3.

Overview

org.apache.logging.log4j:log4j-core is a logging library for Java.

Affected versions of this package are vulnerable to Improper Validation of Certificate with Host Mismatch due to the lack of TLS hostname verification in the SocketAppender component. An attacker can intercept or redirect log traffic by performing a man-in-the-middle attack if they are able to intercept or redirect network traffic between the client and the log receiver and can present a server certificate issued by a certification authority trusted by the configured trust store or the default Java trust store.

Workaround

This vulnerability can be mitigated by configuring the SocketAppender to use a private or restricted trust root to limit the set of trusted certificates.

Remediation

Upgrade org.apache.logging.log4j:log4j-core to version 2.25.3 or higher.

References