Home › News › Vulnerabilities
Ubuntu patches zip flaw involving archive names and the -T test option
Ubuntu has released USN-9289-1 to fix a zip vulnerability that could allow arbitrary command execution when testing archives with maliciously crafted names.
VulnerabilitiesKey points
- Ubuntu released USN-9289-1 to fix a vulnerability in the zip utility.
- The flaw involves archive names not being properly quoted when zip tests archives with the -T option.
- Testing a maliciously named archive could allow arbitrary command execution.
- Risk applies to users or automated systems tricked into testing a crafted archive.
Ubuntu has issued security update USN-9289-1 to address a vulnerability in the zip utility.
According to the Ubuntu Security Notice, the issue stems from zip failing to properly quote archive names when it invokes a command to test archives using the -T option. As a result, if a user or an automated process were tricked into testing an archive that carries a specially crafted name, an attacker could potentially run arbitrary commands.
The notice does not detail affected or fixed package versions in the facts provided here, so administrators should consult the official USN-9289-1 advisory for the specific updated packages for their release.
What to do
- Apply the zip update provided in USN-9289-1 for your Ubuntu release.
- Review automated workflows that test archives with the -T option until patched.
- Consult the official Ubuntu advisory for affected and fixed package versions.
Original report
“USN-9289-1: zip vulnerability”
It was discovered that zip did not properly quote archive names when running a command to test archives with the -T option. If a user or automated system were tricked into testing an archive with a specially crafted name, an attacker could possibly use this issue to execute arbitrary commands.