Improper Neutralization of Special Elements in Output Used by a Downstream Component in nrpe - CVE-2020-6581

 

Improper Neutralization of Special Elements in Output Used by a Downstream Component in nrpe - CVE-2020-6581

Published: March 16, 2020 / Updated: December 11, 2020


Vulnerability identifier: #VU48930
CSH Severity: High
CVSS v4: 8.5 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-6581
CWE-ID: CWE-74
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote authenticated user to execute arbitrary code.

Nagios NRPE 3.2.1 has Insufficient Filtering because, for example, nasty_metachars interprets as the character and the character n (not as the newline sequence). This can cause command injection.


Affected software

nrpe
nrpe (Alpine package)
nrpe
Fedora

How to mitigate CVE-2020-6581

Install update from vendor's website.

nrpe - addressed in versions 4.0.2-1.el6, 4.0.2-1.el7, 4.0.2-2.el8, 4.0.2-2.fc32

External References

Related Security Bulletins