Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable following symlinks when opening log files #1363

Merged

Commits on Sep 4, 2024

  1. Disable following symlinks when opening log files

    The log module used by clamd and freshclam may follow symlinks.
    This is a potential security concern since the log may be owned by
    the unprivileged service but may be opened by the service running as
    root on startup.
    
    For Windows, we'll define O_NOFOLLOW so the code works, though the issue
    does not affect Windows.
    
    Issue reported by Detlef.
    micahsnyder committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    88efeda View commit details
    Browse the repository at this point in the history