UBUNTU-CVE-2021-46195

Source
https://ubuntu.com/security/CVE-2021-46195
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-46195.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2021-46195
Related
Published
2022-01-14T20:15:00Z
Modified
2024-11-20T12:16:39Z
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

GCC v12.0 was discovered to contain an uncontrolled recursion via the component libiberty/rust-demangle.c. This vulnerability allows attackers to cause a Denial of Service (DoS) by consuming excessive CPU and memory resources.

References

Affected packages

Ubuntu:22.04:LTS / gcc-11

Package

Name
gcc-11
Purl
pkg:deb/ubuntu/gcc-11?arch=src?distro=jammy

Affected ranges

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

Affected versions

11.*

11.2.0-7ubuntu2
11.2.0-10ubuntu1
11.2.0-12ubuntu1
11.2.0-13ubuntu1
11.2.0-14ubuntu1
11.2.0-16ubuntu1
11.2.0-18ubuntu1
11.2.0-19ubuntu1
11.3.0-1ubuntu1~22.04
11.3.0-1ubuntu1~22.04.1
11.4.0-1ubuntu1~22.04

Ecosystem specific

{
    "ubuntu_priority": "low"
}

Ubuntu:22.04:LTS / gcc-12

Package

Name
gcc-12
Purl
pkg:deb/ubuntu/gcc-12?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
12-20220319-1ubuntu1

Affected versions

Other

12-20220222-1ubuntu1
12-20220302-1ubuntu1
12-20220313-1ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "cpp-12"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "cpp-12-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "cpp-12-doc"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "g++-12"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "g++-12-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "g++-12-multilib"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gcc-12"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gcc-12-base"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gcc-12-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gcc-12-doc"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gcc-12-hppa64-linux-gnu"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gcc-12-hppa64-linux-gnu-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gcc-12-locales"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gcc-12-multilib"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gcc-12-offload-amdgcn"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gcc-12-offload-amdgcn-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gcc-12-offload-nvptx"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gcc-12-offload-nvptx-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gcc-12-plugin-dev"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gcc-12-plugin-dev-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gcc-12-source"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gcc-12-test-results"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gccgo-12"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gccgo-12-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gccgo-12-doc"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gccgo-12-multilib"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gdc-12"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gdc-12-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gdc-12-multilib"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gfortran-12"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gfortran-12-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gfortran-12-doc"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gfortran-12-multilib"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gm2-12"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gm2-12-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gnat-12"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gnat-12-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gnat-12-doc"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gobjc++-12"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gobjc++-12-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gobjc++-12-multilib"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gobjc-12"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gobjc-12-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "gobjc-12-multilib"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib32asan8"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib32atomic1"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib32atomic1-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib32gcc-12-dev"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib32gcc-s1"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib32gcc-s1-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib32gfortran-12-dev"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib32gfortran5"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib32gfortran5-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib32go-12-dev"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib32go21"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib32gomp1"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib32gomp1-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib32gphobos-12-dev"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib32gphobos3"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib32gphobos3-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib32itm1"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib32itm1-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib32lsan0"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib32objc-12-dev"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib32objc4"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib32objc4-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib32quadmath0"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib32quadmath0-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib32stdc++-12-dev"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib32stdc++6"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib32stdc++6-12-dbg"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib32stdc++6-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib32ubsan1"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib64asan8"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib64atomic1"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib64atomic1-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib64gcc-12-dev"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib64gcc-s1"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib64gcc-s1-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib64gfortran-12-dev"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib64gfortran5"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib64gfortran5-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib64go-12-dev"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib64go21"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib64gomp1"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib64gomp1-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib64gphobos-12-dev"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib64gphobos3"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib64gphobos3-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib64itm1"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib64itm1-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib64objc-12-dev"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib64objc4"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib64objc4-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib64quadmath0"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib64quadmath0-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib64stdc++-12-dev"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib64stdc++6"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib64stdc++6-12-dbg"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib64stdc++6-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "lib64ubsan1"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libasan8"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libatomic1"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libatomic1-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libcc1-0"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libcc1-0-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libgcc-12-dev"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libgcc-s1"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libgcc-s1-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libgccjit-12-dev"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libgccjit-12-doc"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libgccjit0"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libgccjit0-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libgfortran-12-dev"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libgfortran5"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libgfortran5-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libgm2-12-dev"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libgm2-17"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libgm2-17-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libgnat-12"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libgnat-12-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libgo-12-dev"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libgo21"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libgomp-plugin-amdgcn1"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libgomp-plugin-amdgcn1-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libgomp-plugin-nvptx1"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libgomp-plugin-nvptx1-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libgomp1"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libgomp1-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libgphobos-12-dev"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libgphobos3"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libgphobos3-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libhwasan0"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libitm1"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libitm1-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "liblsan0"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libobjc-12-dev"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libobjc4"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libobjc4-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libquadmath0"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libquadmath0-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libstdc++-12-dev"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libstdc++-12-doc"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libstdc++-12-pic"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libstdc++6"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libstdc++6-12-dbg"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libstdc++6-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libtsan2"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libubsan1"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libx32asan8"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libx32atomic1"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libx32atomic1-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libx32gcc-12-dev"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libx32gcc-s1"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libx32gcc-s1-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libx32gfortran-12-dev"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libx32gfortran5"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libx32gfortran5-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libx32go-12-dev"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libx32go21"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libx32gomp1"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libx32gomp1-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libx32gphobos-12-dev"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libx32gphobos3"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libx32gphobos3-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libx32itm1"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libx32itm1-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libx32lsan0"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libx32objc-12-dev"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libx32objc4"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libx32objc4-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libx32quadmath0"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libx32quadmath0-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libx32stdc++-12-dev"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libx32stdc++6"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libx32stdc++6-12-dbg"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libx32stdc++6-dbgsym"
        },
        {
            "binary_version": "12-20220319-1ubuntu1",
            "binary_name": "libx32ubsan1"
        }
    ]
}

Ubuntu:22.04:LTS / gcc-mingw-w64

Package

Name
gcc-mingw-w64
Purl
pkg:deb/ubuntu/gcc-mingw-w64?arch=src?distro=jammy

Affected ranges

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

Affected versions

24.*

24.2
24.3

Ecosystem specific

{
    "ubuntu_priority": "low"
}

Ubuntu:24.10 / gcc-11

Package

Name
gcc-11
Purl
pkg:deb/ubuntu/gcc-11?arch=src?distro=oracular

Affected ranges

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

Affected versions

11.*

11.4.0-9ubuntu1
11.4.0-10ubuntu1
11.5.0-1ubuntu1

Ecosystem specific

{
    "ubuntu_priority": "low"
}

Ubuntu:24.04:LTS / gcc-11

Package

Name
gcc-11
Purl
pkg:deb/ubuntu/gcc-11?arch=src?distro=noble

Affected ranges

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

Affected versions

11.*

11.4.0-4ubuntu1
11.4.0-5ubuntu1
11.4.0-6ubuntu1
11.4.0-7ubuntu2
11.4.0-9ubuntu1

Ecosystem specific

{
    "ubuntu_priority": "low"
}