CVE-2020-25582 Race condition in FreeBSD

High 8.7 Published Updated

A race condition in FreeBSD allows a jailed root to escape the jail via ptrace before the working directory changes, leading to privilege escalation.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2020-25582?

CVE-2020-25582 is a high-severity vulnerability in Freebsd Freebsd, published on 26 Mar 2021. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

In FreeBSD 12.2-STABLE before r369334, 11.4-STABLE before r369335, 12.2-RELEASE before p4 and 11.4-RELEASE before p8 when a process, such as jexec(8) or killall(1), calls jail_attach(2) to enter a jail, the jailed root can attach to it using ptrace(2) before the current working directory is changed.

Weakness: CWE-362

Which versions are affected by CVE-2020-25582?

It affects 1 product.

Products include Freebsd Freebsd.

How do I fix CVE-2020-25582?

No fix has been published for CVE-2020-25582 yet. Limit exposure of the affected software until one is available.

Is CVE-2020-25582 being exploited?

There is no known exploitation of CVE-2020-25582 in the wild and no public exploit code.

All Freebsd Freebsd vulnerabilities

Sources

Also known as GHSA-2jmw-7gh4-3h48.

Is CVE-2020-25582 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free