The generate_local_queue function in utils/cups-browsed.c in cups-browsed in cups-filters before 1.0.53 allows remote IPP printers to execute arbitrary commands via shell metacharacters in the host name. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-2707.
http://openwall.com/lists/oss-security/2014/06/19/12
http://openwall.com/lists/oss-security/2014/04/25/7
http://bzr.linuxfoundation.org/loggerhead/openprinting/cups-filters/revision/7194