Critical Vulnerability in Apache log4j 2 Library Affects Hazelcast Packages

Summary

21/01/2022
CRITICAL
Yes i
Critical
10.0

GHSA-v57x-gxfj-484q: Security Advisory for "Log4Shell". Affects com.hazelcast.jet:hazelcast-jet versions >= 4.1, < 4.5.3. Fixed in 4.5.3. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Apache log4j 2 library is a popular logging utility used in various software applications, including the Hazelcast packages. It provides a flexible and efficient logging framework for developers. However, a highly critical 0-day exploit, known as "Log4Shell" (CVE-2021-44228), has been discovered in Apache log4j 2. This vulnerability affects versions from 2.0-beta9 to 2.14.1 (inclusive) and can allow a remote attacker to execute code on the server by exploiting an attacker-controlled string value with the attacker's JNDI LDAP server lookup. Hazelcast Management Center, Hazelcast IMDG, Hazelcast Jet, and Hazelcast Platform are among the affected packages.

Vulnerability Detail

The Log4Shell vulnerability (CVE-2021-44228) in Apache log4j 2 library poses a significant security risk. It enables a remote attacker to execute arbitrary code on the server if the system logs a string value controlled by the attacker, which triggers a JNDI LDAP server lookup. This can lead to unauthorized access, data breaches, and potential compromise of the entire system. The vulnerability has a CVSS score of 10.0, indicating its criticality.

How To Fix

Minimum fixed version

4.5.3

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If an immediate upgrade is not feasible, there are some workarounds to mitigate the Log4Shell vulnerability. One option is to disable lookups via the environment variable by setting LOG4J_FORMAT_MSG_NO_LOOKUPS=true. Another option is to disable lookups in the log4j2 configuration by adding -Dlog4j2.formatMsgNoLookups=true as a command line option or specifying %m{nolookups} in the PatternLayout configuration. Additionally, removing the JndiLookup class from the log4j-core jar can help mitigate the vulnerability, although it may affect certain functionalities.

Conclusion

The Log4Shell vulnerability in Apache log4j 2 library poses a critical security risk to Hazelcast packages. It is essential to upgrade to the latest patched versions of the affected packages and the log4j library to mitigate the vulnerability. If immediate upgrading is not possible, applying the recommended workarounds can help reduce the risk. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for com.hazelcast.jet:hazelcast-jet →

Share this vulnerability

FAQ

The Log4Shell vulnerability (CVE-2021-44228) is a highly critical 0-day exploit found in Apache log4j 2 library. It allows a remote attacker to execute code on the server by exploiting an attacker-controlled string value with the attacker's JNDI LDAP server lookup.

The Log4Shell vulnerability affects Hazelcast Management Center, Hazelcast IMDG, Hazelcast Jet, and Hazelcast Platform packages.

The Log4Shell vulnerability can lead to unauthorized code execution on the server, potentially resulting in data breaches, unauthorized access, and compromise of the entire system.

To fix the Log4Shell vulnerability, it is crucial to upgrade to the latest patched version of the Apache log4j 2 library. Hazelcast has released updated versions of the affected packages that include the patched library.

Yes, there are workarounds available to mitigate the Log4Shell vulnerability. These include disabling lookups via environment variables or log4j2 configuration, and removing the JndiLookup class from the log4j-core jar.

How To Fix

Minimum fixed version

4.5.3

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback