UBUNTU-CVE-2021-3530

Source
https://ubuntu.com/security/CVE-2021-3530
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3530.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-3530
Related
Published
2021-06-02T15:15:00Z
Modified
2024-10-15T14:08:14Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

A flaw was discovered in GNU libiberty within demangle_path() in rust-demangle.c, as distributed in GNU Binutils version 2.36. A crafted symbol can cause stack memory to be exhausted leading to a crash.

References

Affected packages

Ubuntu:22.04:LTS / binutils

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.38-4ubuntu2.2

Affected versions

2.*

2.37-7ubuntu1
2.37-9ubuntu1
2.37-10ubuntu1
2.37.50.20220106-2ubuntu1
2.37.90.20220126-0ubuntu1
2.37.90.20220130-0ubuntu2
2.38-1ubuntu1
2.38-2ubuntu1
2.38-3ubuntu1
2.38-4ubuntu2
2.38-4ubuntu2.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-aarch64-linux-gnu"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-aarch64-linux-gnu-dbg"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-alpha-linux-gnu"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-alpha-linux-gnu-dbg"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-arm-linux-gnueabi"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-arm-linux-gnueabi-dbg"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-arm-linux-gnueabihf"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-arm-linux-gnueabihf-dbg"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-common"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-dev"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-doc"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-for-build"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-for-host"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-hppa-linux-gnu"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-hppa-linux-gnu-dbg"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-hppa64-linux-gnu"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-hppa64-linux-gnu-dbg"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-i686-gnu"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-i686-gnu-dbg"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-i686-kfreebsd-gnu"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-i686-kfreebsd-gnu-dbg"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-i686-linux-gnu"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-i686-linux-gnu-dbg"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-ia64-linux-gnu"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-ia64-linux-gnu-dbg"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-m68k-linux-gnu"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-m68k-linux-gnu-dbg"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-multiarch"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-multiarch-dbg"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-multiarch-dev"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-powerpc-linux-gnu"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-powerpc-linux-gnu-dbg"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-powerpc64-linux-gnu"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-powerpc64-linux-gnu-dbg"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-powerpc64le-linux-gnu"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-powerpc64le-linux-gnu-dbg"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-riscv64-linux-gnu"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-riscv64-linux-gnu-dbg"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-s390x-linux-gnu"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-s390x-linux-gnu-dbg"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-sh4-linux-gnu"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-sh4-linux-gnu-dbg"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-source"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-sparc64-linux-gnu"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-sparc64-linux-gnu-dbg"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-x86-64-kfreebsd-gnu"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-x86-64-kfreebsd-gnu-dbg"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-x86-64-linux-gnu"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-x86-64-linux-gnu-dbg"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-x86-64-linux-gnux32"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "binutils-x86-64-linux-gnux32-dbg"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "libbinutils"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "libbinutils-dbg"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "libctf-nobfd0"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "libctf-nobfd0-dbg"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "libctf0"
        },
        {
            "binary_version": "2.38-4ubuntu2.2",
            "binary_name": "libctf0-dbg"
        }
    ]
}

Ubuntu:22.04:LTS / gdb

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
12.1-0ubuntu1~22.04

Affected versions

11.*

11.1-0ubuntu2
11.1-0ubuntu3
11.2-0ubuntu1

12.*

12.0.50.20220217-0ubuntu1
12.0.90-0ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "12.1-0ubuntu1~22.04",
            "binary_name": "gdb"
        },
        {
            "binary_version": "12.1-0ubuntu1~22.04",
            "binary_name": "gdb-dbgsym"
        },
        {
            "binary_version": "12.1-0ubuntu1~22.04",
            "binary_name": "gdb-doc"
        },
        {
            "binary_version": "12.1-0ubuntu1~22.04",
            "binary_name": "gdb-multiarch"
        },
        {
            "binary_version": "12.1-0ubuntu1~22.04",
            "binary_name": "gdb-multiarch-dbgsym"
        },
        {
            "binary_version": "12.1-0ubuntu1~22.04",
            "binary_name": "gdb-source"
        },
        {
            "binary_version": "12.1-0ubuntu1~22.04",
            "binary_name": "gdbserver"
        },
        {
            "binary_version": "12.1-0ubuntu1~22.04",
            "binary_name": "gdbserver-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / libiberty

Package

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

Affected ranges

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

Affected versions

Other

20210106-1build1
20211102-1
20211102-1build1

Ecosystem specific

{
    "ubuntu_priority": "low"
}