Debian DLA-3479-1 : golang-yaml.v2 - LTS security update

high Nessus Plugin ID 178004

Synopsis

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

Description

The remote Debian 10 host has a package installed that is affected by multiple vulnerabilities as referenced in the dla-3479 advisory.

- Due to unbounded alias chasing, a maliciously crafted YAML file can cause the system to consume significant system resources. If parsing user input, this may be used as a denial of service vector.
(CVE-2021-4235)

- Parsing malicious or large YAML documents can consume excessive amounts of CPU or memory. (CVE-2022-3064)

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-yaml.v2 packages.

For Debian 10 buster, these problems have been fixed in version 2.2.2-1+deb10u1.

See Also

https://www.debian.org/lts/security/2023/dla-3479

https://security-tracker.debian.org/tracker/CVE-2021-4235

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

https://packages.debian.org/source/buster/golang-yaml.v2

http://www.nessus.org/u?2a5a16fe

Plugin Details

Severity: High

ID: 178004

File Name: debian_DLA-3479.nasl

Version: 1.1

Type: local

Agent: unix

Published: 7/6/2023

Updated: 7/6/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

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

CVSS Score Source: CVE-2022-3064

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

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

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:golang-yaml.v2, cpe:/o:debian:debian_linux:10.0

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/5/2023

Vulnerability Publication Date: 12/27/2022

Reference Information

CVE: CVE-2021-4235, CVE-2022-3064