CVE-2019-17042
Description
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.
Risk Information
Associated Vulnerability
| Vulnerability | OS Platform |
|---|---|
| (RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-8.1911.0-3.el8.x86_64.rpm | Linux |
| (RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-crypto-8.1911.0-3.el8.x86_64.rpm | Linux |
| (RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-debugsource-8.1911.0-3.el8.x86_64.rpm | Linux |
| (RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-doc-8.1911.0-3.el8.noarch.rpm | Linux |
| (RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-elasticsearch-8.1911.0-3.el8.x86_64.rpm | Linux |
| (RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-gnutls-8.1911.0-3.el8.x86_64.rpm | Linux |
| (RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-gssapi-8.1911.0-3.el8.x86_64.rpm | Linux |
| (RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-kafka-8.1911.0-3.el8.x86_64.rpm | Linux |
| (RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-mmaudit-8.1911.0-3.el8.x86_64.rpm | Linux |
| (RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-mmjsonparse-8.1911.0-3.el8.x86_64.rpm | Linux |
| (RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-mmkubernetes-8.1911.0-3.el8.x86_64.rpm | Linux |
| (RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-mmnormalize-8.1911.0-3.el8.x86_64.rpm | Linux |
| (RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-mmsnmptrapd-8.1911.0-3.el8.x86_64.rpm | Linux |
| (RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-mysql-8.1911.0-3.el8.x86_64.rpm | Linux |
| (RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-pgsql-8.1911.0-3.el8.x86_64.rpm | Linux |
| (RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-relp-8.1911.0-3.el8.x86_64.rpm | Linux |
| (RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-snmp-8.1911.0-3.el8.x86_64.rpm | Linux |
| (CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-8.1911.0-3.el8.x86_64.rpm | Linux |
| (CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-crypto-8.1911.0-3.el8.x86_64.rpm | Linux |
| (CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-doc-8.1911.0-3.el8.noarch.rpm | Linux |
| (CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-elasticsearch-8.1911.0-3.el8.x86_64.rpm | Linux |
| (CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-gnutls-8.1911.0-3.el8.x86_64.rpm | Linux |
| (CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-gssapi-8.1911.0-3.el8.x86_64.rpm | Linux |
| (CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-kafka-8.1911.0-3.el8.x86_64.rpm | Linux |
| (CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-mmaudit-8.1911.0-3.el8.x86_64.rpm | Linux |
| (CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-mmjsonparse-8.1911.0-3.el8.x86_64.rpm | Linux |
| (CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-mmkubernetes-8.1911.0-3.el8.x86_64.rpm | Linux |
| (CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-mmnormalize-8.1911.0-3.el8.x86_64.rpm | Linux |
| (CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-mmsnmptrapd-8.1911.0-3.el8.x86_64.rpm | Linux |
| (CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-mysql-8.1911.0-3.el8.x86_64.rpm | Linux |
| (CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-pgsql-8.1911.0-3.el8.x86_64.rpm | Linux |
| (CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-relp-8.1911.0-3.el8.x86_64.rpm | Linux |
| (CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-snmp-8.1911.0-3.el8.x86_64.rpm | Linux |
| Rsyslog update (ELSA-2020-1702) rsyslog-8.1911.0-3.el8.x86_64.rpm | Linux |
| Rsyslog-crypto update (ELSA-2020-1702) rsyslog-crypto-8.1911.0-3.el8.x86_64.rpm | Linux |
| Rsyslog-doc update (ELSA-2020-1702) rsyslog-doc-8.1911.0-3.el8.noarch.rpm | Linux |
| Rsyslog-elasticsearch update (ELSA-2020-1702) rsyslog-elasticsearch-8.1911.0-3.el8.x86_64.rpm | Linux |
| Rsyslog-gnutls update (ELSA-2020-1702) rsyslog-gnutls-8.1911.0-3.el8.x86_64.rpm | Linux |
| Rsyslog-gssapi update (ELSA-2020-1702) rsyslog-gssapi-8.1911.0-3.el8.x86_64.rpm | Linux |
| Rsyslog-kafka update (ELSA-2020-1702) rsyslog-kafka-8.1911.0-3.el8.x86_64.rpm | Linux |
| Rsyslog-mmaudit update (ELSA-2020-1702) rsyslog-mmaudit-8.1911.0-3.el8.x86_64.rpm | Linux |
| Rsyslog-mmjsonparse update (ELSA-2020-1702) rsyslog-mmjsonparse-8.1911.0-3.el8.x86_64.rpm | Linux |
| Rsyslog-mmkubernetes update (ELSA-2020-1702) rsyslog-mmkubernetes-8.1911.0-3.el8.x86_64.rpm | Linux |
| Rsyslog-mmnormalize update (ELSA-2020-1702) rsyslog-mmnormalize-8.1911.0-3.el8.x86_64.rpm | Linux |
| Rsyslog-mmsnmptrapd update (ELSA-2020-1702) rsyslog-mmsnmptrapd-8.1911.0-3.el8.x86_64.rpm | Linux |
| Rsyslog-mysql update (ELSA-2020-1702) rsyslog-mysql-8.1911.0-3.el8.x86_64.rpm | Linux |
| Rsyslog-pgsql update (ELSA-2020-1702) rsyslog-pgsql-8.1911.0-3.el8.x86_64.rpm | Linux |
| Rsyslog-relp update (ELSA-2020-1702) rsyslog-relp-8.1911.0-3.el8.x86_64.rpm | Linux |
| Rsyslog-snmp update (ELSA-2020-1702) rsyslog-snmp-8.1911.0-3.el8.x86_64.rpm | Linux |
| Improper Input Validation Vulnerability (CVE-2019-17042) | NCM |
Patch Details
No records foundReferences
https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234