Memory Leak Affecting audiofile-devel package, versions <1:0.3.6-10.amzn2


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.38% (73rd 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 Learn

Learn about Memory Leak vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2-AUDIOFILEDEVEL-3367557
  • published22 Mar 2023
  • disclosed24 Feb 2022

Introduced: 24 Feb 2022

CVE-2022-24599  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 audiofile-devel to version 1:0.3.6-10.amzn2 or higher.
This issue was patched in ALAS2-2023-1997.

NVD Description

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

In autofile Audio File Library 0.3.6, there exists one memory leak vulnerability in printfileinfo, in printinfo.c, which allows an attacker to leak sensitive information via a crafted file. The printfileinfo function calls the copyrightstring function to get data, however, it dosn't use zero bytes to truncate the data.

CVSS Scores

version 3.1