ADVISORIES

openEuler Security Advisory

OESA-2025-1082

logback security update

Details

Logback is intended as a successor to the popular log4j project.

Security Fix(es):

ACE vulnerability in JaninoEventEvaluator by QOS.CH logback-core upto including version 0.1 to 1.3.14 and 1.4.0 to 1.5.12 in Java applications allows attacker to execute arbitrary code by compromising an existing logback configuration file or by injecting an environment variable before program execution.

Malicious logback configuration files can allow the attacker to execute arbitrary code using the JaninoEventEvaluator extension.

A successful attack requires the user to have write access to a configuration file. Alternatively, the attacker could inject a malicious environment variable pointing to a malicious configuration file. In both cases, the attack requires existing privilege.(CVE-2024-12798)

Server-Side Request Forgery (SSRF) in SaxEventRecorder by QOS.CH logback version 0.1 to 1.3.14 and 1.4.0 to 1.5.12  on the Java platform, allows an attacker to forge requests by compromising logback configuration files in XML.

The attacks involves the modification of DOCTYPE declaration in  XML configuration files.(CVE-2024-12801)

Affected packages

EcosystemPackageAffected versions
openEuler:20.03-LTS-SP4logback
All versions before 1.2.8-4.oe2003sp4 (fixed in 1.2.8-4.oe2003sp4)
openEuler:22.03-LTS-SP3logback
All versions before 1.2.8-4.oe2203sp3 (fixed in 1.2.8-4.oe2203sp3)
openEuler:22.03-LTS-SP4logback
All versions before 1.2.8-4.oe2203sp4 (fixed in 1.2.8-4.oe2203sp4)
openEuler:24.03-LTSlogback
All versions before 1.2.8-4.oe2403sp1 (fixed in 1.2.8-4.oe2403sp1)
openEuler:24.03-LTS-SP1logback
All versions before 1.2.8-4.oe2403sp1 (fixed in 1.2.8-4.oe2403sp1)

References