Skip to content
OpenAdvisories
Unscored Public exploit CVE-2018-1000140 EUVD-2018-1858GHSA-m73v-c2p6-943p

rsyslog librelp version 1.2.14 and earlier contains a Buffer Overflow vulnerability in the checking of x509 certificates from a peer that c…

Published Mar 23, 2018 · Updated Aug 5, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 librelp 1.2.15-1 —
Debian 13 librelp 1.2.15-1 —
Debian 12 librelp 1.2.15-1 —
Debian 9 librelp 1.2.12-1+deb9u1 DSA-4151-1
Debian 8 librelp 1.2.7-2+deb8u1 DSA-4151-1
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS librelp 1.2.2-2ubuntu1.1 USN-3612-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS librelp 1.2.14-3ubuntu0.1~esm1 USN-4828-1
Ubuntu Pro 16.04 LTS librelp 1.2.9-1ubuntu0.1~esm1 USN-4828-1
ReleasePackageFixed inAdvisory
RHEL 7 librelp +1 1.2.12-1.el7_5.1 RHSA-2018:1223
RHEL 6 librelp +1 1.2.7-3.el6_9.1 RHSA-2018:1225
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 7.4 EUS librelp +1 1.2.12-1.el7_4.1 RHSA-2018:1704
RHEL 7.3 EUS librelp +1 1.2.0-4.el7_3 RHSA-2018:1707
RHEL 7.2 TUS librelp +1 1.2.0-4.el7_2 RHSA-2018:1703
RHEL 7.2 E4S librelp +1 1.2.0-4.el7_2 RHSA-2018:1703
RHEL 7.2 AUS librelp +1 1.2.0-4.el7_2 RHSA-2018:1703
RHEL 6.7 EUS librelp +1 1.2.7-3.el6_7.1 RHSA-2018:1702
RHEL 6.6 TUS librelp +1 1.2.7-3.el6_6.1 RHSA-2018:1701
RHEL 6.6 AUS librelp +1 1.2.7-3.el6_6.1 RHSA-2018:1701
ReleasePackageFixed inAdvisory
SLES 12 SP5 librelp 1.2.15-3.6.3 SUSE-SU-2022:1891-1
SLES 12 SP4 librelp 1.2.15-3.6.3 SUSE-SU-2022:1891-1
SLES 12 SP3 librelp 1.2.12-3.3.1 SUSE-SU-2022:1891-1, SUSE-SU-2018:0822-1
SLES 12 SP2 librelp 1.2.7-3.3.1 SUSE-SU-2018:0828-1
SLES 12 SP1 librelp 1.2.7-3.3.1 SUSE-SU-2018:0828-1
Show 12 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 librelp 1.2.7-3.3.1 SUSE-SU-2018:0828-1
SLES for SAP 12 SP5 librelp 1.2.15-3.6.3 SUSE-SU-2022:1891-1
SLES for SAP 12 SP4 librelp 1.2.15-3.6.3 SUSE-SU-2022:1891-1
SLES for SAP 12 SP3 librelp 1.2.12-3.3.1 SUSE-SU-2022:1891-1, SUSE-SU-2018:0822-1
SLES for SAP 12 SP2 librelp 1.2.7-3.3.1 SUSE-SU-2018:0828-1
SLES for SAP 12 SP1 librelp 1.2.7-3.3.1 SUSE-SU-2018:0828-1
SUSE OpenStack Cloud Crowbar 9 librelp 1.2.15-3.6.3 SUSE-SU-2022:1891-1
SUSE OpenStack Cloud Crowbar 8 librelp 1.2.15-3.6.3 SUSE-SU-2022:1891-1
SUSE OpenStack Cloud 9 librelp 1.2.15-3.6.3 SUSE-SU-2022:1891-1
SUSE OpenStack Cloud 8 librelp 1.2.15-3.6.3 SUSE-SU-2022:1891-1
SUSE OpenStack Cloud 6 librelp 1.2.7-3.3.1 SUSE-SU-2018:0828-1
SUSE HPE Helion OpenStack 8 librelp 1.2.15-3.6.3 SUSE-SU-2022:1891-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 librelp +1 1.2.12-1.amzn2.0.1 ALAS2-2018-998

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 librelp +1 1.2.12-1.el7_5.1 ELSA-2018-1223

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 15

References