Bug 2025631 (CVE-2021-21900)

Summary: CVE-2021-21900 librecad: use-after-free in dxfRW:processLType()
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:19:53 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: 2025632, 2025633    
Bug Blocks:    

Description Michael Kaplan 2021-11-22 16:07:47 UTC
A code execution vulnerability exists in the dxfRW::processLType() functionality of LibreCad libdxfrw 2.2.0-rc2-19-ge02f3580. A specially-crafted .dxf file can lead to a use-after-free vulnerability. An attacker can provide a malicious file to trigger this vulnerability.

References:

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

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

Affects: epel-7 [bug 2025632]
Affects: fedora-all [bug 2025633]

Comment 2 Product Security DevOps Team 2021-11-22 16:19:52 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.