PT-2021-6690 · Unknown+1 · Cgal Libcgal+1
Published
2021-05-04
·
Updated
2023-05-30
·
CVE-2020-35635
CVSS v3.1
10
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
CGAL libcgal version 5.1.1
Description
A code execution issue exists in the Nef polygon-parsing functionality due to an out-of-bounds read in the
store sm boundary item() function of Nef S2/SNC io parser.h. This can be triggered by a specially crafted malformed file, leading to type confusion and potentially code execution. An attacker can exploit this by providing malicious input. The issue allows a remote attacker to access confidential data, compromise data integrity, and cause a denial of service using a corrupted file.Recommendations
For CGAL libcgal version 5.1.1, consider disabling the
read sface() function in SNC io parser as a temporary workaround until a patch is available. Restrict access to the Nef S2/SNC io parser.h module to minimize the risk of exploitation. Avoid using the store sm boundary item() function until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this issue.Exploit
Fix
Out of bounds Read
Improper Validation of Array Index
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Astra Linux
Cgal Libcgal