7.8high
Potential jail escape vulnerabilities in netmap
- Severity
- 7.8high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.21% (higher than 6% of CVEs)
- Published
- Last changed
- Assigned by
- freebsd
Description
The total size of the user-provided nmreq to nmreq_copyin() was first computed and then trusted during the copyin. This time-of-check to time-of-use bug could lead to kernel memory corruption. On systems configured to include netmap in their devfs_ruleset, a privileged process running in a jail can affect the host environment.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| FreeBSD FreeBSD | from 13.1-RC1 before p1, from 13.0-RELEASE before p11, from 12.3-RELEASE before p5, from 13.1-rc1 before p1, from 13.0-release before p11, from 12.3-release before p5, from 12.0 before 12.3, 12.3 and 1 more | CVE List, NVD |
All scores
| CISA-ADP | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
The total size of the user-provided nmreq to nmreq_copyin() was first computed and then trusted during the copyin. This time-of-check to time-of-use bug could lead to kernel memory corruption. On systems configured to include netmap in their devfs_ruleset, a privileged process running in a jail can affect the host environment.
NVD (es)
El tamaño total del nmreq proporcionado por el usuario a nmreq_copyin() se calculó primero y luego se confió en él durante la copia. Este error de tiempo de verificación a tiempo de uso podría provocar daños en la memoria del kernel. En sistemas configurados para incluir netmap en su devfs_ruleset, un proceso privilegiado que se ejecuta en una cárcel puede afectar el entorno del host.
References
| https://security.freebsd.org/advisories/FreeBSD-SA-22:04.netmap.asc | vendor-advisory | |
| https://security.netapp.com/advisory/ntap-20240419-0003/ | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-23084 changed 2025-02-13 | CVE Terms of Use |
| NVD | CVE-2022-23084 changed 2026-06-17 | Public domain |