A heap-based buffer overflow in cpio might allow a remote rmt server to execute arbitrary code or cause a Denial of Service condition.
|Package||app-arch/cpio on all architectures|
|Affected versions||< 2.11|
|Unaffected versions||>= 2.11|
GNU cpio copies files into or out of a cpio or tar archive.
Cpio contains a heap-based buffer overflow in the rmt_read__ function in lib/rtapelib.c.
A remote server could sending more data than was requested, related to archive filenames that contain a : (colon) character, possibly resulting in execution of arbitrary code or a Denial of Service condition.
There is no known workaround at this time.
All cpio users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=app-arch/cpio-2.11"
November 28, 2013
November 28, 2013: 1