Improper Input Validation Affecting logrotate package, versions <3.8.0-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.07% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN11-LOGROTATE-527891
  • published30 Mar 2011
  • disclosed30 Mar 2011

Introduced: 30 Mar 2011

CVE-2011-1154  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Debian:11 logrotate to version 3.8.0-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream logrotate package and not the logrotate package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

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.

References

CVSS Scores

version 3.1