rsyslog RainerScript replace() output length overflow (GHSA-48f2-29wv-5jgc)
rsyslog disclosed a RainerScript replace() output-length overflow that default small-message configurations do not expose.
rsyslog disclosed GHSA-48f2-29wv-5jgc, an output-length overflow in the RainerScript replace() function. The three-argument form of wrap() uses the same helper. The issue is not exposed by rsyslog's default small-message configuration. An affected deployment must use an explicit ruleset that passes attacker-influenced values to replace() or three-argument wrap(), and set maxMessageSize large enough to accept the source and replacement values.
- GHSA-48f2-29wv-5jgc is an output-length overflow in RainerScript replace().
- The three-argument wrap() form uses the same helper.
- Default small-message configurations are not exposed.
- Exploitation needs an attacker-influenced ruleset and a large maxMessageSize.
From the original article
Posted by Rainer Gerhards on Oct 13 Hello, rsyslog has disclosed GHSA-48f2-29wv-5jgc, an output length overflow in RainerScript replace(). The three-argument form of wrap() uses the same helper. This is not exposed by rsyslog's default small-message configuration.
seclists.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.