REDHAT-BUG-1765511: Medium severity GNU cpio vulnerability
cpio does not properly validate the values written in the header of a TAR file through the tooct() function. When creating a TAR file from a list of files and one of those is another TAR file with a big size, cpio will generate the resulting file with the content extracted from the input one. This leads to unexpected results as the newly generated TAR file could have files with permissions the owner of the input TAR file did not have or in paths he did not have access to.
References: https://lists.gnu.org/archive/html/bug-cpio/2019-08/msg00003.html
Proposed patch: https://cement.retrofitta.se/tmp/cpio-tar.patch