GLSA-202003-44 : Binary diff: Heap-based buffer overflow

high Nessus Plugin ID 134730


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-202003-44 (Binary diff: Heap-based buffer overflow)

It was discovered that the implementation of bspatch did not check for a negative value on numbers of bytes read from the diff and extra streams.
Impact :

A remote attacker could entice a user to apply a specially crafted patch using bspatch, possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition.
Workaround :

There is no known workaround at this time.


All Binary diff users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-util/bsdiff-4.3-r4'

See Also

Plugin Details

Severity: High

ID: 134730

File Name: gentoo_GLSA-202003-44.nasl

Version: 1.3

Type: local

Published: 3/20/2020

Updated: 3/21/2024

Supported Sensors: Nessus

Risk Information


Risk Factor: Medium

Score: 5.9


Risk Factor: High

Base Score: 7.2

Temporal Score: 5.3

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2014-9862


Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:bsdiff, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Ease: No known exploits are available

Patch Publication Date: 3/19/2020

Vulnerability Publication Date: 7/22/2016

Reference Information

CVE: CVE-2014-9862

GLSA: 202003-44