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

Summary

10/12/2021
Yes i
High
7.5

CVE-2020-1940: Improper Removal of Sensitive Information Before Storage or Transfer in Apache Jackrabbit Oak. Affects org.apache.jackrabbit:oak-core across 2 version ranges.

>= 1.10.0, < 1.10.8 >= 1.12.0, < 1.24.0

Fixed in 1.10.8 or 1.24.0, depending on the release line you run. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Apache Jackrabbit Oak is an open-source content repository implementation that provides support for hierarchical content storage. It is widely used in Java applications for managing structured and unstructured data. The vulnerability identified as CVE-2020-1940 affects versions 1.2.0 to 1.22.0 of Apache Jackrabbit Oak. This vulnerability is related to the optional initial password change and password expiration features present in the software.

Vulnerability Detail

The vulnerability arises from an improper removal of sensitive information during the authentication process. When a user changes their password for the first time, the new password is passed as an additional attribute to the credentials object. However, the code fails to remove this sensitive information after processing it during the first phase of authentication. This flaw, when combined with other independent authentication mechanisms, can potentially lead to the disclosure of the new password.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 1.10.0, < 1.10.8 1.10.8
  • >= 1.12.0, < 1.24.0 1.24.0

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a workaround, users can disable the optional initial password change and password expiration features in Apache Jackrabbit Oak. This can be achieved by modifying the configuration settings to remove or comment out the relevant code responsible for these features. However, it is important to note that this workaround may impact the functionality and security of the application, and it is recommended to apply the official fix by upgrading to a fixed version.

Conclusion

In conclusion, CVE-2020-1940 is a vulnerability in Apache Jackrabbit Oak that allows for the improper removal of sensitive information during the authentication process. This can potentially lead to the disclosure of a user's new password. Users are advised to upgrade to version 1.24.0 or later to mitigate this vulnerability. Alternatively, a temporary workaround is available by disabling the optional features. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.apache.jackrabbit:oak-core →

Share this vulnerability

FAQ

Apache Jackrabbit Oak is an open-source content repository implementation used for managing structured and unstructured data in Java applications.

Versions 1.2.0 to 1.22.0 of Apache Jackrabbit Oak are affected by this vulnerability.

This vulnerability can potentially lead to the disclosure of a user's new password if combined with other independent authentication mechanisms.

To fix this vulnerability, it is recommended to upgrade to Apache Jackrabbit Oak version 1.24.0 or later.

Yes, users can disable the optional initial password change and password expiration features in Apache Jackrabbit Oak as a temporary workaround.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 1.10.0, < 1.10.8 1.10.8
  • >= 1.12.0, < 1.24.0 1.24.0

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. 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