Stack-based Buffer Overflow Affecting librelp package, versions <0:1.2.12-1.el7_5.1


Severity

Recommended
critical

Based on CentOS security rating.

Threat Intelligence

EPSS
9.34% (96th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS7-LIBRELP-2101589
  • published26 Jul 2021
  • disclosed23 Mar 2018

Introduced: 23 Mar 2018

CVE-2018-1000140  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade Centos:7 librelp to version 0:1.2.12-1.el7_5.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream librelp package and not the librelp package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

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.