Vulnerability in Goreleaser Nfpm
CVE-2023-32698
- CVSS v3
- 7.1 High
- Public exploits
- None known
- EPSS
- 0.004 · 33.0th percentile
- Published
- 2023-05-30
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.004, 33.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Goreleaser Nfpm — versions >= 2.0.0, < 2.29.0, >= 0.1.0, < 2.29.0
Weakness classification (CWE)
References
- https://github.com/goreleaser/nfpm/security/advisories/GHSA-w7jw-q4fg-qc4c (Exploit, Mitigation, Vendor Advisory)
- https://github.com/goreleaser/nfpm/commit/ed9abdf63d5012cc884f2a83b4ab2b42b3680d30 (Patch)
- https://github.com/goreleaser/nfpm/releases/tag/v2.29.0 (Release Notes)