Buffer overflow in Rsyslog Librelp
CVE-2018-1000140
rsyslog librelp version 1.2.14 and earlier contains a Buffer Overflow vulnerability in the checking of x509 certificates from a peer that can result in Remote code execution. This attack appear to be exploitable a remote attacker that can connect to rsyslog and trigger a stack buffer overflow by sending a specially crafted x509 certificate.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.093, 95.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Rsyslog Librelp
- Canonical Ubuntu Linux — versions 14.04
- Debian Linux — versions 8.0, 9.0
- Red Hat Enterprise Linux Desktop — versions 6.0, 7.0
- Red Hat Enterprise Linux Server — versions 6.0, 7.0
- Red Hat Enterprise Linux Server Aus — versions 6.6, 7.2, 7.3
- Red Hat Enterprise Linux Server Eus — versions 6.7, 7.3, 7.4
- Red Hat Enterprise Linux Server Tus — versions 6.6, 7.2, 7.3
- Red Hat Enterprise Linux Workstation — versions 6.0, 7.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- s0/rsyslog-librelp-CVE-2018-1000140-fixed (last pushed 2019-05-14)
- s0/rsyslog-librelp-CVE-2018-1000140 (last pushed 2019-05-14): Pinned version of rsyslov vulnerable to CVE-2018-1000140
Also mentioned in 4 other repositories (0xT11/CVE-POC, andir/nixos-issue-db-example, ARPSyndicate/cvemon, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- USN-3612-1 (vendor-advisory, Third Party Advisory)
- GLSA-201804-21 (vendor-advisory, Third Party Advisory)
- github.com/rsyslog/librelp/blob/532aa362f0f7a8d037505b0a27a1df452f9bac9e/src/tc… (Patch, Third Party Advisory)
- RHSA-2018:1703 (vendor-advisory, Third Party Advisory)
- RHSA-2018:1704 (vendor-advisory, Third Party Advisory)
- RHSA-2018:1702 (vendor-advisory, Third Party Advisory)
- RHSA-2018:1225 (vendor-advisory, Third Party Advisory)
- RHSA-2018:1707 (vendor-advisory, Third Party Advisory)
- lgtm.com/rules/1505913226124/ (Exploit, Third Party Advisory)
- RHSA-2018:1223 (vendor-advisory, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.