Alpine: multiple logrotate packages: security update to 3.7.9-r1 (deprecated)

medium Tenable Cloud Security Plugin ID 401311

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- Race condition in the createOutputFile function in logrotate.c in logrotate 3.7.9 and earlier allows local
users to read log data by opening a file before the intended permissions are in place. (CVE-2011-1098)

- The shred_file function in logrotate.c in logrotate 3.7.9 and earlier might allow context-dependent
attackers to execute arbitrary commands via shell metacharacters in a log filename, as demonstrated by a
filename that is automatically constructed on the basis of a hostname or virtual machine name.
(CVE-2011-1154)

- The writeState function in logrotate.c in logrotate 3.7.9 and earlier might allow context-dependent
attackers to cause a denial of service (rotation outage) via a (1) \n (newline) or (2) \ (backslash)
character in a log filename, as demonstrated by a filename that is automatically constructed on the basis
of a hostname or virtual machine name. (CVE-2011-1155)

See Also

https://git.alpinelinux.org/aports/commit/?id=da893fac83b4b4ca362dad2dd6da74022ebc6cfc

https://git.alpinelinux.org/aports/commit/?id=e30653b7a5011b09138e547bd80561ccba16f0c4

Plugin Details

Severity: Medium

ID: 401311

Version: Revision 1.24

Type: Local

Published: 8/16/2023

Updated: 5/18/2026

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.15

CVSS v2

Risk Factor: Medium

Base Score: 6.9

Temporal Score: 5.1

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

CVSS Score Source: CVE-2011-1154

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.8

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

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

CVSS Score Source: CVE-2011-1155

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/5/2011

Vulnerability Publication Date: 3/4/2011

Reference Information

CVE: CVE-2011-1098, CVE-2011-1154, CVE-2011-1155

BID: 47103, 47107, 47108