[3.12] main/rsyslog: fix CVE-2022-24903

Merged Ghost User requested to merge (removed):3.12-rsyslog into 3.12-stable

Merge request reports