Live threats

All CVEs / Gentoo

CVE-2011-1154Gentoo Logrotate

Medium 6.9

Priority
41
CVSS 2.0
6.9
EPSS
0.4%
probability of exploitation in 30 days · percentile 38
Auth required
Yes
Published
Mar 30, 2011
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
AV:L/AC:M/Au:N/C:C/I:C/A:C

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Logrotate.

Affected products (CPE)

VendorProductVersions
gentoologrotate≤ 3.7.9
gentoologrotate3.3
gentoologrotate3.5.9
gentoologrotate3.5.9
gentoologrotate3.6.5
gentoologrotate3.6.5
gentoologrotate3.7
gentoologrotate3.7.1
gentoologrotate3.7.1
gentoologrotate3.7.1
gentoologrotate3.7.2
gentoologrotate3.7.6
gentoologrotate3.7.7
gentoologrotate3.7.8

Official sources

References

Links published by the sources. Open them with care.