CVE-2020-1940 Improper Removal of Sensitive Information Before Storage or Transfer in Apache Jackrabbit Oak

High 7.5 Published Updated

Attackers can disclose new passwords during authentication if optional password change features are enabled in Apache Jackrabbit Oak.

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

What is CVE-2020-1940?

CVE-2020-1940 is a high-severity vulnerability in Apache Jackrabbit Oak, published on 28 Jan 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The optional initial password change and password expiration features present in Apache Jackrabbit Oak 1.2.0 to 1.22.0 are prone to a sensitive information disclosure vulnerability. The code mandates the changed password to be passed as an additional attribute to the credentials object but does not remove it upon processing during the first phase of the authentication. In combination with additional, independent authentication mechanisms, this may lead to the new password being disclosed.

Weakness: CWE-212

Which versions are affected by CVE-2020-1940?

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

PackageAffectedFixed in
org.apache.jackrabbit:oak-core MavenFrom 1.10.01.10.8
org.apache.jackrabbit:oak-core MavenFrom 1.10.01.10.8
org.apache.jackrabbit:oak-core MavenFrom 1.12.01.24.0
org.apache.jackrabbit:oak-core MavenFrom 1.12.01.24.0

Products include Apache Jackrabbit Oak.

How do I fix CVE-2020-1940?

Upgrade org.apache.jackrabbit:oak-core to a fixed version for your release line: 1.10.8 or 1.24.0.

Is CVE-2020-1940 being exploited?

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

Sources

Also known as GHSA-3h68-wvv6-8r5h.

Is CVE-2020-1940 in your software?

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

Check your SBOMs for free