Bug 1111510 (CVE-2014-4337)

Summary: CVE-2014-4337 cups-filters: cups-browsed DoS via process_browse_data() OOB read
Product: [Other] Security Response Reporter: Tomas Hoger <thoger>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: grocha, jpopelka, twaugh
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: cups-filters 1.0.53 Doc Type: Bug Fix
Doc Text:
An out-of-bounds read flaw was found in the way the process_browse_data() function of cups-browsed handled certain browse packets. A remote attacker could send a specially crafted browse packet that, when processed by cups-browsed, would crash the cups-browsed daemon.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-20 10:45:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1136053, 1150516    
Bug Blocks: 1091571    

Description Tomas Hoger 2014-06-20 08:13:32 UTC
Sebastian Krahmer of SUSE reported an out of bounds read flaw in the way cups-browsed handled browse packets.  A specially crafted packet could cause cups-browsed read behind the end of the buffer that stores incoming packet and possibly crash.  The issue was fixed upstream in version 1.0.53 as part of the following commit, which also fixes CVE-2014-4336 (bug 1091565):

http://bzr.linuxfoundation.org/loggerhead/openprinting/cups-filters/revision/7194

The flaw is in process_browse_data(), which fails to properly check packet length while parsing browse packet.

The original report in SUSE/Novell bugzilla:

https://bugzilla.novell.com/show_bug.cgi?id=871327

Comment 1 Tomas Hoger 2014-06-20 08:14:51 UTC
All supported Fedora versions are already updated to upstream version 1.0.53 or later and hence are no longer affected by this issue.

Comment 8 Martin Prpič 2014-10-29 15:36:26 UTC
IssueDescription:

An out-of-bounds read flaw was found in the way the process_browse_data() function of cups-browsed handled certain browse packets. A remote attacker could send a specially crafted browse packet that, when processed by cups-browsed, would crash the cups-browsed daemon.

Comment 10 errata-xmlrpc 2014-11-03 18:30:02 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2014:1795 https://rhn.redhat.com/errata/RHSA-2014-1795.html