GNU cpio: Multiple vulnerabilities — GLSA 201502-11

Two vulnerabilities have been found in GNU cpio, the worst of which could result in execution of arbitrary code.

Affected packages

app-arch/cpio on all architectures
Affected versions < 2.11-r3
Unaffected versions >= 2.11-r3

Background

GNU cpio copies files into or out of a cpio or tar archive.

Description

Two vulnerabilities have been discovered in GNU cpio:

  • The list_file function in GNU cpio contains a heap-based buffer overflow vulnerability (CVE-2014-9112)
  • A directory traversal vulnerability has been found in GNU cpio (CVE-2015-1197)

Impact

A remote attacker may be able to entice a user to open a specially crafted archive using GNU cpio, possibly resulting in execution of arbitrary code, a Denial of Service condition, or overwriting arbitrary files.

Workaround

There is no known workaround at this time.

Resolution

All GNU cpio users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=app-arch/cpio-2.11-r3"
 

References

Release date
February 15, 2015

Latest revision
February 15, 2015: 1

Severity
normal

Exploitable
remote

Bugzilla entries