Bug 2013152 (CVE-2021-25635)

Summary: CVE-2021-25635 libreoffice: Content Manipulation with Certificate Validation Attack
Product: [Other] Security Response Reporter: Sandipan Roy <saroy>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: caolanm, dtardon, erack, sbergman
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: LibreOffice 7.0.5, LibreOffice 7.1.1 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in LibreOffice, where it improperly validated signatures for algorithms that were not verified. This flaw leads to LibreOffice presenting a valid signature when the validity of the signature was not verified. The highest threat from this vulnerability is to confidentiality and integrity.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-11 21:46:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2014209, 2014210    
Bug Blocks: 2013154    

Description Sandipan Roy 2021-10-12 08:58:46 UTC
An Improper Certificate Validation vulnerability in LibreOffice allowed an attacker to self sign an ODF document, with a signature untrusted by the target, then modify it to change the signature algorithm to an invalid (or unknown to LibreOffice) algorithm and LibreOffice would incorrectly present such a signature with an unknown algorithm as a valid signature issued by a trusted person.

Comment 2 Garrett Tucker 2021-10-14 15:49:13 UTC
RHEL 8.6.0 and below are all affected by this flaw. RHEL 9 uses an updated version which is not exposed to the flaw. LibreOffice improperly validated signatures that it could not verify the algorithm for. This led to LibreOffice presenting a valid signature, even though the signature could not be verified as valid.

Comment 4 errata-xmlrpc 2022-05-10 13:20:09 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:1766 https://access.redhat.com/errata/RHSA-2022:1766

Comment 5 Product Security DevOps Team 2022-05-11 21:46:17 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-25635