Out-of-bounds Write Affecting hoene/libmysofa package, versions [,0.9)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.31% (70th 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-HOENELIBMYSOFA-2367262
  • published26 Jan 2022
  • disclosed27 Dec 2019
  • creditUnknown

Introduced: 27 Dec 2019

CVE-2019-20016  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade hoene/libmysofa to version 0.9 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write libmysofa before 2019-11-24 does not properly restrict recursive function calls, as demonstrated by reports of stack consumption in readOHDRHeaderMessageDatatype in dataobject.c and directblockRead in fractalhead.c. NOTE: a download of v0.9 after 2019-12-06 should fully remediate this issue.

CVSS Scores

version 3.1