Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-31AD2F10-7711-11EB-B87A-901B0EF719AB (CVE-2020-25581): FreeBSD -- jail_remove(2) fails to kill all jailed processes

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

FreeBSD: VID-31AD2F10-7711-11EB-B87A-901B0EF719AB (CVE-2020-25581): FreeBSD -- jail_remove(2) fails to kill all jailed processes

Severity
9
CVSS
(AV:N/AC:M/Au:S/C:C/I:C/A:C)
Published
02/24/2021
Created
02/27/2021
Added
02/25/2021
Modified
04/05/2021

Description

Details for this vulnerability have not been published by NIST at this point. Descriptions from software vendor advisories for this issue are provided below.

From VID-31AD2F10-7711-11EB-B87A-901B0EF719AB:

Problem Description:

Due to a race condition in the jail_remove(2) implementation, it

may fail to kill some of the processes.

Impact:

A process running inside a jail can avoid being killed during jail

termination. If a jail is subsequently started with the same root

path, a lingering jailed process may be able to exploit the window

during which a devfs filesystem is mounted but the jail's devfs

ruleset has not been applied, to access device nodes which are

ordinarily inaccessible. If the process is privileged, it may be able

to escape the jail and gain full access to the system.

Solution(s)

  • freebsd-upgrade-base-11_4-release-p8
  • freebsd-upgrade-base-12_2-release-p4

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;