CVE-2010-0624 Memory corruption in n/a

Medium 6.8 Published Updated

Remote rmt servers can trigger a heap buffer overflow in GNU tar/cpio clients, potentially allowing arbitrary code execution or denial of service.

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

CVE-2010-0624 is a medium-severity memory corruption vulnerability in n/a, published on 12 Mar 2010. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Heap-based buffer overflow in the rmt_read__ function in lib/rtapelib.c in the rmt client functionality in GNU tar before 1.23 and GNU cpio before 2.11 allows remote rmt servers to cause a denial of service (memory corruption) or possibly execute arbitrary code by sending more data than was requested, related to archive filenames that contain a : (colon) character.

Weakness: CWE-119

Which versions are affected by CVE-2010-0624?

It affects 2 products.

Linux distribution packages (16)
tar Red Hat:enterprise_linux:3::asAll versions0:1.13.25-16.RHEL3
tar-debuginfo Red Hat:enterprise_linux:3::asAll versions0:1.13.25-16.RHEL3
tar Red Hat:enterprise_linux:3::desktopAll versions0:1.13.25-16.RHEL3
tar-debuginfo Red Hat:enterprise_linux:3::desktopAll versions0:1.13.25-16.RHEL3
tar Red Hat:enterprise_linux:3::esAll versions0:1.13.25-16.RHEL3
tar-debuginfo Red Hat:enterprise_linux:3::esAll versions0:1.13.25-16.RHEL3
tar Red Hat:enterprise_linux:3::wsAll versions0:1.13.25-16.RHEL3
tar-debuginfo Red Hat:enterprise_linux:3::wsAll versions0:1.13.25-16.RHEL3
cpio Red Hat:enterprise_linux:4::asAll versions0:2.5-16.el4_8.1
cpio-debuginfo Red Hat:enterprise_linux:4::asAll versions0:2.5-16.el4_8.1
cpio Red Hat:enterprise_linux:4::desktopAll versions0:2.5-16.el4_8.1
cpio-debuginfo Red Hat:enterprise_linux:4::desktopAll versions0:2.5-16.el4_8.1
cpio Red Hat:enterprise_linux:4::esAll versions0:2.5-16.el4_8.1
cpio-debuginfo Red Hat:enterprise_linux:4::esAll versions0:2.5-16.el4_8.1
cpio Red Hat:enterprise_linux:4::wsAll versions0:2.5-16.el4_8.1
cpio-debuginfo Red Hat:enterprise_linux:4::wsAll versions0:2.5-16.el4_8.1

Products include Gnu Cpio, Gnu Tar.

How do I fix CVE-2010-0624?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2010-0624 being exploited?

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

Sources

Also known as DEBIAN-CVE-2010-0624, GHSA-27jj-5xgw-m6qw, RHSA-2010:0142, RHSA-2010:0143.

Is CVE-2010-0624 in your software?

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

Check your SBOMs for free