{"api_version":"1","generated_at":"2026-04-23T04:33:21+00:00","cve":"CVE-2019-17042","urls":{"html":"https://cve.report/CVE-2019-17042","api":"https://cve.report/api/cve/CVE-2019-17042.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-17042","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-17042"},"summary":{"title":"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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2019-10-07 16:15:00","updated_at":"2023-11-07 03:06:00"},"problem_types":["CWE-20"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KPNCHI7X2IEXRH6RYD6IDPR4PLB5RPC7/","name":"FEDORA-2019-1fb95ae48d","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 30 Update: rsyslog-8.1911.0-1.fc30 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W6SUQE25RD37CD24BHKUWMG27U5RQ2FU/","name":"FEDORA-2019-ea7d5876a4","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 31 Update: rsyslog-8.1911.0-1.fc31 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/rsyslog/rsyslog/blob/v8-stable/ChangeLog","name":"https://github.com/rsyslog/rsyslog/blob/v8-stable/ChangeLog","refsource":"CONFIRM","tags":["Release Notes"],"title":"rsyslog/ChangeLog at v8-stable · rsyslog/rsyslog · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://github.com/rsyslog/rsyslog/pull/3883","name":"https://github.com/rsyslog/rsyslog/pull/3883","refsource":"CONFIRM","tags":["Patch","Third Party Advisory"],"title":"pmcisconames bugfix: potential misadressing by rgerhards · Pull Request #3883 · rsyslog/rsyslog · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W6SUQE25RD37CD24BHKUWMG27U5RQ2FU/","name":"FEDORA-2019-ea7d5876a4","refsource":"","tags":[],"title":"[SECURITY] Fedora 31 Update: rsyslog-8.1911.0-1.fc31 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.debian.org/debian-lts-announce/2021/11/msg00030.html","name":"[debian-lts-announce] 20211130 [SECURITY] [DLA 2835-1] rsyslog security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 2835-1] rsyslog security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KPNCHI7X2IEXRH6RYD6IDPR4PLB5RPC7/","name":"FEDORA-2019-1fb95ae48d","refsource":"","tags":[],"title":"[SECURITY] Fedora 30 Update: rsyslog-8.1911.0-1.fc30 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00032.html","name":"openSUSE-SU-2019:2501","refsource":"SUSE","tags":[],"title":"[security-announce] openSUSE-SU-2019:2501-1: moderate: Security update f","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00031.html","name":"openSUSE-SU-2019:2500","refsource":"SUSE","tags":[],"title":"[security-announce] openSUSE-SU-2019:2500-1: moderate: Security update f","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-17042","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-17042","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2019","cve_id":"17042","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"17042","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"30","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"17042","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"31","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"17042","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"opensuse","cpe5":"leap","cpe6":"15.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"17042","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"opensuse","cpe5":"leap","cpe6":"15.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"17042","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"rsyslog","cpe5":"rsyslog","cpe6":"8.1908.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"17042","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"rsyslog","cpe5":"rsyslog","cpe6":"8.1908.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2019-17042","qid":"178924","title":"Debian Security Update for rsyslog (DLA 2835-1)"},{"cve":"CVE-2019-17042","qid":"296073","title":"Oracle Solaris 11.4 Support Repository Update (SRU) 24.75.2 Missing (CPUJUL2020)"},{"cve":"CVE-2019-17042","qid":"377546","title":"Alibaba Cloud Linux Security Update for rsyslog (ALINUX2-SA-2020:0047)"},{"cve":"CVE-2019-17042","qid":"500606","title":"Alpine Linux Security Update for rsyslog"},{"cve":"CVE-2019-17042","qid":"504366","title":"Alpine Linux Security Update for rsyslog"},{"cve":"CVE-2019-17042","qid":"904836","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for rsyslog (12421)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2019-17042","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"refsource":"CONFIRM","name":"https://github.com/rsyslog/rsyslog/blob/v8-stable/ChangeLog","url":"https://github.com/rsyslog/rsyslog/blob/v8-stable/ChangeLog"},{"refsource":"CONFIRM","name":"https://github.com/rsyslog/rsyslog/pull/3883","url":"https://github.com/rsyslog/rsyslog/pull/3883"},{"refsource":"SUSE","name":"openSUSE-SU-2019:2500","url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00031.html"},{"refsource":"SUSE","name":"openSUSE-SU-2019:2501","url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00032.html"},{"refsource":"FEDORA","name":"FEDORA-2019-ea7d5876a4","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W6SUQE25RD37CD24BHKUWMG27U5RQ2FU/"},{"refsource":"FEDORA","name":"FEDORA-2019-1fb95ae48d","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KPNCHI7X2IEXRH6RYD6IDPR4PLB5RPC7/"},{"refsource":"MLIST","name":"[debian-lts-announce] 20211130 [SECURITY] [DLA 2835-1] rsyslog security update","url":"https://lists.debian.org/debian-lts-announce/2021/11/msg00030.html"}]}},"nvd":{"publishedDate":"2019-10-07 16:15:00","lastModifiedDate":"2023-11-07 03:06:00","problem_types":["CWE-20"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:rsyslog:rsyslog:8.1908.0:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2019","CveId":"17042","Ordinal":"156814","Title":"CVE-2019-17042","CVE":"CVE-2019-17042","Year":"2019"},"notes":[{"CveYear":"2019","CveId":"17042","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2019","CveId":"17042","Ordinal":"2","NoteData":"2019-10-07","Type":"Other","Title":"Published"},{"CveYear":"2019","CveId":"17042","Ordinal":"3","NoteData":"2021-11-30","Type":"Other","Title":"Modified"}]}}}