Description
Race condition in pigz before 2.2.5 uses permissions derived from the umask when compressing a file before setting that file's permissions to match those of the original file, which might allow local users to bypass intended access permissions while compression is occurring.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | pigz | 2.2.4-2 | — |
| Debian 13 | pigz | 2.2.4-2 | — |
| Debian 12 | pigz | 2.2.4-2 | — |
References
- openSUSE-SU-2013:0540 vendor-advisory
- [pigz-announce] 20120728 pigz version 2.2.5 released mailing-list
- [oss-security] 20130215 Re: CVE# request: pigz creates temp file with insecure permissions mailing-list
- [oss-security] 20130215 CVE# request: pigz creates temp file with insecure permissions mailing-list
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700608