Off-by-one Error Affecting libsndfile package, versions <0:1.2.2-3.amzn2023.0.1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.1% (45th 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-AMZN2023-LIBSNDFILE-6476722
  • published22 Mar 2024
  • disclosed18 Jul 2023

Introduced: 18 Jul 2023

CVE-2022-33064  (opens in a new tab)
CWE-193  (opens in a new tab)
CWE-96  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 libsndfile to version 0:1.2.2-3.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2024-572.

NVD Description

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

An off-by-one error in function wav_read_header in src/wav.c in Libsndfile 1.1.0, results in a write out of bound, which allows an attacker to execute arbitrary code, Denial of Service or other unspecified impacts.

CVSS Base Scores

version 3.1