[Bug 15286] New: unzip can't decompress files created after 2038 on 32 bits systems

bugzilla at busybox.net bugzilla at busybox.net
Tue Jan 24 13:34:43 UTC 2023


https://bugs.busybox.net/show_bug.cgi?id=15286

            Bug ID: 15286
           Summary: unzip can't decompress files created after 2038 on 32
                    bits systems
           Product: Busybox
           Version: 1.35.x
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Standard Compliance
          Assignee: unassigned at busybox.net
          Reporter: blemouzy at centralp.fr
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

Created attachment 9491
  --> https://bugs.busybox.net/attachment.cgi?id=9491&action=edit
zip used for the test

Environment
===========

- i.MX6 32 bits CPU
- Yocto Kirkstone (kirkstone-4.0.6)
- Linux 5.10.109
- glibc 2.35 (8d125a1f9145ad90c94e438858d6b5b7578686f2)
- BusyBox v1.35.0
- RFS built with "-D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64" flags
- System date set after 011903142038 (2038 Jan 19 03:14:00)

Description
===========

Extracting a zip with post 2038 dated files fails.

root at board:~# unzip -l foo.zip
Archive:  foo.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  02-27-2038 00:00   foo/
        0  02-27-2038 00:00   foo/bar
---------                     -------
        0                     2 files

root at board:~# unzip foo.zip
Archive:  foo.zip
error: invalid zip file with overlapped components (possible zip bomb)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list