Heap-based Buffer Overflow Affecting sox package, versions <14.4.2-r10


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.34% (72nd 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-ALPINE321-SOX-8489632
  • published6 Dec 2024
  • disclosed14 Apr 2022

Introduced: 14 Apr 2022

CVE-2021-40426  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Alpine:3.21 sox to version 14.4.2-r10 or higher.

NVD Description

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

A heap-based buffer overflow vulnerability exists in the sphere.c start_read() functionality of Sound Exchange libsox 14.4.2 and master commit 42b3557e. A specially-crafted file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.

CVSS Scores

version 3.1