CVE-2022-1348
published 2022-05-25CVE-2022-1348: 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…
PriorityP434medium6.5CVSS 3.1
AVNACLPRLUINSUCNINAH
EPSS
1.49%
71.2th percentile
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.
Affected
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | logrotate | < logrotate 3.20.1-1 (bookworm) | logrotate 3.20.1-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| logrotate_project | logrotate | — | — |
| logrotate_project | logrotate | >= 0 < 3.18.0-2+deb11u1 | 3.18.0-2+deb11u1 |
| logrotate_project | logrotate | >= 0 < 3.20.1-1 | 3.20.1-1 |
| logrotate_project | logrotate | >= 0 < 3.20.1-1 | 3.20.1-1 |
| logrotate_project | logrotate | >= 0 < 3.20.1-1 | 3.20.1-1 |
| logrotate_project | logrotate | >= 3.17.0 < 3.20.0 | 3.20.0 |
| msrc | cbl2_logrotate_3.20.1-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| msrc | cm1_logrotate_3.20.0-1_on_cbl_mariner_1.0 | — | — |
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvdv2.04.0MEDIUMAV:N/AC:L/Au:S/C:N/I:N/A:P
osv6.5MEDIUM
vendor_debian6.5MEDIUM
vendor_msrc6.5MEDIUM
vendor_redhat6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
CISA ICS
Siemens SCALANCE XCM-/XRM-300
cisa_ics·2024-02-15
Siemens SCALANCE XCM-/XRM-300
ICS Advisory
##
Siemens SCALANCE XCM-/XRM-300
Release DateFebruary 15, 2024
Alert CodeICSA-24-046-11
As of January 10, 2023, CISA will no longer be updating ICS security advisories for Siemens product vulnerabilities beyond the initial advisory. For the most up-to-date information on vulnerabilities in this advisory, please see Siemens' ProductCERT Security Advisories (CERT Services | Services | Siemens Global).
View CSAF
## 1. EXECUTIVE SUMMARY
- CVSS v3 9.8
- ATTENTION: Exploitable remotely/low attack complexity
- Vendor: Siemens
- Equipment: SCALANCE XCM-/XRM-300
- Vulnerabilities: Out-of-bounds Write, Incorrect Type Conversion or Cast, Improper Verification of Cryptographic Signature, Improper Access Control, Improper Authentication, Missing Encryption
Ubuntu
logrotate vulnerability
vendor_ubuntu·2022-05-26
CVE-2022-1348 logrotate vulnerability
Title: logrotate vulnerability
Summary: logrotate could be made to stop processing log files.
It was discovered that logrotate incorrectly handled the state file. A
local attacker could possibly use this issue to keep a lock on the state
file and cause logrotate to stop working, leading to a denial of service.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
logrotate: potential DoS from unprivileged users via the state file
vendor_redhat·2022-05-25·CVSS 6.5
CVE-2022-1348 [MEDIUM] CWE-732 logrotate: potential DoS from unprivileged users via the state file
logrotate: potential DoS from unprivileged users via the state file
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.
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
Microsoft
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
vendor_msrc·2022-05-10·CVSS 6.5
CVE-2022-1348 [MEDIUM] CWE-732 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
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.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft
Debian
CVE-2022-1348: logrotate - A vulnerability was found in logrotate in how the state file is created. The sta...
vendor_debian·2022·CVSS 6.5
CVE-2022-1348 [MEDIUM] CVE-2022-1348: logrotate - A vulnerability was found in logrotate in how the state file is created. The sta...
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.
Scope: local
bookworm: resolved (fixed in 3.20.1-1)
bullseye: resolved (fixed in 3.18.0-2+deb11u1)
forky: resolved (fixed in 3.20.1-1)
sid: resolved (fixed in 3.20.1-1)
trixie: resolved (fixed in 3.20.1-1)
GHSA
GHSA-4c4j-w8hm-rjgv: A vulnerability was found in logrotate in how the state file is created
ghsa_unreviewed·2022-05-26
CVE-2022-1348 [MEDIUM] CWE-732 GHSA-4c4j-w8hm-rjgv: A vulnerability was found in logrotate in how the state file is created
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.
OSV
CVE-2022-1348: A vulnerability was found in logrotate in how the state file is created
osv·2022-05-25·CVSS 6.5
CVE-2022-1348 [MEDIUM] CVE-2022-1348: A vulnerability was found in logrotate in how the state file is created
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
http://www.openwall.com/lists/oss-security/2022/05/25/3http://www.openwall.com/lists/oss-security/2022/05/25/4http://www.openwall.com/lists/oss-security/2022/05/25/5https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2022-1348https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y7EHGYRE6DSFSBXQIWYDGTSXKO6IFSJQ/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZYEB4F37BY6GLEJKP2EPVAVQ6TA3HQKR/http://www.openwall.com/lists/oss-security/2022/05/25/3http://www.openwall.com/lists/oss-security/2022/05/25/4http://www.openwall.com/lists/oss-security/2022/05/25/5https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2022-1348https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y7EHGYRE6DSFSBXQIWYDGTSXKO6IFSJQ/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZYEB4F37BY6GLEJKP2EPVAVQ6TA3HQKR/
2022-05-25
Published