CVE-2023-32698
Description
nFPM is an alternative to fpm. The file permissions on the checked-in files were not maintained. Hence, when nfpm packaged the files (without extra config for enforcing it’s own permissions) files could go out with bad permissions (chmod 666 or 777). Anyone using nfpm for creating packages without checking/setting file permissions before packaging could result in bad permissions for files/folders.
How to fix
- goreleaser nfpm2.29.0 or later
- github.com/goreleaser/nfpm/v22.29.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| goreleaser nfpm | 0.1.0 ≤ v < 2.29.0 | 2.29.0 |
| github.com/goreleaser/nfpm/v2Go | 2.0.0 ≤ v < 2.29.0 | 2.29.0 |
| github.com/goreleaser/nfpmGo | 0.1.0 ≤ v ≤ 1.10.3 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.