Story

In the news · 1 source · first seen 7d ago · oss-security
rsyslog >=8.3.2: low-year weekday formatting can crash rsyslogd (GHSA-5pc2-f2v7-5w5p)

Posted by Rainer Gerhards on Nov 17 GHSA-5pc2-f2v7-5w5p: rsyslogd can crash when a template formats a crafted low-year reported timestamp as a weekday name. An RFC5424 timestamp with year 0001 is accepted by the parser. The shared weekday calculation can return a negative C remainder, and date-wdayn

Briefing

Written from the coverage below · deepseek-v4.1-flash

rsyslog versions from 8.3.2 allow a crafted RFC5424 timestamp with year 0001, which the parser accepts; the shared weekday calculation then returns a negative C remainder. When an action template uses date-wdayname, that negative value indexes a seven-element table and one message accepted via imtcp caused a SIGSEGV.

Why it mattersAny defender running rsyslog 8.3.2 or later with remote TCP input and weekday-name templates can have logging crashed by a single malformed syslog message.

ActionUpgrade rsyslog to the release fixing GHSA-5pc2-f2v7-5w5p; restrict imtcp exposure and avoid date-wdayname templates until patched.

Coverage

1 article