CVE-2020-25584 in Freebsd
In FreeBSD 13.0-STABLE before n245118, 12.2-STABLE before r369552, 11.4-STABLE before r369560, 13.0-RC5 before p1, 12.2-RELEASE before p6, and 11.4-RELEASE before p9, a superuser inside a FreeBSD jail configured with the non-default allow.mount permission could cause a race condition between the lookup of ".." and r...
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, high complexity, high privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Freebsd | Freebsd | 11.4 12.2 13.0 < 11.4 ≥ 12.0, < 12.2 |
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
In FreeBSD 13.0-STABLE before n245118, 12.2-STABLE before r369552, 11.4-STABLE before r369560, 13.0-RC5 before p1, 12.2-RELEASE before p6, and 11.4-RELEASE before p9, a superuser inside a FreeBSD jail configured with the non-default allow.mount permission could cause a race condition between the lookup of ".." and remounting a filesystem, allowing access to filesystem hierarchy outside of the jail.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2020-25584 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-079958-H |
| CVSS vector | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H |
| Published | 2021-04-07 |
| Last modified | 2024-11-21 |
| 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
A vulnerability in FreeBSD allows a superuser within a jail with the allow.mount permission to exploit a race condition, potentially gaining access to the filesystem hierarchy outside of the jail.
The attack involves a superuser inside a FreeBSD jail using the allow.mount permission to remount a filesystem while simultaneously accessing the '..' directory, leading to a race condition that can be exploited to escape the jail's filesystem restrictions.
Questions
What is CVE-2020-25584?
A vulnerability in FreeBSD allows a superuser within a jail with the allow.mount permission to exploit a race condition, potentially gaining access to the filesystem hierarchy outside of the jail.
What is the CVSS score for CVE-2020-25584?
CVE-2020-25584 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H. EPSS: 0.2%.
Is CVE-2020-25584 actively exploited?
No confirmed active exploitation of CVE-2020-25584 as of 2026-05-30.
How do I remediate CVE-2020-25584?
Priority: HIGH. Advisory: https://security.FreeBSD.org/advisories/FreeBSD-SA-21:10.jail_mount.asc PSIRT: [email protected]
What systems are affected by CVE-2020-25584?
CVE-2020-25584 affects Freebsd Freebsd.
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":"Freebsd","product":"Freebsd","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 2024-11-21.