Incorrect Permission Assignment for Critical Resource The advisory has been revoked - it doesn't affect any version of package logrotate  (opens in a new tab)


Threat Intelligence

EPSS
1.68% (78th 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 IDSNYK-RHEL9-LOGROTATE-12318642
  • published1 Sept 2025
  • disclosed25 May 2022

Introduced: 25 May 2022

CVE-2022-1348  (opens in a new tab)
CWE-732  (opens in a new tab)

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:9.

NVD Description

Note: Versions mentioned in the description apply only to the upstream logrotate package and not the logrotate package as distributed by RHEL.

A vulnerability was found in logrotate in how the state file is created. The state file is used to prevent parallel executions of multiple instances of logrotate by acquiring and releasing a file lock. When the state file does not exist, it is created with world-readable permission, allowing an unprivileged user to lock the state file, stopping any rotation. This flaw affects logrotate versions before 3.20.0.