CWE
20 119
Advisory Published
Updated

CVE-2019-17042: Input Validation

First published: Mon Oct 07 2019(Updated: )

An issue was discovered in Rsyslog v8.1908.0. contrib/pmcisconames/pmcisconames.c has a heap overflow in the parser for Cisco log messages. The parser tries to locate a log message delimiter (in this case, a space or a colon), but fails to account for strings that do not satisfy this constraint. If the string does not match, then the variable lenMsg will reach the value zero and will skip the sanity check that detects invalid log messages. The message will then be considered valid, and the parser will eat up the nonexistent colon delimiter. In doing so, it will decrement lenMsg, a signed integer, whose value was zero and now becomes minus one. The following step in the parser is to shift left the contents of the message. To do this, it will call memmove with the right pointers to the target and destination strings, but the lenMsg will now be interpreted as a huge value, causing a heap overflow.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Rsyslog Rsyslog=8.1908.0
Fedoraproject Fedora=30
Fedoraproject Fedora=31
Debian Debian Linux=9.0
openSUSE Leap=15.0
openSUSE Leap=15.1
IBM Data Risk Manager<=2.0.6

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2019-17042?

    The severity of CVE-2019-17042 is critical with a severity value of 9.8.

  • Which software versions are affected by CVE-2019-17042?

    Rsyslog versions 8.1908.0, Fedora versions 30 and 31, Debian Linux version 9.0, openSUSE Leap versions 15.0 and 15.1, and IBM Data Risk Manager version up to 2.0.6 are affected by CVE-2019-17042.

  • How does CVE-2019-17042 impact Rsyslog?

    CVE-2019-17042 causes a heap-based buffer overflow in the parser for Cisco log messages in Rsyslog, potentially leading to remote code execution or denial of service.

  • Is there a patch available for CVE-2019-17042?

    Yes, IBM Data Risk Manager version 2.0.6 has a patch available. Other affected software may also have patches provided by their respective vendors.

  • Where can I find more information about CVE-2019-17042?

    You can find more information about CVE-2019-17042 in the following references: [link1](http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00031.html), [link2](http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00032.html), [link3](https://github.com/rsyslog/rsyslog/blob/v8-stable/ChangeLog).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203