Debian DLA-2985-1 : golang-1.7 - LTS security update

critical Nessus Plugin ID 160304

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 9 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-2985 advisory.

Several vulnerabilities were discovered in the Go programming language. An attacker could trigger a denial-of-service (DoS) or invalid cryptographic computation. CVE-2022-23772 Rat.SetString in math/big has an overflow that can lead to Uncontrolled Memory Consumption. CVE-2022-23806 Curve.IsOnCurve in crypto/elliptic can incorrectly return true in situations with a big.Int value that is not a valid field element. CVE-2022-24921 regexp.Compile allows stack exhaustion via a deeply nested expression. For Debian 9 stretch, these problems have been fixed in version 1.7.4-2+deb9u5. We recommend that you upgrade your golang-1.7 packages. For the detailed security status of golang-1.7 please refer to its security tracker page at: https://security-tracker.debian.org/tracker/golang-1.7 Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS

Tenable has extracted the preceding description block directly from the Debian security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade the golang-1.7 packages.

For Debian 9 stretch, these problems have been fixed in version 1.7.4-2+deb9u5.

See Also

https://security-tracker.debian.org/tracker/source-package/golang-1.7

https://www.debian.org/lts/security/2022/dla-2985

https://security-tracker.debian.org/tracker/CVE-2022-23772

https://security-tracker.debian.org/tracker/CVE-2022-23806

https://security-tracker.debian.org/tracker/CVE-2022-24921

https://packages.debian.org/source/stretch/golang-1.7

Plugin Details

Severity: Critical

ID: 160304

File Name: debian_DLA-2985.nasl

Version: 1.6

Type: local

Agent: unix

Published: 4/28/2022

Updated: 1/24/2025

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:P

CVSS Score Source: CVE-2022-23806

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:9.0, p-cpe:/a:debian:debian_linux:golang-1.7, p-cpe:/a:debian:debian_linux:golang-1.7-go, p-cpe:/a:debian:debian_linux:golang-1.7-src, p-cpe:/a:debian:debian_linux:golang-1.7-doc

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 4/28/2022

Vulnerability Publication Date: 2/11/2022

Reference Information

CVE: CVE-2022-23772, CVE-2022-23806, CVE-2022-24921

IAVB: 2022-B-0008-S, 2022-B-0011-S