Bug 2025634 (CVE-2021-21898)

Summary: CVE-2021-21898 librecad: out-of-bounds write in dwgCompressor:decompress18()
Product: [Other] Security Response Reporter: Michael Kaplan <mkaplan>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: hobbes1069, redhat, spotrh
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-22 16:20:19 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: 2025635, 2025636    
Bug Blocks:    

Description Michael Kaplan 2021-11-22 16:10:03 UTC
A code execution vulnerability exists in the dwgCompressor::decompress18() functionality of LibreCad libdxfrw 2.2.0-rc2-19-ge02f3580. A specially-crafted .dwg file can lead to an out-of-bounds write. An attacker can provide a malicious file to trigger this vulnerability.

References:

https://talosintelligence.com/vulnerability_reports/TALOS-2021-1349

Comment 1 Michael Kaplan 2021-11-22 16:10:21 UTC
Created librecad tracking bugs for this issue:

Affects: epel-7 [bug 2025635]
Affects: fedora-all [bug 2025636]

Comment 2 Product Security DevOps Team 2021-11-22 16:20:17 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.