CVE-2021-34797 Apache Geode project log file redaction of sensitive information vulnerability

High 7.5 Published Updated

Attackers can read sensitive passwords and security properties from log files due to improper redaction in Apache Geode.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-34797?

CVE-2021-34797 is a high-severity vulnerability in Apache Geode, published on 4 Jan 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Apache Geode versions up to 1.12.4 and 1.13.4 are vulnerable to a log file redaction of sensitive information flaw when using values that begin with characters other than letters or numbers for passwords and security properties with the prefix "sysprop-", "javax.net.ssl", or "security-". This issue is fixed by overhauling the log file redaction in Apache Geode versions 1.12.5, 1.13.5, and 1.14.0.

Weakness: CWE-532

Which versions are affected by CVE-2021-34797?

4 open source packages ship an affected version, including org.apache.geode:geode-core. It affects 1 product.

PackageAffectedFixed in
org.apache.geode:geode-core MavenAll versions1.12.5
org.apache.geode:geode-core MavenAll versions1.12.5
org.apache.geode:geode-core MavenFrom 1.13.01.13.5
org.apache.geode:geode-core MavenFrom 1.13.01.13.5

Products include Apache Geode.

How do I fix CVE-2021-34797?

Upgrade org.apache.geode:geode-core to a fixed version for your release line: 1.12.5 or 1.13.5.

Is CVE-2021-34797 being exploited?

There is no known exploitation of CVE-2021-34797 in the wild and no public exploit code.

Sources

Also known as GHSA-mw25-f5r2-hpc6.

Is CVE-2021-34797 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free