{"id":"CVE-2020-6581","aliases":["ALPINE-CVE-2020-6581","DEBIAN-CVE-2020-6581","EUVD-2020-27729","GHSA-cvrp-qf9f-rq8m","MGASA-2020-0247","UBUNTU-CVE-2020-6581"],"status":"published","title":"Nagios NRPE 3.2.1 has Insufficient Filtering because, for example, nasty_metachars interprets \\n...","description":"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.","severity":{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01612,"percentile":0.76158,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-74"],"published":"2020-03-16T17:13:00Z","modified":"2026-10-26T12:02:51Z","fixes":[{"ecosystem":"Alpine:v3.13","package":"nrpe","fixed_in":["4.0.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"nrpe","fixed_in":["4.0.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"nrpe","fixed_in":["4.0.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"nrpe","fixed_in":["4.0.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"nrpe","fixed_in":["4.0.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"nrpe","fixed_in":["4.0.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"nrpe","fixed_in":["4.0.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"nrpe","fixed_in":["4.0.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"nrpe","fixed_in":["4.0.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"nrpe","fixed_in":["4.0.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"nrpe","fixed_in":["4.0.0-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"nagios-nrpe","fixed_in":["4.0.0-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"nagios-nrpe","fixed_in":["4.0.0-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"nagios-nrpe","fixed_in":["4.0.0-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.13","package":"nrpe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"nrpe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"nrpe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"nrpe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"nrpe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"nrpe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"nrpe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"nrpe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"nrpe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"nrpe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"nrpe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"nagios-nrpe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"nagios-nrpe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"nagios-nrpe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0-1"}]}]},{"source":"osv","ecosystem":"Mageia:7","package":"nrpe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.1-3.2.mga7"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"nagios-nrpe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.2.0-4ubuntu2","3.2.1-1ubuntu1"]}],"products":[{"vendor":"fedoraproject","product":"fedora"},{"vendor":"nagios","product":"remote_plug_in_executor"}],"references":[{"url":"https://herolab.usd.de/security-advisories/","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://herolab.usd.de/security-advisories/usd-2020-0002/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","advisory","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2DNGKXVDB43E3KQRA6W5QZT3Z46XZLQM/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-6581"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2DNGKXVDB43E3KQRA6W5QZT3Z46XZLQM/"},{"url":"https://github.com/advisories/GHSA-cvrp-qf9f-rq8m"},{"url":"https://security.alpinelinux.org/vuln/CVE-2020-6581","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-6581","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2020-0247.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=26482","tags":["report"]},{"url":"https://herolab.usd.de/security-advisories/usd-2020-0001/","tags":["advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/4HL6LSLRKKPUIY2PIWFGZ7QMM7FKARMR/","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2020-6581","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-6581","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-6581","description":"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.","status":"published","published":"2020-03-16T17:13:00Z","modified":"2024-08-04T09:11:04.935Z","updated_at":"2026-11-02T14:35:52.592504Z"}],"euvd":[{"id":"EUVD-2020-27729","description":"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.","status":"published","published":"2020-03-16T17:13:00Z","modified":"2024-08-04T09:11:04Z","updated_at":"2026-11-03T03:08:02.022514Z"}],"ghsa":[{"id":"GHSA-cvrp-qf9f-rq8m","title":"Nagios NRPE 3.2.1 has Insufficient Filtering because, for example, nasty_metachars interprets \\n...","description":"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.","status":"published","published":"2022-05-24T17:11:39Z","modified":"2023-01-29T05:01:44Z","cwes":["CWE-74"],"updated_at":"2026-11-02T14:44:53.993473Z"}],"nvd":[{"id":"CVE-2020-6581","description":"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.","status":"published","published":"2020-03-16T18:15:12.867Z","modified":"2026-06-17T03:23:38.583Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":3.7,"vector":"AV:L/AC:H/Au:N/C:P/I:P/A:P","level":"low","assessor":"primary"}],"updated_at":"2026-11-02T14:05:56.580228Z"}],"osv":[{"id":"ALPINE-CVE-2020-6581","description":"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.","status":"published","published":"2020-03-16T18:15:12.867Z","modified":"2026-10-26T11:17:55.179087594Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:27:48.11886Z"},{"id":"CVE-2020-6581","description":"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.","status":"published","published":"2020-03-16T18:15:12.867Z","modified":"2026-10-24T10:30:50.431573829Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:17.34531Z"},{"id":"DEBIAN-CVE-2020-6581","description":"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.","status":"published","published":"2020-03-16T18:15:12.867Z","modified":"2026-10-26T12:02:51.945646635Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:34.311861Z"},{"id":"UBUNTU-CVE-2020-6581","description":"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.","status":"published","published":"2020-03-16T18:15:00Z","modified":"2025-10-24T04:48:18Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:25.728622Z"},{"id":"MGASA-2020-0247","title":"Updated nrpe packages fix security vulnerability","description":"Updated nrpe packages fix security vulnerabilities:\n\nNagios NRPE 3.2.1 has Insufficient Filtering because, for example,\nnasty_metachars interprets \\n as the character \\ and the character n\n(not as the \\n newline sequence). This can cause command injection\n(CVE-2020-6581).\n\nNagios NRPE 3.2.1 has a Heap-Based Buffer Overflow, as demonstrated by\ninterpretation of a small negative number as a large positive number\nduring a bzero call (CVE-2020-6582).\n","status":"published","published":"2020-06-10T22:26:12Z","modified":"2026-04-16T04:43:58.438242418Z","updated_at":"2026-11-02T15:49:41.151324Z"}]}}
