The add_job function in scheduler/ipp.c in cupsd in CUPS before 2.0.3 performs incorrect free operations for multiple-value job-originating-host-name attributes, which allows remote attackers to trigger data corruption for reference-counted strings via a crafted (1) IPP_CREATE_JOB or (2) IPP_PRINT_JOB request, as demonstrated by replacing the configuration file and consequently executing arbitrary code.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Cups | Cups | * | 2.0.2 (including) |
Red Hat Enterprise Linux 6 | RedHat | cups-1:1.4.2-67.el6_6.1 | * |
Red Hat Enterprise Linux 7 | RedHat | cups-1:1.6.3-17.el7_1.1 | * |
Cups | Ubuntu | devel | * |
Cups | Ubuntu | precise | * |
Cups | Ubuntu | trusty | * |
Cups | Ubuntu | utopic | * |
Cups | Ubuntu | vivid | * |
Cups | Ubuntu | vivid/stable-phone-overlay | * |