Read the docs
TI-2022-01230 Aliases CVE-2022-1348GHSA-4c4j-w8hm-rjgv

Incorrect permission assignment in logrotate

Priority LOW 32CWE-732Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01677 77th percentileScored 2026-11-07
Fix Fixed Red Hat: 1 advisory

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—logrotatelogrotate versions before 3.20.0—No fix listedCNA
  • logrotate Vendor— Affected logrotate versions before 3.20.0 Fixed in — No fix listed CNA

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:logrotate_project:logrotate:*:*:*:*:*:*:*:*3.17.0 to before 3.20.0VulnerableLogrotate Project
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*35VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*36VulnerableFedoraproject
  • cpe:2.3:a:logrotate_project:logrotate:*:*:*:*:*:*:*:* Versions 3.17.0 to before 3.20.0 Vulnerable ·Logrotate Project
  • cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* Versions 36 Vulnerable ·Fedoraproject

Remediation

Red Hat 1 advisory

  • RHSA-2022:8393 Released 2022-11-15 · Red Hat rating Moderate
    logrotate security update
    • Red Hat Enterprise Linux BaseOS (v. 9) logrotate-3.18.0-7.el9

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux BaseOS (v. 9)Fixed RHSA-2022:8393
Not affected: 4 products
  • Red Hat Advanced Cluster Management for Kubernetes 2
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-1348
  2. 2026-10-03 Alias added: GHSA-4c4j-w8hm-rjgv

References

Sources