Bug 345091 - (CVE-2007-4351) CVE-2007-4351 cups boundary error
CVE-2007-4351 cups boundary error
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
: Security
Depends On: 353981 353991 356541 356551 356561 361661 361671 361681 362971
  Show dependency treegraph
Reported: 2007-10-22 08:29 EDT by Tomas Hoger
Modified: 2010-02-23 23:19 EST (History)
3 users (show)

See Also:
Fixed In Version: 1.3.4-2.fc8
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-11-08 01:03:38 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Patch for CUPS 1.1 by Michael Sweet (3.72 KB, patch)
2007-10-23 06:02 EDT, Tomas Hoger
no flags Details | Diff
Patch for CUPS 1.2 by Michael Sweet (3.78 KB, patch)
2007-10-23 06:05 EDT, Tomas Hoger
no flags Details | Diff
Patch for CUPS 1.3 by Michael Sweet (3.78 KB, patch)
2007-10-23 06:06 EDT, Tomas Hoger
no flags Details | Diff

  None (edit)
Description Tomas Hoger 2007-10-22 08:29:15 EDT
Alin Rad Pop of the Secunia Research has discovered a vulnerability in CUPS,
which can be exploited by malicious people to compromise a vulnerable system.

The vulnerability is caused due to a boundary error within the
"ippReadIO()" function in cups/ipp.c when processing IPP (Internet
Printing Protocol) tags. This can be exploited to overwrite one byte on
the stack with a zero by sending an IPP request containing specially
crafted "textWithLanguage" or "nameWithLanguage" tags.

Successful exploitation allows execution of arbitrary code.


Red Hat would like to thank Alin Rad Pop for reporting this issue.
Comment 2 Tomas Hoger 2007-10-23 06:02:56 EDT
Created attachment 234891 [details]
Patch for CUPS 1.1 by Michael Sweet
Comment 3 Tomas Hoger 2007-10-23 06:05:06 EDT
Created attachment 234901 [details]
Patch for CUPS 1.2 by Michael Sweet
Comment 4 Tomas Hoger 2007-10-23 06:06:06 EDT
Created attachment 234911 [details]
Patch for CUPS 1.3 by Michael Sweet
Comment 5 Tomas Hoger 2007-10-24 04:52:44 EDT
CUPS 1.1 is not affected by "one null byte overwrite" mentioned in Secunia
advisory, that part only affects CUPS 1.2+.  Attacker can only overwrite memory
location 2^16 bytes away from current stack location towards the bottom of the

Patch for CUPS 1.1 adds additional checks on input values.  Without them, it may
still be possible to trick cupsd to read some random data from stack and
possibly crash daemon.
Comment 11 Mark J. Cox (Product Security) 2007-10-31 07:11:25 EDT
now public, removing embargo
Comment 15 Fedora Update System 2007-11-08 01:03:30 EST
cups-1.3.4-2.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.