cyrus-imapd/patch-cassandane-fix-annotator
Martin Osvald 84bedf53d6 Update to 3.4.8, fixing CVE-2024-34055
Resolves: RHEL-40086
2024-06-11 15:41:24 +02:00

15 lines
443 B
Plaintext

diff --git a/cassandane/utils/annotator.pl b/cassandane/utils/annotator.pl
index 265c73f..8af3d58 100755
--- a/cassandane/utils/annotator.pl
+++ b/cassandane/utils/annotator.pl
@@ -140,6 +140,8 @@ GetOptions(
xlog "annotator $$ starting";
Cassandane::AnnotatorDaemon->run(
pid_file => $pidfile,
- port => $port
+ port => $port,
+ user => (getpwuid($<))[0],
+ group => (getgrgid($())[0],
);
xlog "annotator $$ exiting";