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.
References
Link Resource
http://packetstormsecurity.com/files/172829/librelp-Remote-Code-Execution.html
https://access.redhat.com/errata/RHSA-2018:1223 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1225 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1701 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1702 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1703 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1704 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1707 Third Party Advisory
https://github.com/rsyslog/librelp/blob/532aa362f0f7a8d037505b0a27a1df452f9bac9e/src/tcp.c#L1205 Patch Third Party Advisory
https://lgtm.com/rules/1505913226124/ Exploit Third Party Advisory
https://security.gentoo.org/glsa/201804-21 Third Party Advisory
https://usn.ubuntu.com/3612-1/ Third Party Advisory
https://www.debian.org/security/2018/dsa-4151 Third Party Advisory
http://packetstormsecurity.com/files/172829/librelp-Remote-Code-Execution.html
https://access.redhat.com/errata/RHSA-2018:1223 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1225 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1701 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1702 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1703 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1704 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1707 Third Party Advisory
https://github.com/rsyslog/librelp/blob/532aa362f0f7a8d037505b0a27a1df452f9bac9e/src/tcp.c#L1205 Patch Third Party Advisory
https://lgtm.com/rules/1505913226124/ Exploit Third Party Advisory
https://security.gentoo.org/glsa/201804-21 Third Party Advisory
https://usn.ubuntu.com/3612-1/ Third Party Advisory
https://www.debian.org/security/2018/dsa-4151 Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:rsyslog:librelp:*:*:*:*:*:*:*:*

Configuration 2 (hide)

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

Configuration 3 (hide)

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

Configuration 4 (hide)

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:*:*:*:*:*:*:*

History

21 Nov 2024, 03:39

Type Values Removed Values Added
References () http://packetstormsecurity.com/files/172829/librelp-Remote-Code-Execution.html - () http://packetstormsecurity.com/files/172829/librelp-Remote-Code-Execution.html -
References () https://access.redhat.com/errata/RHSA-2018:1223 - Third Party Advisory () https://access.redhat.com/errata/RHSA-2018:1223 - Third Party Advisory
References () https://access.redhat.com/errata/RHSA-2018:1225 - Third Party Advisory () https://access.redhat.com/errata/RHSA-2018:1225 - Third Party Advisory
References () https://access.redhat.com/errata/RHSA-2018:1701 - Third Party Advisory () https://access.redhat.com/errata/RHSA-2018:1701 - Third Party Advisory
References () https://access.redhat.com/errata/RHSA-2018:1702 - Third Party Advisory () https://access.redhat.com/errata/RHSA-2018:1702 - Third Party Advisory
References () https://access.redhat.com/errata/RHSA-2018:1703 - Third Party Advisory () https://access.redhat.com/errata/RHSA-2018:1703 - Third Party Advisory
References () https://access.redhat.com/errata/RHSA-2018:1704 - Third Party Advisory () https://access.redhat.com/errata/RHSA-2018:1704 - Third Party Advisory
References () https://access.redhat.com/errata/RHSA-2018:1707 - Third Party Advisory () https://access.redhat.com/errata/RHSA-2018:1707 - Third Party Advisory
References () https://github.com/rsyslog/librelp/blob/532aa362f0f7a8d037505b0a27a1df452f9bac9e/src/tcp.c#L1205 - Patch, Third Party Advisory () https://github.com/rsyslog/librelp/blob/532aa362f0f7a8d037505b0a27a1df452f9bac9e/src/tcp.c#L1205 - Patch, Third Party Advisory
References () https://lgtm.com/rules/1505913226124/ - Exploit, Third Party Advisory () https://lgtm.com/rules/1505913226124/ - Exploit, Third Party Advisory
References () https://security.gentoo.org/glsa/201804-21 - Third Party Advisory () https://security.gentoo.org/glsa/201804-21 - Third Party Advisory
References () https://usn.ubuntu.com/3612-1/ - Third Party Advisory () https://usn.ubuntu.com/3612-1/ - Third Party Advisory
References () https://www.debian.org/security/2018/dsa-4151 - Third Party Advisory () https://www.debian.org/security/2018/dsa-4151 - Third Party Advisory

12 Jun 2023, 07:15

Type Values Removed Values Added
References
  • (MISC) http://packetstormsecurity.com/files/172829/librelp-Remote-Code-Execution.html -

Information

Published : 2018-03-23 21:29

Updated : 2024-11-21 03:39


NVD link : CVE-2018-1000140

Mitre link : CVE-2018-1000140

CVE.ORG link : CVE-2018-1000140


JSON object : View

Products Affected

redhat

  • enterprise_linux_workstation
  • enterprise_linux_server_tus
  • enterprise_linux_server
  • enterprise_linux_server_eus
  • enterprise_linux_desktop
  • enterprise_linux_server_aus

debian

  • debian_linux

rsyslog

  • librelp

canonical

  • ubuntu_linux
CWE
CWE-787

Out-of-bounds Write