Skip to content
VulniPulse
Critical 1 vendor · 1 advisory

CVE-2021-45105: Apache Log4j2 does not always protect from infinite recursion in lookup evaluation

CVE-2021-45105 key facts

CISA KEV
Not listed (catalogue checked )
Highest advisory rating
Critical
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H · base score 5.9, scored by CISA-ADPAttack vector: network. Attack complexity: high. Privileges required: none. User interaction: none. Scope: unchanged. Confidentiality impact: none. Integrity impact: none. Availability impact: high.
Weakness
  • CWE-20 Improper Input Validation
  • CWE-674: Uncontrolled Recursion
EPSS
100.0% chance of exploitation in the next 30 days (99th percentile). FIRST EPSS, .
CISA SSVC
Exploitation: none observed. Automatable: no. Technical impact: partial. CISA, .
Vendor advisories
1 from Commvault
Assigned by
apache (CNA)
CVE record published
Listed by VulniPulse

Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2021-45105; each belongs to its advisory, not to every product listed. How records are collected and checked.

Description

Apache Log4j2 versions 2.0-alpha1 through 2.16.0 (excluding 2.12.3 and 2.3.1) did not protect from uncontrolled recursion from self-referential lookups. This allows an attacker with control over Thread Context Map data to cause a denial of service when a crafted string is interpreted. This issue was fixed in Log4j 2.17.0, 2.12.3, and 2.3.1.

Text from the CVE.org record (apache).

How do I fix CVE-2021-45105?

  • Workaround: Implement one of the following mitigation techniques: * Java 8 (or later) users should upgrade to release 2.17.0. Alternatively, this can be mitigated in configuration: * In PatternLayout in the logging configuration, replace Context Lookups like `${ctx:loginId}` or `$${ctx:loginId}` with Thread Context Map patterns (%X, %mdc, or %MDC). * Otherwise, in the configuration, remove references to Context Lookups like `${ctx:loginId}` or `$${ctx:loginId}` where they originate from sources external to the application such as HTTP headers or user input. (CVE.org record)

Vendor advisories for CVE-2021-45105

Commvault

1 advisory
  • Advisory severityCritical

    Critical [CVE-2021-4104 +4] Vulnerability in Apache Log4j Logging Libraries Impacting Commvault Products

    CV_2021_12_1Source published

    This bulletin covers 5 CVEs. The products, versions, score and guidance below describe the bulletin; check its source for applicability to this specific CVE.

    Vulnerability in Apache Log4j Logging Libraries Impacting Commvault Products

    Related products — impact not confirmed
    • Commvault
    Source-reported affected versions
    • The vulnerability may affect the following Commvault products:Cloud Apps packageOracle agent - Database archiving, data masking, and logical dump backupMicrosoft SQL Server agent - Database archiving, data masking, and table level restoreCommvault File SystemHyperScale X Appliance and Reference Arch
    Source-reported fixed versions
    No fixed-version detail extracted. This does not mean no fix exists.
    Mitigation guidance
    No mitigation guidance extracted; consult the source.

References

Timeline

  1. CVE record published
  2. CVE record last updated
  3. First vendor advisory listed by VulniPulse

All Commvault advisories

Get an email when Commvault publishes the next one.

See Commvault's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro (first month US$5).

Alert me about Commvault