Advisories for Golang/Github.com/Goreleaser/Nfpm/V2 package

2023

nfpm has incorrect default permissions

Summary When building packages directly from source control, file permissions on the checked-in files are not maintained. Details When building packages directly from source control, file permissions on the checked-in files are not maintained. When nfpm packaged the files (without extra config for enforcing its own permissions) files could go out with bad permissions (chmod 666 or 777). PoC Create a default nfpm structure. Within the test folder, create 3 …