Advisory Published
Updated

REDHAT-BUG-1221641

First published: Thu May 14 2015(Updated: )

The following flaw was found in CUPS: Cupsd uses reference-counted strings with global scope. When parsing a print job request, cupsd over-decrements the reference count for a string from the request. As a result, an attacker can prematurely free an arbitrary string of global scope. They can use this to dismantle ACLs protecting privileged operations, and upload a replacement configuration file, and subsequently run arbitrary code on a target machine. This bug is exploitable in default configurations, and does not require any special permissions other than the basic ability to print. Acknowledgements: Red Hat would like to thank the CERT/CC for reporting this issue.

Affected SoftwareAffected VersionHow to fix
CUPS

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of REDHAT-BUG-1221641?

    The severity of REDHAT-BUG-1221641 is classified as high due to its potential to lead to arbitrary code execution.

  • How do I fix REDHAT-BUG-1221641?

    To fix REDHAT-BUG-1221641, you should update your CUPS installation to the latest version that addresses this vulnerability.

  • What versions of CUPS are affected by REDHAT-BUG-1221641?

    REDHAT-BUG-1221641 affects specific versions of CUPS that include the flawed implementation of reference-counted strings.

  • Can REDHAT-BUG-1221641 be exploited remotely?

    Yes, REDHAT-BUG-1221641 can be exploited remotely if an attacker can send a crafted print job request.

  • What impact does REDHAT-BUG-1221641 have on system security?

    The impact of REDHAT-BUG-1221641 on system security includes the possibility of an attacker executing arbitrary code on the affected system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203