Fedora Account System
Red Hat Associate
Red Hat Customer
* subj: [vs-plain] rsyslog GHSA-f9hg-rj32-693x: mmanon embedded IPv4-in-IPv6 stack overflow cves: GHSA-f9hg-rj32-693x | CVE-2026-129833 Confidential advance notice to the distributions list. Please keep this issue and patch under embargo until the proposed public disclosure on Tuesday, 2026-11-17 at 16:00 UTC / 17:00 CET / 11:00 EST. This time remains subject to the completed coordinated handoff; please flag any operational problem promptly. GHSA-f9hg-rj32-693x concerns a stack buffer overflow in rsyslog mmanon while anonymizing an embedded IPv4-in-IPv6 token. A malformed log message must reach a configured mmanon action with embedded IPv4 anonymization enabled. An exposed unauthenticated network input feeding that action permits a network attacker to trigger the vulnerable path. An assert-enabled build aborts; an NDEBUG build under AddressSanitizer reports an out-of-bounds stack write. The demonstrated security impact is loss of logging availability. Code execution and confidentiality or integrity impacts have not been established. Affected upstream versions: rsyslog >= 8.31.0, including v8.2610.0. The vulnerable path remains on public main 8a86b533612c32065a864ff52d951afddb423e12. Distribution backports and package configurations should be checked separately. Fixed-version designation for the proposed disclosure day: 2026-11-17 daily stable. This identifies the disclosure-day daily stable build; the exact tag, source merge and binary package availability require separate verification. The source-only patch below applies to current public main and has SHA-256 797865b29ede6f0a00728836a538ad96e72c6900cb1bbecca12441f7c08afec6. It rejects overlong embedded IPv6 groups and guards the complete token length before copying. Malformed tokens remain unchanged. Workaround: prevent untrusted log text from reaching the affected mmanon action. Where operationally acceptable, set embeddedipv4.enable="off" on that action or restrict the inputs and senders that can reach it. Disabling embedded anonymization changes logging behavior. Severity: High, CVSS 3.1 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H); CWE-121. CVE requested; assignment pending. Reporter credit: Manyo9. The patch below contains source code only and is supplied for distribution backports. It is based on private reviewed PR head 4d9c2e6130505c2f938188d3f8124f3d5eb65513. Please verify downstream affected ranges and package builds independently. We will publish the advisory and source patch at the agreed disclosure time; public PR, merge, tag and binary availability will be recorded separately. Private coordination contact: rgerhards.com. Source-only patch (1123 bytes; SHA-256 797865b29ede6f0a00728836a538ad96e72c6900cb1bbecca12441f7c08afec6): diff --git a/plugins/mmanon/mmanon.c b/plugins/mmanon/mmanon.c index 26e3ad4ec..e5b1d86d4 100644 --- a/plugins/mmanon/mmanon.c +++ b/plugins/mmanon/mmanon.c @@ -1756,7 +1756,7 @@ static int syntax_embedded(const uchar *const __restrict__ buf, while (*nprocessed < buflen) { numLen = isValidHexNum(buf + *nprocessed, buflen - *nprocessed, nprocessed, 1); - if (numLen > 0) { // found a valid num + if (numLen > 0 && numLen < 5) { // found a valid IPv6 group if ((ipParts == 6 && hadAbbrev) || ipParts > 6) { // is 6 since the first part of // IPv4 will also result in a valid hexvalue isIP = 0; @@ -1929,7 +1929,9 @@ static void anonEmbedded(wrkrInstanceData_t *pWrkrData, uchar **msg, int *pLenMs int syn = syntax_embedded(*msg + offset, *pLenMsg - offset, &iplen, &v4Start); if (syn) { - assert(iplen < sizeof(address)); + if (iplen >= sizeof(address)) { + return; + } getip(*msg + offset, iplen, address); offset += iplen; process_embedded(address, pWrkrData, v4Start);