Description
Dozzle versions before 11.1.2 fail to sanitize container display names when building ZIP archive entry names in the log download endpoint. Attackers who can label containers can use path traversal sequences to write files outside the extraction directory when users download and extract logs.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| amir20 | dozzle | 8.9.1 – < 11.1.2 | 11.1.2 |
References
- https://github.com/amir20/dozzle/pull/5242 patch issue-tracking
- https://github.com/amir20/dozzle/commit/bc07db73dd84ce2cb939b744e983a8cfdf29c644 patch
- dozzle v11.1.2 Release Notes release-notes
- https://github.com/amir20/dozzle/blob/v11.1.1/internal/web/download.go#L141-L146 technical-description
- https://github.com/amir20/dozzle/blob/v11.1.1/internal/container/docker/client.go#L610-L614 technical-description
- https://github.com/amir20/dozzle product
- VulnCheck Advisory: Dozzle before 11.1.2 Path Traversal via Log ZIP Download third-party-advisory