Commit Graph

5 Commits

Author SHA1 Message Date
RHEL Packaging Agent
8a5699ed82 Fix CVE-2026-72694: symlink-following chown of pid file in daemon mode
Backport upstream commit 30e19216bf to fix CVE-2026-72694
(CWE-59), a symlink-following chown vulnerability in MRTG's
PID file handling during daemon mode startup.

The fix ensures create_pid() refuses symlinks, creates the
PID file atomically with O_WRONLY|O_CREAT|O_EXCL, and uses
fchown on the open filehandle instead of path-based chown,
preventing a local attacker from redirecting ownership
changes to arbitrary files via a pre-placed symlink.

CVE: CVE-2026-72694
Upstream patches:
 - 30e19216bf.patch
Resolves: RHEL-236037

This commit was backported by Ymir, a Red Hat Enterprise Linux software maintenance AI agent.

Assisted-by: Ymir
2026-08-11 09:16:14 +00:00
Adam Samalik
47af981f99 re-import sources as agreed with the maintainer 2023-07-24 14:02:33 +02:00
James Antill
42ffffabad Import rpm: c8s 2023-02-27 14:29:50 -05:00
James Antill
64742cf0e9 Auto sync2gitlab import of mrtg-2.17.7-1.el8.src.rpm 2022-05-26 11:49:06 -04:00
James Antill
52b33c6a71 Initial c8s branch. 2022-05-26 11:49:03 -04:00