What’s Vulnerable › Vulnerabilities

CVE-2023-32698: nfpm vulnerable to Incorrect Default Permissions

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.

Affected products

How to fix

Upgrade to a fixed version: goreleaser nfpm 2.29.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-32698 or the next vulnerability affects your stack