Description
DDEV is an open-source tool for running local web development environments for PHP and Node.js. Versions prior to 1.25.2 have unsanitized extraction in both `Untar()` and `Unzip()` functions in `pkg/archive/archive.go`. Downloads and extracts archives from remote sources without path validation. Version 1.25.2 patches the issue.
Problem types
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
References
github.com/ddev/ddev/security/advisories/GHSA-x2xq-qhjf-5mvg
github.com/ddev/ddev/security/advisories/GHSA-x2xq-qhjf-5mvg
github.com/ddev/ddev/releases/tag/v1.25.2