Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 551142 (CVE-2015-0839)

Summary: <net-print/hplip-3.15.7: hp-plugin verified binary download with short key ID
Product: Gentoo Security Reporter: Agostino Sarubbo <ago>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED FIXED    
Severity: minor CC: billie, printing
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugzilla.redhat.com/show_bug.cgi?id=1227252
Whiteboard: B3 [noglsa]
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2015-06-04 07:15:40 UTC
From ${URL} :

It was reported that the hp-plugin utility, included in the hplip package, downloads a binary 
driver and verifies it via a key specified by the key's short ID:

Downloading plug-in: [\                                   ] 0% Receiving digital keys: /bin/gpg 
--homedir /home/test/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 
0xA59047B9

A man-in-the-middle attacker could use this flaw to generate a key with the expected short ID and 
trick a user into downloading a malicious binary.

Original report:

http://seclists.org/oss-sec/2015/q2/581


@maintainer(s): after the bump, in case we need to stabilize the package, please let us know if it is ready for the stabilization or not.
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2016-11-22 17:31:08 UTC
In the new release of HPLIP, 3.15.7, upstream has changed the verification to be based on fingerprint instead of key id, see https://bugs.launchpad.net/hplip/+bug/1432516/comments/7

v3.15.7 landed in Gentoo repository via https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-print/hplip/hplip-3.15.7.ebuild?view=log

Current stable version is =net-print/hplip-3.16.3, vulnerable versions are already removed.


@ Security: Please vote!
Comment 2 Aaron Bauman (RETIRED) gentoo-dev 2016-11-23 14:25:04 UTC
GLSA Vote: No