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.

- Rat.SetString in math/big in Go before 1.16.14 and 1.17.x before 1.17.7 has an overflow that can lead to Uncontrolled Memory Consumption. (CVE-2022-23772)

- Curve.IsOnCurve in crypto/elliptic in Go before 1.16.14 and 1.17.x before 1.17.7 can incorrectly return true in situations with a big.Int value that is not a valid field element. (CVE-2022-23806)

- regexp.Compile in Go before 1.16.15 and 1.17.x before 1.17.8 allows stack exhaustion via a deeply nested expression. (CVE-2022-24921)

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.4

Type: local

Agent: unix

Published: 4/28/2022

Updated: 5/6/2022

Supported Sensors: Frictionless Assessment Agent, Nessus Agent

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

Temporal Vector: E:U/RL:OF/RC:C

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: E:U/RL:O/RC:C

Vulnerability Information

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

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