CVEvulnerability
CVE-2023-32698
7.1 HIGH
Official page ↗
- Status
- Modified
- Published
- 2023-05-30
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.1 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- CVSS 3.1 ([email protected])
- 7.1 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-276
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 configurations
• goreleaser nfpm (>= 0.1.0 < 2.29.0)
Related
Weakness · CWE (1)
- CWE-276 Incorrect Default Permissions weakness
References
- https://github.com/goreleaser/nfpm/commit/ed9abdf63d5012cc884f2a83b4ab2b42b3680d30 Patch
- https://github.com/goreleaser/nfpm/releases/tag/v2.29.0 Release Notes
- 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
- https://github.com/goreleaser/nfpm/security/advisories/GHSA-w7jw-q4fg-qc4c Exploit, Mitigation, Vendor Advisory