DEBIAN-CVE-2022-1348

Source
https://security-tracker.debian.org/tracker/CVE-2022-1348
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-1348.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2022-1348
Upstream
Published
2022-05-25T16:15:08Z
Modified
2025-09-30T05:15:32.321899Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / logrotate

Package

Name
logrotate
Purl
pkg:deb/debian/logrotate?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.18.0-2+deb11u1

Affected versions

3.*

3.18.0-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / logrotate

Package

Name
logrotate
Purl
pkg:deb/debian/logrotate?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.20.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / logrotate

Package

Name
logrotate
Purl
pkg:deb/debian/logrotate?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.20.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14 / logrotate

Package

Name
logrotate
Purl
pkg:deb/debian/logrotate?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.20.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}