Bug 2013135 (CVE-2021-25633)

Summary: CVE-2021-25633 libreoffice: Content Manipulation with Double Certificate 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.6, LibreOffice 7.1.2 Doc Type: If docs needed, set a value
Doc Text:
LibreOffice improperly validated signatures which by manipulation of signatures xml files allowed for multiple certificate data to be combined and led to the ability to show content as validly signed even if it was not content related to the signature
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-11 21:16:08 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: 2013858, 2013859    
Bug Blocks: 2013154    

Description Sandipan Roy 2021-10-12 08:21:41 UTC
An Improper Certificate Validation vulnerability in LibreOffice allowed an attacker to create a digitally signed ODF document, by manipulating the documentsignatures.xml or macrosignatures.xml stream within the document to combine multiple certificate data, which when opened caused LibreOffice to display a validly signed indicator but whose content was unrelated to the signature shown.

External Reference:
https://www.libreoffice.org/about-us/security/advisories/CVE-2021-25633

Comment 4 Garrett Tucker 2021-10-13 22:29: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 which by manipulation of signatures xml files allowed for multiple certificate data to be combined which led to LibreOffice believing that the signature was valid, when the content was not at all valid for the signature.

Comment 5 errata-xmlrpc 2022-05-10 13:19:54 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 6 Product Security DevOps Team 2022-05-11 21:16:07 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-25633