Skip to content

Apache · Log4j2

CVE-2021-44228

Apache Log4j2 Remote Code Execution Vulnerability

Actively exploitedKnown use in ransomwareAdded by CISA 10 December 2021

What it is

Apache Log4j2 contains a vulnerability where JNDI features do not protect against attacker-controlled JNDI-related endpoints, allowing for remote code execution.

Am I affected?

Only if you run Apache Log4j2, or a service built on it, in a version the vendor lists as affected. The vendor's advisory in the references gives the affected and fixed versions.

CISA adds a vulnerability to this list only when there is reliable evidence of attacks using it, so treat it as urgent if you run an affected version, especially as ransomware groups are known to use it.

What to do

  1. Find out whether you run Log4j2, and which version, including on hosting or services you don't manage day to day.
  2. Apply the vendor's update or mitigation from the advisory below. If there is none yet, follow the vendor's workaround, or take the product off the internet until it's fixed.
  3. Because this is being exploited, check the system for signs it was already compromised before you patched: unknown accounts, changed files, and unusual outbound connections.

CISA's required action

For all affected software assets for which updates exist, the only acceptable remediation actions are: 1) Apply updates; OR 2) remove affected assets from agency networks. Temporary mitigations using one of the measures provided at https://www.cisa.gov/uscert/ed-22-02-apache-log4j-recommended-mitigation-measures are only acceptable until updates are available.

US federal agencies must act by 24 December 2021.

References

Check your own site

A free scan checks your site's HTTPS, headers, cookies, exposed keys and malware signs, with the fix for each issue.

Scan a website