In logback version 1.2.7 and prior versions, an attacker with the required privileges to edit configurations files could craft a malicious configuration allowing to execute arbitrary code loaded from LDAP servers.
Mend Note: Converted from WS-2021-0491, on 2022-11-07.
:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.
CVE-2021-42550 - Medium Severity Vulnerability
Vulnerable Libraries - logback-core-1.1.11.jar, logback-core-1.1.7.jar, logback-classic-1.1.11.jar, logback-classic-1.1.7.jar
logback-core-1.1.11.jar
logback-core module
Library home page: http://logback.qos.ch
Path to vulnerable library: /home/wss-scanner/.m2/repository/ch/qos/logback/logback-core/1.1.11/logback-core-1.1.11.jar
Dependency Hierarchy: - spring-boot-starter-web-1.5.22.RELEASE.jar (Root Library) - spring-boot-starter-1.5.22.RELEASE.jar - spring-boot-starter-logging-1.5.22.RELEASE.jar - logback-classic-1.1.11.jar - :x: **logback-core-1.1.11.jar** (Vulnerable Library)
logback-core-1.1.7.jar
logback-core module
Library home page: http://logback.qos.ch
Path to vulnerable library: /home/wss-scanner/.m2/repository/ch/qos/logback/logback-core/1.1.7/logback-core-1.1.7.jar
Dependency Hierarchy: - spring-boot-starter-web-1.3.5.RELEASE.jar (Root Library) - spring-boot-starter-1.3.5.RELEASE.jar - spring-boot-starter-logging-1.3.5.RELEASE.jar - logback-classic-1.1.7.jar - :x: **logback-core-1.1.7.jar** (Vulnerable Library)
logback-classic-1.1.11.jar
logback-classic module
Library home page: http://logback.qos.ch
Path to vulnerable library: /home/wss-scanner/.m2/repository/ch/qos/logback/logback-classic/1.1.11/logback-classic-1.1.11.jar
Dependency Hierarchy: - spring-boot-starter-web-1.5.22.RELEASE.jar (Root Library) - spring-boot-starter-1.5.22.RELEASE.jar - spring-boot-starter-logging-1.5.22.RELEASE.jar - :x: **logback-classic-1.1.11.jar** (Vulnerable Library)
logback-classic-1.1.7.jar
logback-classic module
Library home page: http://logback.qos.ch
Path to vulnerable library: /home/wss-scanner/.m2/repository/ch/qos/logback/logback-classic/1.1.7/logback-classic-1.1.7.jar
Dependency Hierarchy: - spring-boot-starter-web-1.3.5.RELEASE.jar (Root Library) - spring-boot-starter-1.3.5.RELEASE.jar - spring-boot-starter-logging-1.3.5.RELEASE.jar - :x: **logback-classic-1.1.7.jar** (Vulnerable Library)
Found in base branch: main
Vulnerability Details
In logback version 1.2.7 and prior versions, an attacker with the required privileges to edit configurations files could craft a malicious configuration allowing to execute arbitrary code loaded from LDAP servers. Mend Note: Converted from WS-2021-0491, on 2022-11-07.
Publish Date: 2021-12-16
URL: CVE-2021-42550
CVSS 3 Score Details (6.6)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: High - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=VE-2021-42550
Release Date: 2021-12-16
Fix Resolution (ch.qos.logback:logback-core): 1.2.8
Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-web): 2.5.8
Fix Resolution (ch.qos.logback:logback-core): 1.2.8
Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-web): 2.5.8
Fix Resolution (ch.qos.logback:logback-classic): 1.2.8
Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-web): 2.5.8
Fix Resolution (ch.qos.logback:logback-classic): 1.2.8
Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-web): 2.5.8