Out-of-bounds Write Affecting procps-ng package, versions [,3.3.15)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
1.86% (79th 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 Learn

Learn about Out-of-bounds Write vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PROCPSNG-2380356
  • published26 Jan 2022
  • disclosed23 May 2018
  • creditUnknown

Introduced: 23 May 2018

CVE-2018-1125  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade procps-ng to version 3.3.15 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write procps-ng before version 3.3.15 is vulnerable to a stack buffer overflow in pgrep. This vulnerability is mitigated by FORTIFY, as it involves strncat() to a stack-allocated string. When pgrep is compiled with FORTIFY (as on Red Hat Enterprise Linux and Fedora), the impact is limited to a crash.

CVSS Base Scores

version 3.1