Missing Release of Resource after Effective Lifetime Affecting htslib package, versions <1.9-2


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
1.45% (74th 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-DEBIANUNSTABLE-HTSLIB-286182
  • published11 Jul 2018
  • disclosed10 Jul 2018

Introduced: 10 Jul 2018

CVE-2018-13843  (opens in a new tab)
CWE-772  (opens in a new tab)

How to fix?

Upgrade Debian:unstable htslib to version 1.9-2 or higher.

NVD Description

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

An issue has been found in HTSlib 1.8. It is a memory leak in bgzf_getline in bgzf.c. NOTE: the software maintainer's position is that the "failure to free memory" can be fixed in applications that use the HTSlib library (such as test/test_bgzf.c in the original report) and is not a library issue