USN-9527-1: rsyslog vulnerabilities
Rainer Gerhards discovered that rsyslog did not correctly handle sanitizing certain log messages. An attacker could possibly use this issue to perform log injections. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 26.04 LTS and Ubuntu 26.10. (GHSA-3w8v-2pjp-5r8p) It was discovered that rsyslog did not correctly handle sanitizing certain control characters in kernel log messages. An attacker could possibly use this issue to modify log files or execute arbitrary code. (GHSA-pw82-9r22-hjqg) Zachariah Mithani discovered that rsyslog did not correctly handle parsing certain common names. An attacker could possibly use this issue to spoof themselves as a permitted peer. (GHSA-2j6x-gq6h-q426) Rainer Gerhards discovered that rsyslog did not correctly handle discarding rejected messages. An attacker could possibly use this issue to cause a denial of service. (GHSA-gp9m-f4cv-wxvg) Rainer Gerhards discovered that rsyslog did not correctly handle closing certain file descriptors. An attacker could possibly use this issue to cause a denial of service. (GHSA-rj3v-jjhc-8vpf)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/rsyslogto a version that resolves this vulnerability.Fixed in 8.2608.0-4ubuntu3.1 - Upgrade
Upgrade
ubuntu/rsyslogto a version that resolves this vulnerability.Fixed in 8.2512.0-1ubuntu4.4 - Upgrade
Upgrade
ubuntu/rsyslogto a version that resolves this vulnerability.Fixed in 8.2312.0-3ubuntu9.6 - Upgrade
Upgrade
ubuntu/rsyslogto a version that resolves this vulnerability.Fixed in 8.2112.0-2ubuntu2.7 - Upgrade
Upgrade
ubuntu/rsyslogto a version that resolves this vulnerability.Fixed in Ubuntu Pro
Event History
Frequently Asked Questions
Which Ubuntu releases are affected?
The advisory states that the log-injection issue affects Ubuntu 16.04 LTS, 18.04 LTS, 20.04 LTS, 22.04 LTS, 24.04 LTS, 26.04 LTS, and 26.10.
What attacker capabilities are described for these issues?
Depending on the issue, an attacker may be able to inject log entries, modify log files or execute arbitrary code through kernel log-message control characters, spoof a permitted peer through common-name parsing, or cause denial of service by sending rejected messages or triggering file-descriptor handling issues.
How can an organization determine whether it may be affected?
Identify systems running rsyslog on the Ubuntu releases listed in the advisory, then review the associated Launchpad bug references: 2190334, 2190325, and 2190315. The provided information does not include fixed package versions or configuration-specific indicators.