Vulnerability identifier: #VU61907
Vulnerability risk: Low
CVSSv3.1: 6.8 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-367
Exploitation vector: Local
Exploit availability: No
Vulnerable software:
FreeBSD
Operating systems & Components /
Operating system
Vendor: FreeBSD Foundation
Description
The vulnerability allows a local user to bypass implemented security restrictions.
The vulnerability exists due to a race condition in netmap. The total size of the user-provided nmreq to nmreq_copyin() function was first computed and then trusted during the copyin operation. A local user can trigger a race condition, which can lead to memory corruption and code execution. The vulnerability can be used to escape jail environment.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
FreeBSD: 12.0 - 13.1
External links
http://www.freebsd.org/security/advisories/FreeBSD-SA-22:04.netmap.asc
http://www.zerodayinitiative.com/advisories/ZDI-22-1291/
Can this vulnerability be exploited remotely?
No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.