PT-2021-11159 · Freebsd · Freebsd

Mateusz Guzik

·

Published

2021-02-24

·

Updated

2022-07-12

·

CVE-2020-25582

CVSS v3.1

8.7

High

VectorAV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions: FreeBSD versions 12.2-STABLE before r369334 FreeBSD versions 11.4-STABLE before r369335 FreeBSD versions 12.2-RELEASE before p4 FreeBSD versions 11.4-RELEASE before p8
Description: The issue occurs when a process, such as jexec(8) or killall(1), calls jail attach(2) to enter a jail. In this scenario, the jailed root can attach to it using ptrace(2) before the current working directory is changed.
Recommendations: For FreeBSD versions 12.2-STABLE before r369334, update to a version after r369334. For FreeBSD versions 11.4-STABLE before r369335, update to a version after r369335. For FreeBSD versions 12.2-RELEASE before p4, update to a version after p4. For FreeBSD versions 11.4-RELEASE before p8, update to a version after p8.

Fix

Race Condition

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2020-25582
FREEBSD-SA-21_05

Affected Products

Freebsd