Out-of-bounds Read Affecting libsndfile package, versions <0:1.0.28-12.el8


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.5% (77th percentile)

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 IDSNYK-RHEL8-LIBSNDFILE-4249033
  • published23 Dec 2021
  • disclosed13 Apr 2021

Introduced: 13 Apr 2021

CVE-2021-4156  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade RHEL:8 libsndfile to version 0:1.0.28-12.el8 or higher.
This issue was patched in RHSA-2022:1968.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libsndfile package and not the libsndfile package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

An out-of-bounds read flaw was found in libsndfile's FLAC codec functionality. An attacker who is able to submit a specially crafted file (via tricking a user to open or otherwise) to an application linked with libsndfile and using the FLAC codec, could trigger an out-of-bounds read that would most likely cause a crash but could potentially leak memory information that could be used in further exploitation of other flaws.

CVSS Scores

version 3.1