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

Critical 9.8 Published Updated

Remote attackers can cause denial of service or execute arbitrary code via crafted IPP requests due to improper memory allocation in CUPS.

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-2941?

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

Official description

ipp.c in cupsd in CUPS 1.4.4 and earlier does not properly allocate memory for attribute values with invalid string data types, which allows remote attackers to cause a denial of service (use-after-free and application crash) or possibly execute arbitrary code via a crafted IPP request.

Weakness: CWE-416

Which versions are affected by CVE-2010-2941?

It affects 13 products.

Linux distribution packages (24)
cups Red Hat:enterprise_linux:6::clientAll versions1:1.4.2-35.el6_0.1
cups-debuginfo Red Hat:enterprise_linux:6::clientAll versions1:1.4.2-35.el6_0.1
cups-devel Red Hat:enterprise_linux:6::clientAll versions1:1.4.2-35.el6_0.1
cups-libs Red Hat:enterprise_linux:6::clientAll versions1:1.4.2-35.el6_0.1
cups-lpd Red Hat:enterprise_linux:6::clientAll versions1:1.4.2-35.el6_0.1
cups-php Red Hat:enterprise_linux:6::clientAll versions1:1.4.2-35.el6_0.1
cups Red Hat:enterprise_linux:6::computenodeAll versions1:1.4.2-35.el6_0.1
cups-debuginfo Red Hat:enterprise_linux:6::computenodeAll versions1:1.4.2-35.el6_0.1
cups-devel Red Hat:enterprise_linux:6::computenodeAll versions1:1.4.2-35.el6_0.1
cups-libs Red Hat:enterprise_linux:6::computenodeAll versions1:1.4.2-35.el6_0.1
cups-lpd Red Hat:enterprise_linux:6::computenodeAll versions1:1.4.2-35.el6_0.1
cups-php Red Hat:enterprise_linux:6::computenodeAll versions1:1.4.2-35.el6_0.1
cups Red Hat:enterprise_linux:6::serverAll versions1:1.4.2-35.el6_0.1
cups-debuginfo Red Hat:enterprise_linux:6::serverAll versions1:1.4.2-35.el6_0.1
cups-devel Red Hat:enterprise_linux:6::serverAll versions1:1.4.2-35.el6_0.1
cups-libs Red Hat:enterprise_linux:6::serverAll versions1:1.4.2-35.el6_0.1
cups-lpd Red Hat:enterprise_linux:6::serverAll versions1:1.4.2-35.el6_0.1
cups-php Red Hat:enterprise_linux:6::serverAll versions1:1.4.2-35.el6_0.1
cups Red Hat:enterprise_linux:6::workstationAll versions1:1.4.2-35.el6_0.1
cups-debuginfo Red Hat:enterprise_linux:6::workstationAll versions1:1.4.2-35.el6_0.1
cups-devel Red Hat:enterprise_linux:6::workstationAll versions1:1.4.2-35.el6_0.1
cups-libs Red Hat:enterprise_linux:6::workstationAll versions1:1.4.2-35.el6_0.1
cups-lpd Red Hat:enterprise_linux:6::workstationAll versions1:1.4.2-35.el6_0.1
cups-php Red Hat:enterprise_linux:6::workstationAll versions1:1.4.2-35.el6_0.1

Products include Apple Cups, Apple Mac Os X, Apple Mac Os X Server, Canonical Ubuntu Linux, Debian Debian Linux, Fedoraproject Fedora and 7 more.

How do I fix CVE-2010-2941?

Apply the vendor's patch.

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-2941 being exploited?

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

All Apple Cups vulnerabilities

Sources

Also known as DEBIAN-CVE-2010-2941, GHSA-pp56-6c5p-hfmv, RHSA-2010:0866.

Is CVE-2010-2941 in your software?

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

Check your SBOMs for free