Debian dla-3479 : golang-gopkg-yaml.v2-dev - 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 packages installed that are affected by multiple vulnerabilities as referenced in the dla-3479 advisory.

------------------------------------------------------------------------- Debian LTS Advisory DLA-3479-1 [email protected] https://www.debian.org/lts/security/ Roberto C. Snchez July 05, 2023 https://wiki.debian.org/LTS
-------------------------------------------------------------------------

Package : golang-yaml.v2 Version : 2.2.2-1+deb10u1 CVE ID : CVE-2021-4235 CVE-2022-3064

Two denial of service vulnerabilities have been discovered in golang-yaml.v2, a library which provides YAML support for the Go language.

CVE-2021-4235

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-2022-3064

Parsing malicious or large YAML documents can consume excessive amounts of CPU or memory.

Thanks to Scarlett Moore for working on preparing this update.

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

We recommend that you upgrade your golang-yaml.v2 packages.

For the detailed security status of golang-yaml.v2 please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/golang-yaml.v2

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 Attachment:
signature.asc Description: PGP signature

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

See Also

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

Type: local

Agent: unix

Published: 7/6/2023

Updated: 1/22/2025

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, 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-dev, p-cpe:/a:debian:debian_linux:golang-gopkg-yaml.v2-dev, 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