Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-1348

published medium CVSS 3.1 · 6.5

logrotate: potential DoS from unprivileged users via the state file

Title from Red Hat VEX

Published
25 May 2022, 15:13:39 UTC
Updated
09 Jun 2025, 14:55:12 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — logrotatelogrotate versions before 3.20.0 Affected Not stated redhat
AlmaLinux 9 logrotate Advisory build 3.18.0-7.el9 ALSA-2022:8393
Alpine Linux edge logrotate Fixed 3.20.1-r0 Package fix record
Oracle Linux 9 logrotateaarch64 Advisory build 0:3.18.0-7.el9 ELSA-2022-8393
Red Hat Enterprise Linux RHEL-9 logrotateaarch64 Advisory build 3.18.0-7.el9 RHSA-2022:8393
SUSE / openSUSE SLE-15-SP4 logrotateaarch64 Advisory build 3.18.1-150400.3.7.1 SUSE-SU-2022:2396-1
Ubuntu jammy logrotate Advisory build 3.19.0-1ubuntu1.1 USN-5447-1
Rocky Linux 9 logrotateaarch64 Listed in advisory Not stated RLSA-2022:8393
Show 48 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.13 logrotate Fixed 3.18.0-r2 Package fix record
Alpine Linux v3.14 logrotate Fixed 3.18.1-r2 Package fix record
Alpine Linux v3.15 logrotate Fixed 3.18.1-r2 Package fix record
Alpine Linux v3.16 logrotate Fixed 3.19.0-r1 Package fix record
Alpine Linux v3.17 logrotate Fixed 3.20.1-r0 Package fix record
Alpine Linux v3.18 logrotate Fixed 3.20.1-r0 Package fix record
Alpine Linux v3.19 logrotate Fixed 3.20.1-r0 Package fix record
Alpine Linux v3.20 logrotate Fixed 3.20.1-r0 Package fix record
Alpine Linux v3.21 logrotate Fixed 3.20.1-r0 Package fix record
Alpine Linux v3.22 logrotate Fixed 3.20.1-r0 Package fix record
Alpine Linux v3.23 logrotate Fixed 3.20.1-r0 Package fix record
Alpine Linux v3.24 logrotate Fixed 3.20.1-r0 Package fix record
Oracle Linux 9 logrotatex86_64 Advisory build 0:3.18.0-7.el9 ELSA-2022-8393
Red Hat Enterprise Linux RHEL-9 logrotateppc64le Advisory build 3.18.0-7.el9 RHSA-2022:8393
Red Hat Enterprise Linux RHEL-9 logrotates390x Advisory build 3.18.0-7.el9 RHSA-2022:8393
Red Hat Enterprise Linux RHEL-9 logrotatesrc Advisory build 3.18.0-7.el9 RHSA-2022:8393
Red Hat Enterprise Linux RHEL-9 logrotatex86_64 Advisory build 3.18.0-7.el9 RHSA-2022:8393
SUSE / openSUSE SLE-15-SP4 logrotateppc64le Advisory build 3.18.1-150400.3.7.1 SUSE-SU-2022:2396-1
SUSE / openSUSE SLE-15-SP4 logrotates390x Advisory build 3.18.1-150400.3.7.1 SUSE-SU-2022:2396-1
SUSE / openSUSE SLE-15-SP4 logrotatex86_64 Advisory build 3.18.1-150400.3.7.1 SUSE-SU-2022:2396-1
SUSE / openSUSE openSUSE-Leap-15.4 logrotateaarch64 Advisory build 3.18.1-150400.3.7.1 SUSE-SU-2022:2396-1
SUSE / openSUSE openSUSE-Leap-15.4 logrotateppc64le Advisory build 3.18.1-150400.3.7.1 SUSE-SU-2022:2396-1
SUSE / openSUSE openSUSE-Leap-15.4 logrotates390x Advisory build 3.18.1-150400.3.7.1 SUSE-SU-2022:2396-1
SUSE / openSUSE openSUSE-Leap-15.4 logrotatex86_64 Advisory build 3.18.1-150400.3.7.1 SUSE-SU-2022:2396-1
SUSE / openSUSE openSUSE-Tumbleweed logrotateaarch64 Advisory build 3.20.1-1.1 OPENSUSE-SU-2024:12108-1
SUSE / openSUSE openSUSE-Tumbleweed logrotateppc64le Advisory build 3.20.1-1.1 OPENSUSE-SU-2024:12108-1
SUSE / openSUSE openSUSE-Tumbleweed logrotates390x Advisory build 3.20.1-1.1 OPENSUSE-SU-2024:12108-1
SUSE / openSUSE openSUSE-Tumbleweed logrotatex86_64 Advisory build 3.20.1-1.1 OPENSUSE-SU-2024:12108-1
Red Hat Enterprise Linux RHEL-9 logrotate-debuginfoaarch64 Advisory build 3.18.0-7.el9 RHSA-2022:8393
Red Hat Enterprise Linux RHEL-9 logrotate-debuginfoppc64le Advisory build 3.18.0-7.el9 RHSA-2022:8393
Red Hat Enterprise Linux RHEL-9 logrotate-debuginfos390x Advisory build 3.18.0-7.el9 RHSA-2022:8393
Red Hat Enterprise Linux RHEL-9 logrotate-debuginfox86_64 Advisory build 3.18.0-7.el9 RHSA-2022:8393
Red Hat Enterprise Linux RHEL-9 logrotate-debugsourceaarch64 Advisory build 3.18.0-7.el9 RHSA-2022:8393
Red Hat Enterprise Linux RHEL-9 logrotate-debugsourceppc64le Advisory build 3.18.0-7.el9 RHSA-2022:8393
Red Hat Enterprise Linux RHEL-9 logrotate-debugsources390x Advisory build 3.18.0-7.el9 RHSA-2022:8393
Red Hat Enterprise Linux RHEL-9 logrotate-debugsourcex86_64 Advisory build 3.18.0-7.el9 RHSA-2022:8393
Rocky Linux 9 logrotateppc64le Listed in advisory Not stated RLSA-2022:8393
Rocky Linux 9 logrotates390x Listed in advisory Not stated RLSA-2022:8393
Rocky Linux 9 logrotatesrc Listed in advisory Not stated RLSA-2022:8393
Rocky Linux 9 logrotatex86_64 Listed in advisory Not stated RLSA-2022:8393
Rocky Linux 9 logrotate-debuginfoaarch64 Listed in advisory Not stated RLSA-2022:8393
Rocky Linux 9 logrotate-debuginfoppc64le Listed in advisory Not stated RLSA-2022:8393
Rocky Linux 9 logrotate-debuginfos390x Listed in advisory Not stated RLSA-2022:8393
Rocky Linux 9 logrotate-debuginfox86_64 Listed in advisory Not stated RLSA-2022:8393
Rocky Linux 9 logrotate-debugsourceaarch64 Listed in advisory Not stated RLSA-2022:8393
Rocky Linux 9 logrotate-debugsourceppc64le Listed in advisory Not stated RLSA-2022:8393
Rocky Linux 9 logrotate-debugsources390x Listed in advisory Not stated RLSA-2022:8393
Rocky Linux 9 logrotate-debugsourcex86_64 Listed in advisory Not stated RLSA-2022:8393

Description

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.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

21

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
6.5 / 10
Severity
medium
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a logrotate logrotate versions before 3.20.0 (affected) redhat · cna

Weaknesses

2
  • CWE-732 (redhat · cna)
  • CWE-732 CWE-732 Incorrect Permission Assignment for Critical Resource (CISA-ADP · adp)

References

6

Provider assertions

3

redhat · cna

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
85671f274b7b05d293b88c9a162ccb278ac71f9a4211f192b221abcf24d284a7
Ingested
23 Sep 2026, 07:57:41 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected