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.
2011-03-30T22:55:02.360
2025-04-11T00:51:21.963
Deferred
CVSSv2: 6.9 (MEDIUM)
AV:L/AC:M/Au:N/C:C/I:C/A:C
3.4
10.0
Type | Vendor | Product | Version/Range | Vulnerable? |
---|---|---|---|---|
Application | gentoo | logrotate | ≤ 3.7.9 | Yes |
Application | gentoo | logrotate | 3.3 | Yes |
Application | gentoo | logrotate | 3.5.9 | Yes |
Application | gentoo | logrotate | 3.5.9 | Yes |
Application | gentoo | logrotate | 3.6.5 | Yes |
Application | gentoo | logrotate | 3.6.5 | Yes |
Application | gentoo | logrotate | 3.7 | Yes |
Application | gentoo | logrotate | 3.7.1 | Yes |
Application | gentoo | logrotate | 3.7.1 | Yes |
Application | gentoo | logrotate | 3.7.1 | Yes |
Application | gentoo | logrotate | 3.7.2 | Yes |
Application | gentoo | logrotate | 3.7.6 | Yes |
Application | gentoo | logrotate | 3.7.7 | Yes |
Application | gentoo | logrotate | 3.7.8 | Yes |