CVE-2010-0302 Use after free in n/a

High 7.5 Published Updated

Remote attackers can crash the CUPS daemon via a use-after-free in job listing when kqueue or epoll is enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2010-0302?

CVE-2010-0302 is a high-severity use after free vulnerability in Apple Cups, published on 5 Mar 2010. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-416

Which versions are affected by CVE-2010-0302?

It affects 10 products.

Linux distribution packages (12)
cups Red Hat:enterprise_linux:5::clientAll versions1:1.3.7-11.el5_4.6
cups-debuginfo Red Hat:enterprise_linux:5::clientAll versions1:1.3.7-11.el5_4.6
cups-libs Red Hat:enterprise_linux:5::clientAll versions1:1.3.7-11.el5_4.6
cups-lpd Red Hat:enterprise_linux:5::clientAll versions1:1.3.7-11.el5_4.6
cups Red Hat:enterprise_linux:5::client_workstationAll versions1:1.3.7-11.el5_4.6
cups-debuginfo Red Hat:enterprise_linux:5::client_workstationAll versions1:1.3.7-11.el5_4.6
cups-devel Red Hat:enterprise_linux:5::client_workstationAll versions1:1.3.7-11.el5_4.6
cups Red Hat:enterprise_linux:5::serverAll versions1:1.3.7-11.el5_4.6
cups-debuginfo Red Hat:enterprise_linux:5::serverAll versions1:1.3.7-11.el5_4.6
cups-devel Red Hat:enterprise_linux:5::serverAll versions1:1.3.7-11.el5_4.6
cups-libs Red Hat:enterprise_linux:5::serverAll versions1:1.3.7-11.el5_4.6
cups-lpd Red Hat:enterprise_linux:5::serverAll versions1:1.3.7-11.el5_4.6

Products include Apple Cups, Apple Mac Os X, Apple Mac Os X Server, Canonical Ubuntu Linux, Fedoraproject Fedora, Redhat Enterprise Linux and 4 more.

How do I fix CVE-2010-0302?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2010-0302 being exploited?

There is no known exploitation of CVE-2010-0302 in the wild and no public exploit code.

All Apple Cups vulnerabilities

Sources

Also known as DEBIAN-CVE-2010-0302, GHSA-f4w3-fh2q-326p, RHSA-2010:0129.

Is CVE-2010-0302 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free