Improper Neutralization of Special Elements Affecting ch.qos.logback:logback-classic package, versions [,1.5.13)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-CHQOSLOGBACK-8539867
  • published20 Dec 2024
  • disclosed19 Dec 2024
  • credit7asecurity

Introduced: 19 Dec 2024

NewCVE-2024-12798  (opens in a new tab)
CWE-138  (opens in a new tab)

How to fix?

Upgrade ch.qos.logback:logback-classic to version 1.5.13 or higher.

Overview

ch.qos.logback:logback-classic is a reliable, generic, fast and flexible logging library for Java.

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements via the JaninoEventEvaluator extension. An attacker can execute arbitrary code by compromising an existing logback configuration file or injecting an environment variable before program execution.

CVSS Scores

version 4.0
version 3.1