Conditional processing of logback.xml configuration file, in conjuction with Spring Framework and Janino
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| QOS.CH Sarl | Logback-core | affected |
|
No data.
No data.
| Vendor | Product | Versions |
|---|---|---|
| Qos | Logback | — |
Vendor Solution
Remove Janino from the Java classpath or update to logack version 1.5.19 or later.
Vendor Workaround
Remove Janino from the Java classpath or update to logack version 1.5.19 or later.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2025-31861 | ACE vulnerability in conditional configuration file processing by QOS.CH logback-core up to and including version 1.5.18 in Java applications, allows an attacker to execute arbitrary code by compromising an existing logback configuration file or by injecting an environment variable before program execution. A successful attack requires the presence of Janino library and Spring Framework to be present on the user's class path. In addition, the attacker must 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. |
Github GHSA |
GHSA-25qh-j22f-pwp8 | QOS.CH logback-core is vulnerable to Arbitrary Code Execution through file processing |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.194% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Qos.ch Sarl
Qos.ch Sarl logback-core |
|
| CPEs | cpe:2.3:a:qos.ch_sarl:logback-core:*:*:java:*:*:*:*:* cpe:2.3:a:qos.ch_sarl:logback-core:1.3.16:*:java:*:*:*:*:* cpe:2.3:a:qos.ch_sarl:logback-core:1.5.19:*:java:*:*:*:*:* |
|
| Vendors & Products |
Qos.ch Sarl
Qos.ch Sarl logback-core |
|
| Metrics |
cvssV4_0
|
cvssV4_0
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Qos
Qos logback |
|
| Vendors & Products |
Qos
Qos logback |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | ACE vulnerability in conditional configuration file processing by QOS.CH logback-core up to and including version 1.5.18 in Java applications, allows an attacker to execute arbitrary code by compromising an existing logback configuration file or by injecting an environment variable before program execution. A successful attack requires the presence of Janino library and Spring Framework to be present on the user's class path. In addition, the attacker must 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. | |
| Title | Conditional processing of logback.xml configuration file, in conjuction with Spring Framework and Janino | |
| Weaknesses | CWE-20 | |
| References |
| |
| Metrics |
cvssV4_0
|