Description
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.
CVSS Metrics
- Vector
- AV:L/AC:M/Au:N/C:C/I:C/A:C
- Access Vector
- local
- Access Cmplx
- medium
- Auth
- none
- Confidentiality
- complete
- Integrity
- complete
- Availability
- complete
- Weaknesses
- CWE-20
Metadata
- Primary Vendor
- GENTOO
- Published
- 3/30/2011
- Last Modified
- 4/11/2025
- Source
- NIST NVD
- Note: Verify all details with official vendor sources before applying patches.
Affected Products
gentoo : logrotategentoo : logrotategentoo : logrotategentoo : logrotategentoo : logrotategentoo : logrotategentoo : logrotategentoo : logrotategentoo : logrotategentoo : logrotategentoo : logrotategentoo : logrotategentoo : logrotategentoo : logrotate
AI-Powered Remediation
Generate remediation guidance or a C-suite brief for this vulnerability.