PT-2021-7610 · Cgal+1 · Cgal+1
Published
2021-01-12
·
Updated
2023-05-30
·
CVE-2020-28618
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 versions prior to 5.1.1
Description
The issue is related to unverified array indexing in the
SNC io parser<EW>::read vertex() function of the Nef S2/SNC io parser.h component in the CGAL library. This can be exploited by a remote attacker using a specially crafted file, potentially leading to unauthorized access to confidential data, data integrity breaches, and denial of service. The vulnerability also involves out-of-bounds read and type confusion, which could result in code execution.Recommendations
For CGAL versions prior to 5.1.1, consider updating to a version that includes the fix for this issue.
As a temporary workaround, consider restricting access to the
SNC io parser<EW>::read vertex() function and the vh->shalfloop() method to minimize the risk of exploitation.
Avoid using malicious input to trigger the vulnerability in the affected API endpoint until the issue is resolved.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