Skip to content
OpenAdvisories

Product · GNU

cpio

3 known vulnerabilities.

3 results · Clear filters · Feed

  • Medium 4.6

    Improper Output Encoding in GNU cpio

    GNU cpio is vulnerable to improper encoding or escaping of output in its archive member listing functionality. When listing archive members via cpio -it, member names are printed directly to output without quoting or escaping. An attacker can craft a cpio arc…

  • Medium 4.6

    Uncontrolled Memory Allocation in GNU cpio

    GNU cpio is vulnerable to an uncontrolled memory allocation in the make_path function at src/makepath.c. The function uses alloca to allocate stack memory based on the length of argpath, which is derived from an archive-controlled pathname during extraction. …

  • Medium 4.6

    Path Traversal in GNU cpio

    GNU cpio contains a Path Traversal vulnerability in its tar archive extraction functionality. When extracting a tar archive in copy-in mode with the --no-absolute-filenames option, the extracted file name is normalized but the tar hard-link target is passed t…