CVE-2022-23084
JSON

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 packageVersionsReported by
FreeBSD FreeBSDfrom 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 moreCVE List, NVD

All scores

CISA-ADP7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H

Classification

CWE-367

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

Sources

SourceRecordLicence
CVE ListCVE-2022-23084 changed 2025-02-13CVE Terms of Use
NVDCVE-2022-23084 changed 2026-06-17Public domain