Executive Summary



This Alert is flagged as TOP 25 Common Weakness Enumeration from CWE/SANS. For more information, you can read this.
Summary
Title Binary diff: Heap-based buffer overflow
Informations
Name GLSA-202003-44 First vendor Publication 2020-03-19
Vendor Gentoo Last vendor Modification 2020-03-19
Severity (Vendor) N/A Revision N/A

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:L/AC:L/Au:N/C:C/I:C/A:C)
Cvss Base Score 7.2 Attack Range Local
Cvss Impact Score 10 Attack Complexity Low
Cvss Expoit Score 3.9 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Synopsis

A heap-based buffer overflow in Binary diff might allow remote attackers to execute arbitrary code.

Background

bsdiff and bspatch are tools for building and applying patches to binary files.

Description

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.

Resolution

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

References

[ 1 ] CVE-2014-9862 : https://nvd.nist.gov/vuln/detail/CVE-2014-9862

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website:

https://security.gentoo.org/glsa/202003-44

Original Source

Url : http://security.gentoo.org/glsa/glsa-202003-44.xml

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-190 Integer Overflow or Wraparound (CWE/SANS Top 25)

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 2
Os 109

Snort® IPS/IDS

Date Description
2018-07-31 FreeBSD bspatch utility remote code execution attempt
RuleID : 47048 - Revision : 1 - Type : FILE-OTHER
2018-07-31 FreeBSD bspatch utility remote code execution attempt
RuleID : 47047 - Revision : 1 - Type : FILE-OTHER
2017-07-06 FreeBSD bspatch utility remote code execution attempt
RuleID : 43108 - Revision : 1 - Type : FILE-OTHER
2017-07-06 FreeBSD bspatch utility remote code execution attempt
RuleID : 43107 - Revision : 1 - Type : FILE-OTHER

Nessus® Vulnerability Scanner

Date Description
2016-11-04 Name : The remote Debian host is missing a security update.
File : debian_DLA-697.nasl - Type : ACT_GATHER_INFO
2016-08-12 Name : The remote FreeBSD host is missing one or more security-related updates.
File : freebsd_pkg_7d4f4955600a11e6a6c314dae9d210b8.nasl - Type : ACT_GATHER_INFO
2016-08-08 Name : The remote openSUSE host is missing a security update.
File : openSUSE-2016-946.nasl - Type : ACT_GATHER_INFO
2016-07-21 Name : The remote host is missing a Mac OS X security update that fixes multiple vul...
File : macosx_10_11_6.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
Date Informations
2020-03-19 21:17:36
  • First insertion