Race Condition Affecting logrotate package, versions <3.8.0-1


Severity

Recommended
0.0
low
0
10

Based on Debian security rating.

Threat Intelligence

EPSS
0.05% (19th 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 Race Condition vulnerabilities in an interactive lesson.

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

Introduced: 30 Mar 2011

CVE-2011-1098  (opens in a new tab)
CWE-362  (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.

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.

References

CVSS Scores

version 3.1