Bug 2051385 (CVE-2021-40401)

Summary: CVE-2021-40401 Gerbv: A use-after-free vulnerability exists in the RS-274X aperture definition tokenization functionality of Gerbv
Product: [Other] Security Response Reporter: Avinash Hanwate <ahanwate>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: alain.vigne.14
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: 2022-02-07 08:13:55 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: 2051386, 2051387    
Bug Blocks:    

Description Avinash Hanwate 2022-02-07 07:34:20 UTC
A use-after-free vulnerability exists in the RS-274X aperture definition tokenization functionality of Gerbv 2.7.0 and dev (commit b5f1eacd) and Gerbv forked 2.7.1. A specially-crafted gerber file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability.

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

Comment 1 Avinash Hanwate 2022-02-07 07:34:46 UTC
Created gerbv tracking bugs for this issue:

Affects: epel-all [bug 2051386]
Affects: fedora-all [bug 2051387]

Comment 2 Product Security DevOps Team 2022-02-07 08:13:53 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.