Buffer Overflow Affecting bsdiff4 package, versions [,1.2.0)


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
0.09% (39th 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-PYTHON-BSDIFF4-590064
  • published23 Jul 2020
  • disclosed23 Jul 2020
  • creditUnknown

Introduced: 23 Jul 2020

CVE-2020-15904  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade bsdiff4 to version 1.2.0 or higher.

Overview

bsdiff4 is a binary diff and patch using the BSDIFF4-format

Affected versions of this package are vulnerable to Buffer Overflow. A buffer overflow in the patching routine of bsdiff4 allows an attacker to write to heap memory (beyond allocated bounds) via a crafted patch file.

References

CVSS Scores

version 3.1