CVE-2022-1348

Source
https://cve.org/CVERecord?id=CVE-2022-1348
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-1348.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-1348
Downstream
Related
Published
2022-05-25T16:15:08.150Z
Modified
2026-03-20T11:48:44.074774Z
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

Git / github.com/logrotate/logrotate

Affected ranges

Type
GIT
Repo
https://github.com/logrotate/logrotate
Events
Database specific
{
    "versions": [
        {
            "introduced": "3.17.0"
        },
        {
            "fixed": "3.20.0"
        }
    ]
}

Affected versions

3.*
3.17.0
3.18.0
3.18.1
3.19.0

Database specific

unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "35"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "36"
            }
        ]
    }
]
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-1348.json"