GO-2024-2924: AdGuardHome privilege escalation vulnerability in github.com/AdguardTeam/AdGuardHome
package
Version:
v0.107.61
Opens a new window with list of versions in this module.
Published: Apr 22, 2025
License: GPL-3.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package permcheck contains code for simplifying permissions checks on files
and directories.
-
func Check(ctx context.Context, l *slog.Logger, workDir string, dataDir string, ...)
-
func Migrate(ctx context.Context, l *slog.Logger, workDir string, dataDir string, ...)
-
func NeedsMigration(ctx context.Context, l *slog.Logger, workDir, confFilePath string) (ok bool)
Check checks the permissions on important files. It logs the results at
appropriate levels.
Migrate attempts to change the permissions of AdGuard Home's files. It logs
the results at an appropriate level.
NeedsMigration returns true if AdGuard Home files need permission migration.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.