UBUNTU-CVE-2020-24240

Source
https://ubuntu.com/security/CVE-2020-24240
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-24240.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2020-24240
Related
Published
2020-08-25T14:15:00Z
Modified
2024-10-15T14:07:35Z
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

Ubuntu:Pro:16.04:LTS / bison

Package

Name
bison
Purl
pkg:deb/ubuntu/bison?arch=src?distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2:3.*

2:3.0.2.dfsg-2
2:3.0.4.dfsg-1

Ecosystem specific

{
    "ubuntu_priority": "low"
}

Ubuntu:Pro:18.04:LTS / bison

Package

Name
bison
Purl
pkg:deb/ubuntu/bison?arch=src?distro=esm-infra/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2:3.*

2:3.0.4.dfsg-1build1

Ecosystem specific

{
    "ubuntu_priority": "low"
}

Ubuntu:20.04:LTS / bison

Package

Name
bison
Purl
pkg:deb/ubuntu/bison?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2:3.*

2:3.4.1+dfsg-4
2:3.4.2+dfsg-1
2:3.5.1+dfsg-1

Ecosystem specific

{
    "ubuntu_priority": "low"
}

Ubuntu:22.04:LTS / bison

Package

Name
bison
Purl
pkg:deb/ubuntu/bison?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2:3.*

2:3.7.6+dfsg-1build1
2:3.8.2+dfsg-1
2:3.8.2+dfsg-1build1

Ecosystem specific

{
    "ubuntu_priority": "low"
}

Ubuntu:24.04:LTS / bison

Package

Name
bison
Purl
pkg:deb/ubuntu/bison?arch=src?distro=noble

Affected ranges

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

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "2:3.8.2+dfsg-1build1",
            "binary_name": "bison"
        },
        {
            "binary_version": "2:3.8.2+dfsg-1build1",
            "binary_name": "bison-dbgsym"
        },
        {
            "binary_version": "2:3.8.2+dfsg-1build1",
            "binary_name": "libbison-dev"
        }
    ]
}