OSV-2021-413 UNKNOWN WRITE in sudo_user_free
A memory corruption vulnerability in sudo allows local attackers to potentially execute arbitrary code or escalate privileges.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2021-413?
OSV-2021-413 is a memory corruption vulnerability in sudoers, published on 18 Feb 2021. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31042
Crash type: UNKNOWN WRITE
Crash state:
sudo_user_free
sudoers_policy_close
fuzz_policy.c
Which versions are affected by OSV-2021-413?
1 open source package ship an affected version, including sudoers.
| Package | Affected | Fixed in |
|---|---|---|
sudoers OSS-Fuzz | All versions | None |
How do I fix OSV-2021-413?
No fix has been published for OSV-2021-413 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is OSV-2021-413 being exploited?
There is no known exploitation of OSV-2021-413 in the wild and no public exploit code.