Multiple vulnerabilities have been identified in Libarchive, which could be exploited by attackers to cause a denial of service or execute arbitrary code.
The first issue is caused by an infinite loop when handling an archive that prematurely ends within a pax extension header or when certain types of corruption occur in pax extension headers, which could be exploited by attackers to create a denial of service condition.
The second vulnerability is caused by a NULL pointer dereference when handling an archive that prematurely ends within a tar header immediately following a pax extension header or when certain other types of corruption occur in pax extension headers, which could be exploited by attackers to crash an affected application, creating a denial of service condition.
The third issue buffer overflow error when processing a malformed pax extension header, which could be exploited by attackers to execute arbitrary code via a specially crafted archive.
Credits
Vulnerabilities reported by CPNI, CERT-FI, Tim Kientzle and Colin Percival.
ChangeLog
2007-07-13 : Initial release
Vulnerability Management
Subscribe to FrSIRT VNS and receive real-time e-mail and SMS alerts when new vulnerabilities, exploits, or patches relevant to your systems and network configurations are available.
Feedback
If you have additional information or corrections for this security advisory please submit them via our contact form or by email to updates@frsirt.com.