Bug 564368 (CVE-2010-0624) - CVE-2010-0624 tar, cpio: Heap-based buffer overflow by expanding a specially-crafted archive
Summary: CVE-2010-0624 tar, cpio: Heap-based buffer overflow by expanding a specially-...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2010-0624
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 568023 568024 568025 568026 568030 568068 568069 568070 568071 568072 571842 571843 572149 572150 826654
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-12 14:47 UTC by Jan Lieskovsky
Modified: 2023-05-11 13:58 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-03-29 11:21:35 UTC
Embargoed:


Attachments (Terms of Use)
Patch to fix rtapelib overflow (556 bytes, patch)
2010-02-22 14:49 UTC, Ondrej Vasik
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2010:0141 0 normal SHIPPED_LIVE Moderate: tar security update 2010-03-15 23:55:29 UTC
Red Hat Product Errata RHSA-2010:0142 0 normal SHIPPED_LIVE Moderate: tar security update 2010-03-16 00:19:54 UTC
Red Hat Product Errata RHSA-2010:0143 0 normal SHIPPED_LIVE Moderate: cpio security update 2010-03-16 00:40:27 UTC
Red Hat Product Errata RHSA-2010:0144 0 normal SHIPPED_LIVE Moderate: cpio security update 2010-03-16 01:15:17 UTC
Red Hat Product Errata RHSA-2010:0145 0 normal SHIPPED_LIVE Moderate: cpio security update 2010-03-16 01:37:21 UTC

Description Jan Lieskovsky 2010-02-12 14:47:47 UTC
A heap-based buffer overflow flaw was found in the way tar and 
cpio archive manipulation tools expanded archives with certain
character in the archive name. If a local user was tricked into
expanding a specially-crafted archive, it could cause the tar,
cpio executables to crash or, potentially, to execute arbitrary
code with the privileges of the user running the utility.

Link to advisory:
  [1] http://www.agrs.tu-berlin.de/index.php?id=78327 

Acknowledgements:

Red Hat would like to thank Jakob Lell for responsibly reporting
this issue.

Comment 13 Ondrej Vasik 2010-02-22 14:49:47 UTC
Created attachment 395483 [details]
Patch to fix rtapelib overflow

This simple twoliner patch should fix the issue.

Comment 25 Jan Lieskovsky 2010-03-10 12:15:35 UTC
Public now via [1], removing embargo.

Comment 28 Fedora Update System 2010-03-10 13:27:14 UTC
tar-1.22-16.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/tar-1.22-16.fc13

Comment 29 Fedora Update System 2010-03-10 13:42:07 UTC
tar-1.22-12.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/tar-1.22-12.fc12

Comment 30 Fedora Update System 2010-03-10 13:42:14 UTC
tar-1.22-5.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/tar-1.22-5.fc11

Comment 31 Fedora Update System 2010-03-10 14:36:10 UTC
cpio-2.10-5.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/cpio-2.10-5.fc12

Comment 32 Fedora Update System 2010-03-10 14:36:29 UTC
cpio-2.10-6.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/cpio-2.10-6.fc13

Comment 33 Fedora Update System 2010-03-10 14:48:52 UTC
cpio-2.9.90-8.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/cpio-2.9.90-8.fc11

Comment 34 Fedora Update System 2010-03-14 13:45:03 UTC
tar-1.22-16.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 35 errata-xmlrpc 2010-03-15 23:55:37 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 4
  Red Hat Enterprise Linux 5

Via RHSA-2010:0141 https://rhn.redhat.com/errata/RHSA-2010-0141.html

Comment 36 errata-xmlrpc 2010-03-16 00:20:02 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 3

Via RHSA-2010:0142 https://rhn.redhat.com/errata/RHSA-2010-0142.html

Comment 37 errata-xmlrpc 2010-03-16 00:40:37 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 4

Via RHSA-2010:0143 https://rhn.redhat.com/errata/RHSA-2010-0143.html

Comment 38 errata-xmlrpc 2010-03-16 01:15:28 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2010:0144 https://rhn.redhat.com/errata/RHSA-2010-0144.html

Comment 39 errata-xmlrpc 2010-03-16 01:37:28 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 3

Via RHSA-2010:0145 https://rhn.redhat.com/errata/RHSA-2010-0145.html

Comment 40 Fedora Update System 2010-03-16 23:16:08 UTC
tar-1.22-12.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 41 Fedora Update System 2010-03-16 23:18:53 UTC
cpio-2.10-5.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 42 Fedora Update System 2010-03-20 03:37:02 UTC
cpio-2.10-6.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 43 Fedora Update System 2010-03-27 00:57:32 UTC
cpio-2.9.90-8.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 44 Fedora Update System 2010-03-27 01:00:33 UTC
tar-1.22-5.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.