Out-of-Bounds Affecting libsepol package, versions <0:2.5-10.amzn2.0.1


medium

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 0.07% (30th percentile)
Expand this section
NVD
3.3 low
Expand this section
Red Hat
3.3 low

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-AMZN2-LIBSEPOL-6016208
  • published 20 Oct 2023
  • disclosed 1 Jul 2021

How to fix?

Upgrade Amazon-Linux:2 libsepol to version 0:2.5-10.amzn2.0.1 or higher.
This issue was patched in ALAS2-2023-2307.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libsepol package and not the libsepol package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

The CIL compiler in SELinux 3.2 has a heap-based buffer over-read in ebitmap_match_any (called indirectly from cil_check_neverallow). This occurs because there is sometimes a lack of checks for invalid statements in an optional block.