UBUNTU-CVE-2022-1962

Source
https://ubuntu.com/security/CVE-2022-1962
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1962.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-1962
Related
Published
2022-08-10T20:15:00Z
Modified
2022-08-10T20:15:00Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

Uncontrolled recursion in the Parse functions in go/parser before Go 1.17.12 and Go 1.18.4 allow an attacker to cause a panic due to stack exhaustion via deeply nested types or declarations.

References

Affected packages

Ubuntu:18.04:LTS / golang-1.18

Package

Name
golang-1.18
Purl
pkg:deb/ubuntu/golang-1.18?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.18.1-1ubuntu1~18.04.4

Affected versions

1.*

1.18.1-1ubuntu1~18.04.3

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.18.1-1ubuntu1~18.04.4",
            "binary_name": "golang-1.18"
        },
        {
            "binary_version": "1.18.1-1ubuntu1~18.04.4",
            "binary_name": "golang-1.18-doc"
        },
        {
            "binary_version": "1.18.1-1ubuntu1~18.04.4",
            "binary_name": "golang-1.18-go"
        },
        {
            "binary_version": "1.18.1-1ubuntu1~18.04.4",
            "binary_name": "golang-1.18-src"
        }
    ]
}

Ubuntu:20.04:LTS / golang-1.18

Package

Name
golang-1.18
Purl
pkg:deb/ubuntu/golang-1.18?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.18.1-1ubuntu1~20.04.2

Affected versions

1.*

1.18.1-1ubuntu1~20.04.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.18.1-1ubuntu1~20.04.2",
            "binary_name": "golang-1.18"
        },
        {
            "binary_version": "1.18.1-1ubuntu1~20.04.2",
            "binary_name": "golang-1.18-doc"
        },
        {
            "binary_version": "1.18.1-1ubuntu1~20.04.2",
            "binary_name": "golang-1.18-go"
        },
        {
            "binary_version": "1.18.1-1ubuntu1~20.04.2",
            "binary_name": "golang-1.18-go-dbgsym"
        },
        {
            "binary_version": "1.18.1-1ubuntu1~20.04.2",
            "binary_name": "golang-1.18-src"
        }
    ]
}

Ubuntu:22.04:LTS / golang-1.18

Package

Name
golang-1.18
Purl
pkg:deb/ubuntu/golang-1.18?arch=src?distro=jammy

Affected ranges

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

Affected versions

1.*

1.18~beta1-0ubuntu1
1.18~beta2-1ubuntu1
1.18~beta2-1ubuntu2
1.18~rc1-1ubuntu1
1.18-1ubuntu1
1.18.1-1ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.18.1-1ubuntu1.1",
            "binary_name": "golang-1.18"
        },
        {
            "binary_version": "1.18.1-1ubuntu1.1",
            "binary_name": "golang-1.18-doc"
        },
        {
            "binary_version": "1.18.1-1ubuntu1.1",
            "binary_name": "golang-1.18-go"
        },
        {
            "binary_version": "1.18.1-1ubuntu1.1",
            "binary_name": "golang-1.18-go-dbgsym"
        },
        {
            "binary_version": "1.18.1-1ubuntu1.1",
            "binary_name": "golang-1.18-src"
        }
    ]
}