OSV-2021-902 Heap-buffer-overflow in ebitmap_match_any
A heap-buffer-overflow in the SELinux policy compiler allows attackers to cause denial of service or potentially execute code via crafted policy files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2021-902?
OSV-2021-902 is a memory corruption vulnerability in selinux, published on 27 Jun 2021.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35553
Crash type: Heap-buffer-overflow READ 8
Crash state:
ebitmap_match_any
avtab_map
cil_check_neverallow
Which versions are affected by OSV-2021-902?
1 open source package ship an affected version, including selinux.
| Package | Affected | Fixed in |
|---|---|---|
selinux OSS-Fuzz | All versions | None |
How do I fix OSV-2021-902?
No fix has been published for OSV-2021-902 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-902 being exploited?
There is no known exploitation of OSV-2021-902 in the wild and no public exploit code.