OSV-2021-585 Heap-buffer-overflow in ebitmap_match_any

Not scored Published

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-585?

OSV-2021-585 is a memory corruption vulnerability in selinux, published on 31 Mar 2021.

Official description

OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32675

Crash type: Heap-buffer-overflow READ 8
Crash state:
ebitmap_match_any
avtab_map
cil_check_neverallow

Which versions are affected by OSV-2021-585?

1 open source package ship an affected version, including selinux.

PackageAffectedFixed in
selinux OSS-FuzzAll versionsNone

How do I fix OSV-2021-585?

No fix has been published for OSV-2021-585 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-585 being exploited?

There is no known exploitation of OSV-2021-585 in the wild and no public exploit code.

Sources

Is OSV-2021-585 in your software?

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

Check your SBOMs for free