CVE-2020-24240

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-24240
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-24240.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-24240
Related
Published
2020-08-25T14:15:16Z
Modified
2024-12-05T15:27:54.551036Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

GNU Bison before 3.7.1 has a use-after-free in obstackfree 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.

References

Affected packages

Alpine:v3.13 / bison

Package

Name
bison
Purl
pkg:apk/alpine/bison?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7.2-r0

Affected versions

2.*

2.3-r4
2.3-r5
2.4.1-r5
2.4.2-r0
2.4.2-r1
2.4.3-r0
2.4.3-r1
2.5-r0
2.5.1-r0
2.6-r0
2.6.1-r0
2.6.2-r0
2.6.3-r0
2.6.4-r0
2.6.5-r0
2.7-r0
2.7.1-r0

3.*

3.0-r0
3.0-r1
3.0.1-r0
3.0.1-r1
3.0.2-r0
3.0.3-r0
3.0.4-r0
3.0.4-r1
3.0.5-r0
3.3.2-r0
3.4.1-r0
3.4.2-r0
3.5-r0
3.5.1-r0
3.5.2-r0
3.5.3-r0
3.5.4-r0
3.6-r0
3.6.1-r0
3.6.2-r0
3.6.3-r0
3.6.4-r0
3.7.1-r0

Alpine:v3.14 / bison

Package

Name
bison
Purl
pkg:apk/alpine/bison?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7.2-r0

Affected versions

2.*

2.3-r4
2.3-r5
2.4.1-r5
2.4.2-r0
2.4.2-r1
2.4.3-r0
2.4.3-r1
2.5-r0
2.5.1-r0
2.6-r0
2.6.1-r0
2.6.2-r0
2.6.3-r0
2.6.4-r0
2.6.5-r0
2.7-r0
2.7.1-r0

3.*

3.0-r0
3.0-r1
3.0.1-r0
3.0.1-r1
3.0.2-r0
3.0.3-r0
3.0.4-r0
3.0.4-r1
3.0.5-r0
3.3.2-r0
3.4.1-r0
3.4.2-r0
3.5-r0
3.5.1-r0
3.5.2-r0
3.5.3-r0
3.5.4-r0
3.6-r0
3.6.1-r0
3.6.2-r0
3.6.3-r0
3.6.4-r0
3.7.1-r0

Alpine:v3.15 / bison

Package

Name
bison
Purl
pkg:apk/alpine/bison?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7.2-r0

Affected versions

2.*

2.3-r4
2.3-r5
2.4.1-r5
2.4.2-r0
2.4.2-r1
2.4.3-r0
2.4.3-r1
2.5-r0
2.5.1-r0
2.6-r0
2.6.1-r0
2.6.2-r0
2.6.3-r0
2.6.4-r0
2.6.5-r0
2.7-r0
2.7.1-r0

3.*

3.0-r0
3.0-r1
3.0.1-r0
3.0.1-r1
3.0.2-r0
3.0.3-r0
3.0.4-r0
3.0.4-r1
3.0.5-r0
3.3.2-r0
3.4.1-r0
3.4.2-r0
3.5-r0
3.5.1-r0
3.5.2-r0
3.5.3-r0
3.5.4-r0
3.6-r0
3.6.1-r0
3.6.2-r0
3.6.3-r0
3.6.4-r0
3.7.1-r0

Alpine:v3.16 / bison

Package

Name
bison
Purl
pkg:apk/alpine/bison?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7.2-r0

Affected versions

2.*

2.3-r4
2.3-r5
2.4.1-r5
2.4.2-r0
2.4.2-r1
2.4.3-r0
2.4.3-r1
2.5-r0
2.5.1-r0
2.6-r0
2.6.1-r0
2.6.2-r0
2.6.3-r0
2.6.4-r0
2.6.5-r0
2.7-r0
2.7.1-r0

3.*

3.0-r0
3.0-r1
3.0.1-r0
3.0.1-r1
3.0.2-r0
3.0.3-r0
3.0.4-r0
3.0.4-r1
3.0.5-r0
3.3.2-r0
3.4.1-r0
3.4.2-r0
3.5-r0
3.5.1-r0
3.5.2-r0
3.5.3-r0
3.5.4-r0
3.6-r0
3.6.1-r0
3.6.2-r0
3.6.3-r0
3.6.4-r0
3.7.1-r0

Alpine:v3.17 / bison

Package

Name
bison
Purl
pkg:apk/alpine/bison?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7.2-r0

Affected versions

2.*

2.3-r4
2.3-r5
2.4.1-r5
2.4.2-r0
2.4.2-r1
2.4.3-r0
2.4.3-r1
2.5-r0
2.5.1-r0
2.6-r0
2.6.1-r0
2.6.2-r0
2.6.3-r0
2.6.4-r0
2.6.5-r0
2.7-r0
2.7.1-r0

3.*

3.0-r0
3.0-r1
3.0.1-r0
3.0.1-r1
3.0.2-r0
3.0.3-r0
3.0.4-r0
3.0.4-r1
3.0.5-r0
3.3.2-r0
3.4.1-r0
3.4.2-r0
3.5-r0
3.5.1-r0
3.5.2-r0
3.5.3-r0
3.5.4-r0
3.6-r0
3.6.1-r0
3.6.2-r0
3.6.3-r0
3.6.4-r0
3.7.1-r0

Alpine:v3.18 / bison

Package

Name
bison
Purl
pkg:apk/alpine/bison?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7.2-r0

Affected versions

2.*

2.3-r4
2.3-r5
2.4.1-r5
2.4.2-r0
2.4.2-r1
2.4.3-r0
2.4.3-r1
2.5-r0
2.5.1-r0
2.6-r0
2.6.1-r0
2.6.2-r0
2.6.3-r0
2.6.4-r0
2.6.5-r0
2.7-r0
2.7.1-r0

3.*

3.0-r0
3.0-r1
3.0.1-r0
3.0.1-r1
3.0.2-r0
3.0.3-r0
3.0.4-r0
3.0.4-r1
3.0.5-r0
3.3.2-r0
3.4.1-r0
3.4.2-r0
3.5-r0
3.5.1-r0
3.5.2-r0
3.5.3-r0
3.5.4-r0
3.6-r0
3.6.1-r0
3.6.2-r0
3.6.3-r0
3.6.4-r0
3.7.1-r0

Alpine:v3.19 / bison

Package

Name
bison
Purl
pkg:apk/alpine/bison?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7.2-r0

Affected versions

2.*

2.3-r4
2.3-r5
2.4.1-r5
2.4.2-r0
2.4.2-r1
2.4.3-r0
2.4.3-r1
2.5-r0
2.5.1-r0
2.6-r0
2.6.1-r0
2.6.2-r0
2.6.3-r0
2.6.4-r0
2.6.5-r0
2.7-r0
2.7.1-r0

3.*

3.0-r0
3.0-r1
3.0.1-r0
3.0.1-r1
3.0.2-r0
3.0.3-r0
3.0.4-r0
3.0.4-r1
3.0.5-r0
3.3.2-r0
3.4.1-r0
3.4.2-r0
3.5-r0
3.5.1-r0
3.5.2-r0
3.5.3-r0
3.5.4-r0
3.6-r0
3.6.1-r0
3.6.2-r0
3.6.3-r0
3.6.4-r0
3.7.1-r0

Alpine:v3.20 / bison

Package

Name
bison
Purl
pkg:apk/alpine/bison?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7.2-r0

Affected versions

2.*

2.3-r4
2.3-r5
2.4.1-r5
2.4.2-r0
2.4.2-r1
2.4.3-r0
2.4.3-r1
2.5-r0
2.5.1-r0
2.6-r0
2.6.1-r0
2.6.2-r0
2.6.3-r0
2.6.4-r0
2.6.5-r0
2.7-r0
2.7.1-r0

3.*

3.0-r0
3.0-r1
3.0.1-r0
3.0.1-r1
3.0.2-r0
3.0.3-r0
3.0.4-r0
3.0.4-r1
3.0.5-r0
3.3.2-r0
3.4.1-r0
3.4.2-r0
3.5-r0
3.5.1-r0
3.5.2-r0
3.5.3-r0
3.5.4-r0
3.6-r0
3.6.1-r0
3.6.2-r0
3.6.3-r0
3.6.4-r0
3.7.1-r0

Alpine:v3.21 / bison

Package

Name
bison
Purl
pkg:apk/alpine/bison?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7.2-r0

Affected versions

2.*

2.3-r4
2.3-r5
2.4.1-r5
2.4.2-r0
2.4.2-r1
2.4.3-r0
2.4.3-r1
2.5-r0
2.5.1-r0
2.6-r0
2.6.1-r0
2.6.2-r0
2.6.3-r0
2.6.4-r0
2.6.5-r0
2.7-r0
2.7.1-r0

3.*

3.0-r0
3.0-r1
3.0.1-r0
3.0.1-r1
3.0.2-r0
3.0.3-r0
3.0.4-r0
3.0.4-r1
3.0.5-r0
3.3.2-r0
3.4.1-r0
3.4.2-r0
3.5-r0
3.5.1-r0
3.5.2-r0
3.5.3-r0
3.5.4-r0
3.6-r0
3.6.1-r0
3.6.2-r0
3.6.3-r0
3.6.4-r0
3.7.1-r0

Debian:11 / bison

Package

Name
bison
Purl
pkg:deb/debian/bison?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2:3.7.2+dfsg-1

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:12 / bison

Package

Name
bison
Purl
pkg:deb/debian/bison?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2:3.7.2+dfsg-1

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:13 / bison

Package

Name
bison
Purl
pkg:deb/debian/bison?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2:3.7.2+dfsg-1

Ecosystem specific

{
    "urgency": "unimportant"
}

Git / github.com/akimd/bison

Affected ranges

Type
GIT
Repo
https://github.com/akimd/bison
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

Other

GNU_1_26
GNU_1_27
GNU_1_28
GNU_ORIG
after-merge-branch-1_29
before-m4-back-end
pre-merge-of-1-29-branch

v1.*

v1.28b
v1.28c
v1.49a
v1.49b
v1.49c
v1.75
v1.875

v2.*

v2.0
v2.1
v2.3a
v2.3b
v2.4
v2.4.1
v2.5
v2.5.1
v2.5.1_rc2
v2.5_rc1
v2.6
v2.6.1
v2.6.2
v2.6.3
v2.6.4
v2.6.5
v2.6.90
v2.7
v2.7.1
v2.7.90
v2.7.91

v3.*

v3.0
v3.0.1
v3.0.2
v3.0.3
v3.0.4
v3.0.5
v3.1
v3.1.90
v3.1.91
v3.2
v3.2.1
v3.2.90
v3.2.91
v3.3
v3.3.1
v3.3.2
v3.3.90
v3.3.91
v3.4
v3.4.1
v3.4.2
v3.4.90
v3.4.91
v3.4.92
v3.5
v3.5.1
v3.5.2
v3.5.3
v3.5.4
v3.5.90
v3.5.91
v3.5.92
v3.5.93
v3.5.94
v3.6
v3.6.1
v3.6.2
v3.6.3
v3.6.4
v3.6.90
v3.6.91
v3.6.92
v3.6.93
v3.7