CVE-2022-23084: Netmap - Privilege Escalation
- Cve: CVE-2022-23084
- Name: Netmap - Privilege Escalation
- 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.
- Impact: Kernel memory corruption and potential host environment compromise by privileged jail processes.
- Remediation: Update to the latest version of netmap that addresses this vulnerability or apply relevant patches.
- Vulnerability type: race_condition
- Vulnerability impact: privilege_escalation
- Requirement type: admin_privileges
- Requirements: Attacker needs privileged process in a jail with netmap in devfs_ruleset
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
- Epss score: 0.00243
- Epss percentile: 0.15614
- Assignee: [email protected]
- Published at: 2024-02-15T05:15:08Z
- Age in days: 1013
- Modified at: 2026-06-17T04:29:28Z
- Patch available: yes
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-23084
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-367 | Time-of-check Time-of-use (TOCTOU) Race Condition |
References
| Url | Source | Tags |
|---|---|---|
| https://security.freebsd.org/advisories/FreeBSD-SA-22:04.netmap.asc | nvd | Vendor Advisory |
| https://security.netapp.com/advisory/ntap-20240419-0003/ | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| freebsd:freebsd | = 13.0; = 13.0 beta1; = 13.0 beta2; = 13.0 beta3; = 13.0 beta3-p1; = 13.0 beta4; = 13.0 p1; = 13.0 p10; = 13.0 p2; = 13.0 p3; = 13.0 p4; = 13.0 p5; = 13.0 p6; = 13.0 p7; = 13.0 p8; = 13.0 p9; = 13.0 rc1; = 13.0 rc2; = 13.0 rc3; = 13.0 rc4; = 13.0 rc5; = 13.0 rc5-p1; = 12.3; = 12.3 p1; = 12.3 p2; = 12.3 p3; = 12.3 p4; >= 12.0, < 12.3 | no | nvd | /v1/products/freebsd/freebsd |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 164903
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports