nrpe: Multiple vulnerabilities (CVE-2020-6581, CVE-2020-6582)
CVE-2020-6581: insufficient filtering and incorrect parsing of the configuration file may lead to command injection
Nagios NRPE 3.2.1 has Insufficient Filtering because, for example, nasty_metachars interprets \n as the character \ and the character n (not as the \n newline sequence). This can cause command injection.
References:
- https://herolab.usd.de/security-advisories/usd-2020-0002/
- https://security-tracker.debian.org/tracker/CVE-2020-6581
CVE-2020-6582: heap-based buffer overflow due to a wrong integer type conversion
Nagios NRPE 3.2.1 has a Heap-Based Buffer Overflow, as demonstrated by interpretation of a small negative number as a large positive number during a bzero call.
References:
- https://herolab.usd.de/security-advisories/usd-2020-0001/
- https://nvd.nist.gov/vuln/detail/CVE-2020-6582
Affected branches:
-
master -
3.12-stable -
3.11-stable -
3.10-stable -
3.9-stable
Edited by Leo