CVE-2010-0302: Use After Free

Published Jan 22, 2010
·
Updated

Description of problem: CVE-2009-3553 (bug #530111) has not been completely fixed.

Version-Release number of selected component (if applicable): Versions known to be affected:

cups-1.3.7-11.el54.5 (RHEL-5.4.z) cups-1.3.7-16.el5 (RHEL-5)

Additional info: The cause is that the cupsdDoSelect() function uses one of several implementations depending on the underlying select/poll capabilities of the operating system. For kqueue and epoll implementations, cupsdRemoveSelect() does not immediately decrease the reference count for the file descriptor and instead adds it to the cupsdinactivefds array. File descriptors in that array are finally dereferenced in cupsdStopSelect() (i.e. program termination).

In Red Hat Enterprise Linux, the epoll implementation is used.

The previous fix for CVE-2009-3553 was to check that another reference was held for the file descriptor before calling the writecb function; however, that will always be the case for both the epoll and kqueue implementations.

The correct fix is to check whether the file descriptor is in the cupsdinactivefds array before calling the writecb function.

Other sources

Use-after-free vulnerability in the abstract file-descriptor handling interface in the cupsdDoSelect function in scheduler/select.c in the scheduler in cupsd in CUPS before 1.4.4, when kqueue or epoll is used, allows remote attackers to cause a denial of service (daemon crash or hang) via a client disconnection during listing of a large number of print jobs, related to improperly maintaining a reference count. NOTE: some of these details are obtained from third party information. NOTE: this vulnerability exists because of an incomplete fix for CVE-2009-3553.

Red Hat

Affected Software

19 affected componentsFixes available
redhat/cups<1:1.3.7-11.el5_4.6
1:1.3.7-11.el5_4.6
Apple CUPS=1.3.9
Apple CUPS=1.4.1
Apple CUPS=1.3.10
Apple CUPS=1.3.7
Apple CUPS<1.4.4
Apple Mac OS X Server<10.5.8
Apple Mac OS X Server>=10.6.0<10.6.4
Fedoraproject Fedora=11
Canonical Ubuntu Linux=6.06
Canonical Ubuntu Linux=8.04
Canonical Ubuntu Linux=8.10
Canonical Ubuntu Linux=9.04
Canonical Ubuntu Linux=9.10
redhat Enterprise Linux=5.0
redhat Enterprise Linux Desktop=5.0
redhat Enterprise Linux Eus=5.4
redhat Enterprise Linux Server=5.0
redhat Enterprise Linux Workstation=5.0

Event History

Jan 22, 2010
Data Sourced
via Red Hat·03:00 PM
DescriptionSeverityAffected Software
Mar 3, 2010
CVE Published
via Red Hat·12:00 AM
Mar 5, 2010
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
Data Sourced
via NVD·07:30 PM
RemedyDescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2010-0302?

CVE-2010-0302 is classified as a high severity vulnerability due to its potential to cause denial of service.

2

How do I fix CVE-2010-0302?

To mitigate CVE-2010-0302, upgrade to CUPS version 1.4.4 or later.

3

Which versions are affected by CVE-2010-0302?

CVE-2010-0302 affects CUPS versions prior to 1.4.4, including 1.3.7 to 1.4.1.

4

What is the impact of CVE-2010-0302?

The impact of CVE-2010-0302 is a denial of service that may crash or hang the CUPS daemon.

5

Who can exploit CVE-2010-0302?

CVE-2010-0302 can be exploited by remote attackers who have access to connect to the CUPS service.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203