Debian dla-4056 : golang-glog-dev - security update

high Nessus Plugin ID 216383

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 11 host has a package installed that is affected by a vulnerability as referenced in the dla-4056 advisory.

- ------------------------------------------------------------------------- Debian LTS Advisory DLA-4056-1 [email protected] https://www.debian.org/lts/security/ Andrej Shadura February 17, 2025 https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package : golang-glog Version : 0.0~git20160126.23def4e-3+deb11u1 CVE ID : CVE-2024-45339

The following vulnerability has been discovered in the glog package for Go:

When logs are written to a widely-writable directory (the default), an unprivileged attacker may predict a privileged process's log file path and pre-create a symbolic link to a sensitive file in its place. When that privileged process runs, it will follow the planted symlink and overwrite that sensitive file. To fix that, glog now causes the program to exit (with status code 2) when it finds that the configured log file already exists.

For Debian 11 bullseye, this problem has been fixed in version 0.0~git20160126.23def4e-3+deb11u1.


The following Go packages have been rebuilt in order to fix this issue:

docker.io 20.10.5+dfsg1-1+deb11u4 golang-grpc-gateway 1.6.4-2+deb11u1 mtail 3.0.0~rc43-3+deb11u1 prometheus-mongodb-exporter 1.0.0+git20180522.e755a44-3+deb11u1

We recommend that you upgrade these packages.

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

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 this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the golang-glog-dev packages.

See Also

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

https://security-tracker.debian.org/tracker/CVE-2024-45339

https://packages.debian.org/source/bullseye/golang-glog

Plugin Details

Severity: High

ID: 216383

File Name: debian_DLA-4056.nasl

Version: 1.1

Type: local

Agent: unix

Published: 2/17/2025

Updated: 2/17/2025

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.0

CVSS v2

Risk Factor: Medium

Base Score: 6.2

Temporal Score: 4.6

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

CVSS Score Source: CVE-2024-45339

CVSS v3

Risk Factor: High

Base Score: 7.1

Temporal Score: 6.2

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

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

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:golang-glog-dev

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

Exploit Ease: No known exploits are available

Patch Publication Date: 2/17/2025

Vulnerability Publication Date: 1/28/2025

Reference Information

CVE: CVE-2024-45339