Multiple vulnerabilities in GNU Bison



Published: 2020-09-07
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2020-24980
CVE-2020-24979
CWE-ID CWE-20
CWE-122
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
GNU Bison
Other software / Other software solutions

Vendor GNU

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Input validation error

EUVDB-ID: #VU46311

Risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-24980

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input in src/parse-gram.c in GNU bison when processing a double quote at the end of the string. A remote attacker can trick the victim to open a specially crafted file to the application and perform a denial of service (DoS) attack.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

GNU Bison: 3.7 - 3.7.1

External links

http://github.com/akimd/bison/commit/b801b7b670872b8a31d11b3683b4afc3e45a07f8
http://lists.gnu.org/r/bug-bison/2020-08/msg00009.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Heap-based buffer overflow

EUVDB-ID: #VU46312

Risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-24979

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error in src/symtab.c in GNU bison when processing files. A remote attacker can trick the victim to open a specially crafted file that redefines the EOF token, trigger heap-based buffer overflow and crash the application.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

GNU Bison: 3.7 - 3.7.1

External links

http://github.com/akimd/bison/commit/bfd851e2d621734886c66c0af26e861e718510b2
http://lists.gnu.org/r/bug-bison/2020-08/msg00008.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###