Vulnerability record · OpenEuler 20.03-LTS-SP1
An update for bison is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP3.
OpenEuler 20.03-LTS-SP1
What it fixes
Synopsis:
bison security updateSummary:
An update for bison is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP3.Description:
Bison is a general-purpose parser generator that converts an annotated context-free grammar into a deterministic LR or generalized LR (GLR) parser employing LALR(1) parser tables. As an experimental feature, Bison can also generate IELR(1) or canonical LR(1) parser tables. Once you are proficient with Bison, you can use it to develop a wide range of language parsers, from those used in simple desk calculators to complex programming languages.
GNU Bison before 3.7.1 has a use-after-free in _obstack_free in lib/obstack.c (called from gram_lex) when a '\0' byte is encountered. NOTE: there is a risk only if Bison is used with untrusted input, and the observed bug happens to cause unsafe behavior with a specific compiler/architecture. The bug report was intended to show that a crash may occur in Bison itself, not that a crash may occur in code that is generated by Bison.(CVE-2020-24240)Topic:
An update for bison is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP3.
openEuler Security has rated this update as having a security impact of medium. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.Severity:
MediumAffected Component:
bison
Manual fix · OpenEuler 20.03-LTS-SP1
sudo dnf upgrade bison bison-devel bison-help bison-langrpm -q bison bison-devel bison-help bison-langSources