CVE-2019-20384 in Gentoo Portage
Gentoo Portage through 2.3.84 allows local users to place a Trojan horse plugin in the /usr/lib64/nagios/plugins directory by leveraging access to the nagios user account, because this directory is writable in between a call to emake and a call to fowners.
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Gentoo | Portage | ≤ 2.3.84 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Gentoo Portage through 2.3.84 allows local users to place a Trojan horse plugin in the /usr/lib64/nagios/plugins directory by leveraging access to the nagios user account, because this directory is writable in between a call to emake and a call to fowners.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2019-20384 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-138044-M |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| Published | 2020-01-21 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-362: Race Condition
Software behavior depends on event timing that is not enforced, allowing attackers to exploit the timing window.
Related attack patterns (CAPEC)
CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions via CWE-362
CAPEC-26 Leveraging Race Conditions via CWE-362
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2019-20384 affects Gentoo Portage versions through 2.3.84, allowing local users to place malicious plugins in the Nagios plugins directory by exploiting writable permissions during a specific build process.
Local users with access to the nagios user account can place a Trojan horse plugin in the /usr/lib64/nagios/plugins directory due to the directory being writable between the emake and fowners calls during the build process of Gentoo Portage.
Questions
What is CVE-2019-20384?
CVE-2019-20384 affects Gentoo Portage versions through 2.3.84, allowing local users to place malicious plugins in the Nagios plugins directory by exploiting writable permissions during a specific build process.
What is the CVSS score for CVE-2019-20384?
CVE-2019-20384 has CVSS 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N. EPSS: 0.3%.
Is CVE-2019-20384 actively exploited?
No confirmed active exploitation of CVE-2019-20384 as of 2026-09-25.
How do I remediate CVE-2019-20384?
Priority: MEDIUM. Advisory: https://bugs.gentoo.org/692492 PSIRT: [email protected]
What systems are affected by CVE-2019-20384?
CVE-2019-20384 affects Gentoo Portage.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Gentoo","product":"Portage","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.