Every CVE Search/ Get API key

CVE-2020-6581

Nagios NRPE 3.2.1 has Insufficient Filtering because, for example, nasty_metachars interprets \n...

7.3 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

1.61%Up 0.8 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.3

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.

Record
CVE-2020-6581
CVSS 3.1
7.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
3.7 LowAV:L/AC:H/Au:N/C:P/I:P/A:P
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2020-6581
Updated
2026-11-02
EUVDEUVD-2020-27729 No score

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.

Record
EUVD-2020-27729
Updated
2026-11-03
GitHub AdvisoriesGHSA-cvrp-qf9f-rq8m No score

Nagios NRPE 3.2.1 has Insufficient Filtering because, for example, nasty_metachars interprets \n...

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.

Record
GHSA-cvrp-qf9f-rq8m
Weakness
CWE-74
Updated
2026-11-02
OSVALPINE-CVE-2020-6581 7.3

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.

Record
ALPINE-CVE-2020-6581
CVSS 3.1
7.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSV 7.3

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.

Record
CVE-2020-6581
CVSS 3.1
7.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2020-6581 7.3

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.

Record
DEBIAN-CVE-2020-6581
CVSS 3.1
7.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2020-6581 7.3

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.

Record
UBUNTU-CVE-2020-6581
CVSS 3.1
7.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2020-0247 No score

Updated nrpe packages fix security vulnerability

Updated nrpe packages fix security vulnerabilities:

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 (CVE-2020-6581).

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 (CVE-2020-6582).

Record
MGASA-2020-0247
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
nrpe
Alpine:v3.13
before 4.0.0-r0
4.0.0-r0
nrpe
Alpine:v3.14
before 4.0.0-r0
4.0.0-r0
nrpe
Alpine:v3.15
before 4.0.0-r0
4.0.0-r0
nrpe
Alpine:v3.16
before 4.0.0-r0
4.0.0-r0
nrpe
Alpine:v3.18
before 4.0.0-r0
4.0.0-r0
nrpe
Alpine:v3.19
before 4.0.0-r0
4.0.0-r0
nrpe
Alpine:v3.20
before 4.0.0-r0
4.0.0-r0
nrpe
Alpine:v3.21
before 4.0.0-r0
4.0.0-r0
nrpe
Alpine:v3.22
before 4.0.0-r0
4.0.0-r0
nrpe
Alpine:v3.23
before 4.0.0-r0
4.0.0-r0
Show 6 moreShow less
Affected packages
PackageAffectedFixed
nrpe
Alpine:v3.24
before 4.0.0-r0
4.0.0-r0
nagios-nrpe
Debian:12
before 4.0.0-1
4.0.0-1
nagios-nrpe
Debian:13
before 4.0.0-1
4.0.0-1
nagios-nrpe
Debian:14
before 4.0.0-1
4.0.0-1
nrpe
Mageia:7
before 3.2.1-3.2.mga7
3.2.1-3.2.mga7
nagios-nrpe
Ubuntu:18.04:LTS
All versions, plus listed versions
3.2.0-4ubuntu23.2.1-1ubuntu1
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-6581 is a high vulnerability (CVSS 7.3) in Fedoraproject Fedora, published March 16, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.61%, the 76th percentile. Fixed in nrpe 4.0.0-r0.

References

Show 8 moreShow less
MoveEnter Open