FreeBSD libarchive NULL pointer pax denial of service
| freebsd-libarchive-null-pax-dos (35404) |
Description:
The FreeBSD libarchive library is vulnerable to a denial of service, caused by a NULL pointer dereference. By persuading a victim to open a specially-crafted archive file with a malicious pax extension header, a remote attacker could exploit this vulnerability to cause the application to enter into an infinite loop, resulting in a denial of service.
Platforms Affected:
- Debian, Debian Linux 4.0
- FreeBSD, FreeBSD 5.5
- FreeBSD, FreeBSD 6.1
- FreeBSD, FreeBSD 6.2
- FreeBSD, libarchive 2.2.3
- Gentoo, Linux
- SuSE, SuSE Linux
Remedy:
Refer to FreeBSD-SA-07:05.libarchive for patch, upgrade, or suggested workaround information. See References.
For Gentoo Linux (libarchive):
Refer to GLSA 200708-03 for patch, upgrade, or suggested workaround information. See References.
For SUSE Linux:
Refer to SUSE-SR:2007:015 for patch, upgrade, or suggested workaround information. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
Consequences:
Denial of Service
References:
- FreeBSD-SA-07:05.libarchive , Errors handling corrupt tar files in libarchive(3) at http://security.freebsd.org/advisories/FreeBSD-SA-07:05.libarchive.asc.
- libarchive Web page, libarchive, bsdtar, pkg_add at http://people.freebsd.org/~kientzle/libarchive/.
- BID-24885: 'libarchive' Multiple Remote Vulnerabilities
- CVE-2007-3645: archive_read_support_format_tar.c in libarchive before 2.2.4 allows user-assisted remote attackers to cause a denial of service (crash) via (1) an end-of-file condition within a tar header that follows a pax extension header or (2) a malformed pax extension header in an (a) PAX or a (b) TAR archive, which results in a NULL pointer dereference, a different issue than CVE-2007-3644.
- DSA-1455: libarchive -- denial of service
- GLSA-200708-03: libarchive (formerly named as bsdtar): Multiple PaX Extension Header Vulnerabilities
- SA26050: libarchive pax Extension Header Denial of Service and Buffer Overflow
- SECTRACK ID: 1018379: libarchive Tar/Pax Processing Bugs Let Remote Users Deny Service or Execute Arbitrary Code
- SUSE-SR:2007:015: SUSE Security Summary Report
- VUPEN/ADV-2007-2521: Libarchive Pax Extension Header Processing Code Execution and DoS Vulnerabilities
Reported:
Jul 12, 2007
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
