Improper Removal of Sensitive Information Before Storage or Transfer in Apache Jackrabbit Oak
        
  High severity
        
          GitHub Reviewed
      
        Published
          Dec 10, 2021 
          to the GitHub Advisory Database
          •
          Updated Feb 1, 2023 
      
  
Package
Affected versions
>= 1.12.0, <= 1.22.0
      >= 1.10.0, < 1.10.8
  Patched versions
1.24.0
      1.10.8
  Description
        Published by the National Vulnerability Database
      Jan 28, 2020 
    
  
        Reviewed
      Mar 29, 2021 
    
  
        Published to the GitHub Advisory Database
      Dec 10, 2021 
    
  
        Last updated
      Feb 1, 2023 
    
  
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.
References