HPLIP: Multiple vulnerabilities — GLSA 201203-17

Multiple vulnerabilities have been found in HPLIP, the worst of which may allow execution of arbitrary code.

Affected Packages

net-print/hplip on all architectures
Affected versions < 3.11.10
Unaffected versions >= 3.11.10

Background

The Hewlett-Packard Linux Imaging and Printing system (HPLIP) provides drivers for HP's inkjet and laser printers, scanners and fax machines.

Description

Two vulnerabilities have been found in HPLIP:

  • The "hpmud_get_pml()" function in pml.c contains a boundary error which could cause a stack-based buffer overflow (CVE-2010-4267).
  • The "send_data_to_stdout()" function in hpcupsfax.cpp creates insecure temporary files (CVE-2011-2722).

Impact

A remote attacker might send specially crafted SNMP reponses, possibly resulting in execution of arbitrary code or a Denial of Service condition. Furthermore, a local attacker could perform symlink attacks to overwrite arbitrary files.

Workaround

There is no known workaround at this time.

Resolution

All HPLIP users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=net-print/hplip-3.11.10"
 

References

Release Date
March 16, 2012

Latest Revision
March 16, 2012: 1

Severity
high

Exploitable
local, remote

Bugzilla entries