Cloudanix VulnDB

CVE-2010-0624

None

CVSS

—

EPSS

4.7%

Published

Mar 15, 2010

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A problem in tools that handle remote archive files can let attackers crash programs or take control of a system when certain archive names are used.

Exploit Available
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Moderate
Impact
Remote Code Execution
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Heap-based buffer overflow in rmt_read__ in lib/rtapelib.c allows remote rmt servers to corrupt memory or execute arbitrary code when an archive filename contains a colon and more data than requested is sent.

Why it matters to the business

Systems relying on affected archive tools for remote operations face risk of service disruption or full compromise; urgency is low given age and stable low exploit probability but organizations packaging older GNU tar or cpio must prioritize upgrades to avoid lingering exposure in build or backup pipelines.

How an attack unfolds

An attacker hosts a malicious rmt server and induces a vulnerable client (tar or cpio) to connect using an archive path containing a colon; the server then responds with excess data that overflows the heap buffer in rmt_read__, enabling memory corruption or code execution.

How to fix it

Upgrade GNU tar to 1.23 or later and GNU cpio to 2.11 or later. For listed packages apply the exact fixed versions: logstash-jre-bcfips to 8.12.2-r1, logstash-jre-bcfips-compat to 8.12.2-r1, logstash-jre-bcfips-env2yaml to 8.12.2-r1, and logstash-jre-bcfips-with-output-opensearch to 8.12.2-r1. Disable remote rmt functionality where unnecessary.

How to confirm the fix worked

Confirm tar version >=1.23 and cpio >=2.11 via --version output; verify package manifests report the listed fixed versions; test archive operations with colon-containing names against a controlled rmt endpoint.

Typical attack path

  1. Identify or coerce use of tar/cpio with remote rmt via archive name containing ':'
  2. Position malicious rmt server to receive the connection
  3. Send oversized response exceeding requested data length
  4. Trigger heap overflow leading to denial of service or arbitrary code execution

How to detect it

Search process execution logs and command history for tar or cpio invocations referencing rmt or colon-containing paths; inspect core dumps or memory corruption indicators from archive operations; review network traffic to unexpected rmt ports.

What your security team should do

  • Immediately inventory all systems for GNU tar <1.23 or cpio <2.11 and schedule upgrades
  • Apply the precise package fixes provided for the affected distributions
  • Review backup and build scripts for rmt usage and restrict to trusted servers only
  • Monitor EPSS and exploit availability for any change in risk posture

The record

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.

Affected packages

Ecosystem Package Introduced Fixed
Debian:10 cpio 0 2.11-1
Debian:10 tar 0 1.23-1
Debian:11 cpio 0 2.11-1
Debian:11 tar 0 1.23-1
Debian:12 cpio 0 2.11-1
Debian:12 tar 0 1.23-1
Debian:13 cpio 0 2.11-1
Debian:13 tar 0 1.23-1
Red Hat:enterprise_linux:3::as cpio 0 0:2.5-6.RHEL3
Red Hat:enterprise_linux:3::as cpio-debuginfo 0 0:2.5-6.RHEL3
Red Hat:enterprise_linux:3::as tar 0 0:1.13.25-16.RHEL3
Red Hat:enterprise_linux:3::as tar-debuginfo 0 0:1.13.25-16.RHEL3
Red Hat:enterprise_linux:3::desktop cpio 0 0:2.5-6.RHEL3
Red Hat:enterprise_linux:3::desktop cpio-debuginfo 0 0:2.5-6.RHEL3
Red Hat:enterprise_linux:3::desktop tar 0 0:1.13.25-16.RHEL3
Red Hat:enterprise_linux:3::desktop tar-debuginfo 0 0:1.13.25-16.RHEL3
Red Hat:enterprise_linux:3::es cpio 0 0:2.5-6.RHEL3
Red Hat:enterprise_linux:3::es cpio-debuginfo 0 0:2.5-6.RHEL3
Red Hat:enterprise_linux:3::es tar 0 0:1.13.25-16.RHEL3
Red Hat:enterprise_linux:3::es tar-debuginfo 0 0:1.13.25-16.RHEL3
Red Hat:enterprise_linux:3::ws cpio 0 0:2.5-6.RHEL3
Red Hat:enterprise_linux:3::ws cpio-debuginfo 0 0:2.5-6.RHEL3
Red Hat:enterprise_linux:3::ws tar 0 0:1.13.25-16.RHEL3
Red Hat:enterprise_linux:3::ws tar-debuginfo 0 0:1.13.25-16.RHEL3
Red Hat:enterprise_linux:4::as cpio 0 0:2.5-16.el4_8.1
Red Hat:enterprise_linux:4::as cpio-debuginfo 0 0:2.5-16.el4_8.1
Red Hat:enterprise_linux:4::as tar 0 0:1.14-13.el4_8.1
Red Hat:enterprise_linux:4::as tar-debuginfo 0 0:1.14-13.el4_8.1
Red Hat:enterprise_linux:4::desktop cpio 0 0:2.5-16.el4_8.1
Red Hat:enterprise_linux:4::desktop cpio-debuginfo 0 0:2.5-16.el4_8.1
Red Hat:enterprise_linux:4::desktop tar 0 0:1.14-13.el4_8.1
Red Hat:enterprise_linux:4::desktop tar-debuginfo 0 0:1.14-13.el4_8.1
Red Hat:enterprise_linux:4::es cpio 0 0:2.5-16.el4_8.1
Red Hat:enterprise_linux:4::es cpio-debuginfo 0 0:2.5-16.el4_8.1
Red Hat:enterprise_linux:4::es tar 0 0:1.14-13.el4_8.1
Red Hat:enterprise_linux:4::es tar-debuginfo 0 0:1.14-13.el4_8.1
Red Hat:enterprise_linux:4::ws cpio 0 0:2.5-16.el4_8.1
Red Hat:enterprise_linux:4::ws cpio-debuginfo 0 0:2.5-16.el4_8.1
Red Hat:enterprise_linux:4::ws tar 0 0:1.14-13.el4_8.1
Red Hat:enterprise_linux:4::ws tar-debuginfo 0 0:1.14-13.el4_8.1
Red Hat:enterprise_linux:5::client cpio 0 0:2.6-23.el5_4.1
Red Hat:enterprise_linux:5::client cpio-debuginfo 0 0:2.6-23.el5_4.1
Red Hat:enterprise_linux:5::client tar 0 2:1.15.1-23.0.1.el5_4.2
Red Hat:enterprise_linux:5::client tar-debuginfo 0 2:1.15.1-23.0.1.el5_4.2
Red Hat:enterprise_linux:5::server cpio 0 0:2.6-23.el5_4.1
Red Hat:enterprise_linux:5::server cpio-debuginfo 0 0:2.6-23.el5_4.1
Red Hat:enterprise_linux:5::server tar 0 2:1.15.1-23.0.1.el5_4.2
Red Hat:enterprise_linux:5::server tar-debuginfo 0 2:1.15.1-23.0.1.el5_4.2
Ubuntu:14.04:LTS cpio 0 2.11+dfsg-1ubuntu1.1
openSUSE:Tumbleweed cpio 0 2.12-3.90
openSUSE:Tumbleweed tar 0 1.29-2.1

Related vulnerabilities