UBUNTU-CVE-2022-1348

Source
https://ubuntu.com/security/CVE-2022-1348
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1348.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-1348
Related
Published
2022-05-25T00:00:00Z
Modified
2022-05-25T00:00:00Z
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

Ubuntu:22.04:LTS / logrotate

Package

Name
logrotate
Purl
pkg:deb/ubuntu/logrotate?arch=src?distro=jammy

Affected ranges

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

Affected versions

3.*

3.18.0-2ubuntu1
3.18.0-2ubuntu2
3.18.1-2ubuntu1
3.19.0-1ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.19.0-1ubuntu1.1",
            "binary_name": "logrotate"
        },
        {
            "binary_version": "3.19.0-1ubuntu1.1",
            "binary_name": "logrotate-dbgsym"
        }
    ]
}