CVE-2018-1000140

critical
New! CVE Severity Now Using CVSS v3

The calculated severity for CVEs has been updated to use CVSS v3 by default. CVEs that do not have a CVSS v3 score will fall back CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Description

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.

References

https://access.redhat.com/errata/RHSA-2018:1223

https://access.redhat.com/errata/RHSA-2018:1225

https://access.redhat.com/errata/RHSA-2018:1701

https://access.redhat.com/errata/RHSA-2018:1702

https://access.redhat.com/errata/RHSA-2018:1703

https://access.redhat.com/errata/RHSA-2018:1704

https://access.redhat.com/errata/RHSA-2018:1707

https://github.com/rsyslog/librelp/blob/532aa362f0f7a8d037505b0a27a1df452f9bac9e/src/tcp.c#L1205

https://lgtm.com/rules/1505913226124/

https://security.gentoo.org/glsa/201804-21

https://usn.ubuntu.com/3612-1/

https://www.debian.org/security/2018/dsa-4151

Details

Source: MITRE

Published: 2018-03-23

Updated: 2020-08-24

Type: CWE-787

Risk Information

CVSS v2

Base Score: 7.5

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

Impact Score: 6.4

Exploitability Score: 10

Severity: HIGH

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Impact Score: 5.9

Exploitability Score: 3.9

Severity: CRITICAL

Vulnerable Software

Configuration 1

OR

cpe:2.3:a:rsyslog:librelp:*:*:*:*:*:*:*:* versions up to 1.2.14 (inclusive)

Configuration 2

OR

cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*

cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

Configuration 3

OR

cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*

Configuration 4

OR

cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:*

cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*

cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:*

cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*

cpe:2.3:o:redhat:enterprise_linux_server_aus:6.6:*:*:*:*:*:*:*

cpe:2.3:o:redhat:enterprise_linux_server_aus:7.2:*:*:*:*:*:*:*

cpe:2.3:o:redhat:enterprise_linux_server_aus:7.3:*:*:*:*:*:*:*

cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:*

cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:*

cpe:2.3:o:redhat:enterprise_linux_server_eus:6.7:*:*:*:*:*:*:*

cpe:2.3:o:redhat:enterprise_linux_server_eus:7.3:*:*:*:*:*:*:*

cpe:2.3:o:redhat:enterprise_linux_server_eus:7.4:*:*:*:*:*:*:*

cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:*

cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:*

cpe:2.3:o:redhat:enterprise_linux_server_tus:6.6:*:*:*:*:*:*:*

cpe:2.3:o:redhat:enterprise_linux_server_tus:7.2:*:*:*:*:*:*:*

cpe:2.3:o:redhat:enterprise_linux_server_tus:7.3:*:*:*:*:*:*:*

cpe:2.3:o:redhat:enterprise_linux_server_tus:7.4:*:*:*:*:*:*:*

cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:*

cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:*

cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*

Tenable Plugins

View all (31 total)

IDNameProductFamilySeverity
127416NewStart CGSL MAIN 4.05 : librelp Vulnerability (NS-SA-2019-0147)NessusNewStart CGSL Local Security Checks
critical
127234NewStart CGSL CORE 5.04 / MAIN 5.04 : librelp Vulnerability (NS-SA-2019-0050)NessusNewStart CGSL Local Security Checks
critical
121935Photon OS 2.0: Librelp PHSA-2018-2.0-0039NessusPhotonOS Local Security Checks
critical
121832Photon OS 1.0: Librelp PHSA-2018-1.0-0129NessusPhotonOS Local Security Checks
critical
111931Photon OS 1.0: Librelp / Libvirt PHSA-2018-1.0-0129 (deprecated)NessusPhotonOS Local Security Checks
critical
111298Photon OS 2.0 : openjdk8 / httpd / librelp / zsh / libvirt (PhotonOS-PHSA-2018-2.0-0039) (deprecated)NessusPhotonOS Local Security Checks
critical
110846EulerOS 2.0 SP3 : librelp (EulerOS-SA-2018-1182)NessusHuawei Local Security Checks
critical
110242CentOS 7 : librelp (CESA-2018:1223)NessusCentOS Local Security Checks
critical
110139EulerOS 2.0 SP2 : librelp (EulerOS-SA-2018-1135)NessusHuawei Local Security Checks
critical
110138EulerOS 2.0 SP1 : librelp (EulerOS-SA-2018-1134)NessusHuawei Local Security Checks
critical
110087RHEL 7 : librelp (RHSA-2018:1707)NessusRed Hat Local Security Checks
critical
110086RHEL 7 : librelp (RHSA-2018:1704)NessusRed Hat Local Security Checks
critical
110085RHEL 7 : librelp (RHSA-2018:1703)NessusRed Hat Local Security Checks
critical
110084RHEL 6 : librelp (RHSA-2018:1702)NessusRed Hat Local Security Checks
critical
110083RHEL 6 : librelp (RHSA-2018:1701)NessusRed Hat Local Security Checks
critical
109529CentOS 6 : librelp (CESA-2018:1225)NessusCentOS Local Security Checks
critical
109464Scientific Linux Security Update : librelp on SL7.x x86_64 (20180424)NessusScientific Linux Local Security Checks
critical
109340Scientific Linux Security Update : librelp on SL6.x i386/x86_64 (20180424)NessusScientific Linux Local Security Checks
critical
109339RHEL 6 : librelp (RHSA-2018:1225)NessusRed Hat Local Security Checks
critical
109337RHEL 7 : librelp (RHSA-2018:1223)NessusRed Hat Local Security Checks
critical
109333Oracle Linux 6 : librelp (ELSA-2018-1225)NessusOracle Linux Local Security Checks
critical
109331Oracle Linux 7 : librelp (ELSA-2018-1223)NessusOracle Linux Local Security Checks
critical
109235GLSA-201804-21 : librelp: Remote code executionNessusGentoo Local Security Checks
critical
109180Amazon Linux 2 : librelp (ALAS-2018-998)NessusAmazon Linux Local Security Checks
critical
108912Fedora 26 : librelp (2018-6f2df5ab6c)NessusFedora Local Security Checks
critical
108911Fedora 27 : librelp (2018-2f9d3604d6)NessusFedora Local Security Checks
critical
108710Ubuntu 14.04 LTS : librelp vulnerability (USN-3612-1)NessusUbuntu Local Security Checks
critical
108684SUSE SLES12 Security Update : librelp (SUSE-SU-2018:0828-1)NessusSuSE Local Security Checks
critical
108682openSUSE Security Update : librelp (openSUSE-2018-319)NessusSuSE Local Security Checks
critical
108656SUSE SLES12 Security Update : librelp (SUSE-SU-2018:0822-1)NessusSuSE Local Security Checks
critical
108611Debian DSA-4151-1 : librelp - security updateNessusDebian Local Security Checks
critical