REDHAT-BUG-1765511: Medium severity GNU cpio vulnerability

Published Oct 25, 2019
·
Updated

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

Affected Software

1 affected component
GNU cpio

Event History

Oct 25, 2019
Data Sourced
via Red Hat·09:51 AM
DescriptionSeverityAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203