Out-of-Bounds Affecting samtools/htslib package, versions [,1.9)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.22% (61st 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-UNMANAGED-SAMTOOLSHTSLIB-2369380
  • published26 Jan 2022
  • disclosed10 Jul 2018
  • creditUnknown

Introduced: 10 Jul 2018

CVE-2018-13845  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade samtools/htslib to version 1.9 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. An issue has been found in HTSlib 1.8. It is a buffer over-read in sam_parse1 in sam.c.

CVSS Scores

version 3.1