CVE-2023-32698
7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| goreleaser | nfpm | >= 2.0.0, < 2.29.0 | affected |
| goreleaser | nfpm | >= 0.1.0, < 2.29.0 | affected |
Weaknesses
- CWE-276: CWE-276: Incorrect Default Permissions
ADP Enrichment
CVE Program Container
Additional References
- https://github.com/goreleaser/nfpm/security/advisories/GHSA-w7jw-q4fg-qc4c
- https://github.com/goreleaser/nfpm/commit/ed9abdf63d5012cc884f2a83b4ab2b42b3680d30
- https://github.com/goreleaser/nfpm/releases/tag/v2.29.0
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: no
- Technical Impact: total
References
- https://github.com/goreleaser/nfpm/security/advisories/GHSA-w7jw-q4fg-qc4c
- https://github.com/goreleaser/nfpm/commit/ed9abdf63d5012cc884f2a83b4ab2b42b3680d30
- https://github.com/goreleaser/nfpm/releases/tag/v2.29.0
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.