CWE
732
Advisory Published
Updated

CVE-2022-1348

First published: Wed May 25 2022(Updated: )

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.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Logrotate>=3.17.0<3.20.0
Red Hat Fedora=35
Red Hat Fedora=36

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2022-1348?

    CVE-2022-1348 has been classified as a medium severity vulnerability due to the potential for unauthorized access to sensitive information.

  • How do I fix CVE-2022-1348?

    To fix CVE-2022-1348, ensure that logrotate is updated to a version that addresses this issue, specifically versions higher than 3.20.0.

  • What systems are affected by CVE-2022-1348?

    CVE-2022-1348 affects logrotate versions from 3.17.0 to 3.20.0, as well as Fedora versions 35 and 36.

  • What kind of data can be exposed by CVE-2022-1348?

    CVE-2022-1348 can potentially expose logrotate state files, which may contain sensitive information regarding log processing.

  • Is there a workaround for CVE-2022-1348?

    A potential workaround for CVE-2022-1348 is to manually adjust the permissions of the state file to limit access until a proper update is applied.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203