Deserialization of Untrusted Data Affecting log4j-javadoc package, versions <0:1.2.17-17.el7_3


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.54% (79th percentile)

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 Learn

Learn about Deserialization of Untrusted Data vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-LOG4JJAVADOC-5217811
  • published19 Jan 2022
  • disclosed18 Jan 2022

Introduced: 18 Jan 2022

CVE-2022-23302  (opens in a new tab)
CWE-502  (opens in a new tab)

How to fix?

Upgrade RHEL:7 log4j-javadoc to version 0:1.2.17-17.el7_3 or higher.
This issue was patched in RHSA-2022:0442.

NVD Description

Note: Versions mentioned in the description apply only to the upstream log4j-javadoc package and not the log4j-javadoc package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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.

CVSS Scores

version 3.1