Skip to content

CVE-2023-32698 nfpm vulnerable to Incorrect Default Permissions

HighCVSS 7.1 EPSS 0.38%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
goreleaser github.com/goreleaser/nfpm/v2 = >= 0.1.0, < 2.29.0; = >= 2.0.0, < 2.29.0; >= 0.1.0, < 2.29.0 2.29.0 Fixed
goreleaser github.com/goreleaser/nfpm/v2(Go) >= 0.1.0, <= 1.10.3; >= 2.0.0, < 2.29.0 2.29.0 Fixed

Affected products

ProductAffected versionsFixed in
goreleaser github.com/goreleaser/nfpm/v2(Go) >= 2.0.0, < 2.29.0 2.29.0
goreleaser github.com/goreleaser/nfpm/v2(Go) >= 0.1.0, <= 1.10.3 No fix listed
goreleaser github.com/goreleaser/nfpm/v2 = >= 2.0.0, < 2.29.0 No fix listed
goreleaser github.com/goreleaser/nfpm/v2 = >= 0.1.0, < 2.29.0 No fix listed
goreleaser github.com/goreleaser/nfpm/v2 >= 0.1.0, < 2.29.0 2.29.0

References