PT-2020-15669
CVE-2020-24240
·
Published
2020-08-25
·
Updated
2022-07-22
Description by
CVSS 2.0
7.1
HighMetricsAV:N/AC:M/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions
GNU Bison versions prior to 3.7.1
Description
The issue arises from a use-after-free in
obstack free in lib/obstack.c, which is called from gram lex, when a '0' byte is encountered. This poses a risk only if GNU Bison is used with untrusted input, and the observed bug causes unsafe behavior with a specific compiler or architecture. The bug report indicates that a crash may occur in GNU Bison itself.Recommendations
For GNU Bison versions prior to 3.7.1, update to version 3.7.1 or later to resolve the issue. As a temporary workaround, consider avoiding the use of GNU Bison with untrusted input until a patch is available.
Found an issue in the description? Have something to add? Feel free to write us 👾