Integer Overflow or Wraparound Affecting sox package, versions *


Severity

Recommended
0.0
low
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.06% (28th 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-CENTOS7-SOX-1997028
  • published26 Jul 2021
  • disclosed6 Aug 2019

Introduced: 6 Aug 2019

CVE-2019-13590  (opens in a new tab)
CWE-190  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

There is no fixed version for Centos:7 sox.

NVD Description

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

An issue was discovered in libsox.a in SoX 14.4.2. In sox-fmt.h (startread function), there is an integer overflow on the result of integer addition (wraparound to 0) fed into the lsx_calloc macro that wraps malloc. When a NULL pointer is returned, it is used without a prior check that it is a valid pointer, leading to a NULL pointer dereference on lsx_readbuf in formats_i.c.

CVSS Scores

version 3.1