Zip Slip

NJCCIC Alert

Original Release Date: 2018-06-12

Researchers from security firm Snyk have publicized a vulnerability in multiple archive file-extraction libraries found in thousands of open-source web application projects including those from HP, Amazon, Apache, Oracle, Linkedin, Twitter, and others. Dubbed “Zip Slip,” the flaw could allow a threat actor to perform a traversal attack, enabling access to the root directory on an application and possibly granting remote code execution. In ecosystems such as .NET, Java, JavaScript, Go, and Ruby, there is no central software library for unpacking archive files, causing developers to write their own code to enable that functionality. A threat actor could create a specially-crafted archive file containing extra directory paths that will traverse up to the root directory as the file is extracted, giving the actor access to the file system outside the folder in which it should reside. Since developers share the code snippets on developer community sites, such as StackOverflow, Zip Slip has been able to spread to many software projects. The vulnerability can affect the following file types: .zip, .tar, .jar, .war, .cpio, .apk, .rar, and 7z.

The NJCCIC recommends all users and administrators of the libraries listed above review the Snyk report on Zip Slip and update to the newest, patched version as soon as possible.

New Jersey Cybersecurity & Communications Integration Cell

2 Schwarzkopf Dr, Ewing Township, NJ 08628

njccic@cyber.nj.gov

OUR COMMITMENT

The NJCCIC is a component organization within the New Jersey Office of Homeland Security and Preparedness. We are the State's one-stop-shop for cyber threat analysis, incident reporting, and information sharing and are committed to making New Jersey more resilient to cyber threats by spreading awareness and promoting the adoption of best practices.

Agency Seals of State of NJ, NJOHSP and NJCCIC

STAY CONNECTED:

View our Privacy Policy here.

View our Site Index here.