snowdensb / job-dsl-plugin

A Groovy DSL for Jenkins Jobs - Sweeeeet!
Apache License 2.0
0 stars 0 forks source link

CVE-2022-23302 (High) detected in log4j-1.2.9.jar, log4j-1.2.12.jar - autoclosed #164

Closed mend-for-github-com[bot] closed 6 months ago

mend-for-github-com[bot] commented 2 years ago

CVE-2022-23302 - High Severity Vulnerability

Vulnerable Libraries - log4j-1.2.9.jar, log4j-1.2.12.jar

log4j-1.2.9.jar

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/log4j/log4j/1.2.9/55856d711ab8b88f8c7b04fd85ff1643ffbfde7c/log4j-1.2.9.jar

Dependency Hierarchy: - jenkins-war-2.176.war (Root Library) - jenkins-core-2.176.jar - acegi-security-1.0.7.jar - :x: **log4j-1.2.9.jar** (Vulnerable Library)

log4j-1.2.12.jar

Path to dependency file: /build.gradle

Path to vulnerable library: /tmp/ws-ua_20210927190226_TRFFHW/downloadResource_SQXZWB/20210927190451/log4j-1.2.12.jar

Dependency Hierarchy: - vsphere-cloud-1.1.11.jar (Root Library) - json-lib-2.1-rev7.jar - commons-beanutils-1.7.0.jar - commons-logging-1.1.jar - :x: **log4j-1.2.12.jar** (Vulnerable Library)

Found in base branch: master

Vulnerability Details

JMSSink in all versions of Log4j 1.x is vulnerable to deserialization of untrusted data when the attacker has write access to the Log4j configuration or if the configuration references an LDAP service the attacker has access to. The attacker can provide a TopicConnectionFactoryBindingName configuration causing JMSSink to perform JNDI requests that result in remote code execution in a similar fashion to CVE-2021-4104. Note this issue only affects Log4j 1.x when specifically configured to use JMSSink, which is not the default. Apache Log4j 1.2 reached end of life in August 2015. Users should upgrade to Log4j 2 as it addresses numerous other issues from the previous versions.

Publish Date: 2022-01-18

URL: CVE-2022-23302

CVSS 3 Score Details (8.8)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - 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://reload4j.qos.ch/

Release Date: 2022-01-18

Fix Resolution: ch.qos.reload4j:reload4j:1.2.18.1

mend-for-github-com[bot] commented 6 months ago

: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.