OSV-2021-891 Heap-buffer-overflow in __cil_cat_expr_range_to_bitmap_helper
A heap buffer overflow in the SELinux policy compiler allows attackers to cause denial of service or potentially execute code via crafted policy expressions.
- 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-891?
OSV-2021-891 is a memory corruption vulnerability in selinux, published on 24 Jun 2021.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35492
Crash type: Heap-buffer-overflow READ 4
Crash state:
__cil_cat_expr_range_to_bitmap_helper
__cil_expr_to_bitmap
__evaluate_cat_expression
Which versions are affected by OSV-2021-891?
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-891?
No fix has been published for OSV-2021-891 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-891 being exploited?
There is no known exploitation of OSV-2021-891 in the wild and no public exploit code.