[Bug 2051952] [NEW] unzip rejects Microsoft OneDrive zip files

Marc Deslauriers 2051952 at bugs.launchpad.net
Thu Feb 1 15:45:49 UTC 2024


Public bug reported:

See the detailed explanation here:

https://www.bitsgalore.org/2020/03/11/does-microsoft-onedrive-export-
large-ZIP-files-that-are-corrupt

tl;dr;
Microsoft mishandles the "Total number of disks" field when using the ZIP64 extension. It should start at 1, they use 0, which isn't a valid value. Unzip doesn't properly handle the invalid value.

** Affects: unzip (Ubuntu)
     Importance: Undecided
     Assignee: Marc Deslauriers (mdeslaur)
         Status: New

** Affects: unzip (Ubuntu Focal)
     Importance: Undecided
     Assignee: Marc Deslauriers (mdeslaur)
         Status: New

** Affects: unzip (Ubuntu Jammy)
     Importance: Undecided
     Assignee: Marc Deslauriers (mdeslaur)
         Status: New

** Affects: unzip (Ubuntu Mantic)
     Importance: Undecided
     Assignee: Marc Deslauriers (mdeslaur)
         Status: New

** Affects: unzip (Ubuntu Noble)
     Importance: Undecided
     Assignee: Marc Deslauriers (mdeslaur)
         Status: New

** Also affects: unzip (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: unzip (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: unzip (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Also affects: unzip (Ubuntu Mantic)
   Importance: Undecided
       Status: New

** Changed in: unzip (Ubuntu Focal)
     Assignee: (unassigned) => Marc Deslauriers (mdeslaur)

** Changed in: unzip (Ubuntu Jammy)
     Assignee: (unassigned) => Marc Deslauriers (mdeslaur)

** Changed in: unzip (Ubuntu Mantic)
     Assignee: (unassigned) => Marc Deslauriers (mdeslaur)

** Changed in: unzip (Ubuntu Noble)
     Assignee: (unassigned) => Marc Deslauriers (mdeslaur)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to unzip in Ubuntu.
https://bugs.launchpad.net/bugs/2051952

Title:
  unzip rejects Microsoft OneDrive zip files

Status in unzip package in Ubuntu:
  New
Status in unzip source package in Focal:
  New
Status in unzip source package in Jammy:
  New
Status in unzip source package in Mantic:
  New
Status in unzip source package in Noble:
  New

Bug description:
  See the detailed explanation here:

  https://www.bitsgalore.org/2020/03/11/does-microsoft-onedrive-export-
  large-ZIP-files-that-are-corrupt

  tl;dr;
  Microsoft mishandles the "Total number of disks" field when using the ZIP64 extension. It should start at 1, they use 0, which isn't a valid value. Unzip doesn't properly handle the invalid value.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unzip/+bug/2051952/+subscriptions




More information about the foundations-bugs mailing list