Bug 2050699 (CVE-2022-0497)

Summary: CVE-2022-0497 openscad: Out-of-bounds memory access in comment parser
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: mhroncok
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-04 14:13: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: 2050700    
Bug Blocks: 2050703    

Description Pedro Sampaio 2022-02-04 13:39:11 UTC
A .scad file with no trailing newline may cause an out-of-bounds read during parsing of annotations.

References:

https://github.com/openscad/openscad/issues/4043
https://github.com/openscad/openscad/pull/4044

Comment 1 Pedro Sampaio 2022-02-04 13:39:43 UTC
Created openscad tracking bugs for this issue:

Affects: fedora-all [bug 2050700]

Comment 2 Product Security DevOps Team 2022-02-04 14:13:51 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.