Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 202003-44 ] Binary diff
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index News & Announcements
View previous topic :: View next topic  
Author Message

Joined: 12 May 2004
Posts: 2308

PostPosted: Thu Mar 19, 2020 10:26 pm    Post subject: [ GLSA 202003-44 ] Binary diff Reply with quote

Gentoo Linux Security Advisory

Title: Binary diff: Heap-based buffer overflow (GLSA 202003-44)
Severity: high
Exploitable: local, remote
Date: 2020-03-19
Bug(s): #701848
ID: 202003-44


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


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

Affected Packages

Package: dev-util/bsdiff
Vulnerable: < 4.3-r4
Unaffected: >= 4.3-r4
Architectures: All supported architectures


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.


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.


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"


Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index News & Announcements All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum