CVE-2023-32698
HIGH 7.1CVSS 3.1nfpm has incorrect default permissions
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.
- Published
- 30 May 2023
- Last modified
- 7 Aug 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-276
- Also known as
- GHSA-w7jw-q4fg-qc4cGO-2023-1788
- Sources
- NVDJSONOSV GHSA-w7jw-q4fg-qc4cJSONOSV GO-2023-1788JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | goreleaser | nfpmcpe:2.3:a:goreleaser:nfpm:*:*:*:*:*:*:*:* |
>= 0.1.0, < 2.29.0 | 2.29.0 |
| OSV | Go | github.com/goreleaser/nfpm/v2 | >= 2.0.0, < 2.29.0 | 2.29.0 |
| OSV | Go | github.com/goreleaser/nfpm | >= 0.1.0, <= 1.10.3 |
References
- https://github.com/goreleaser/nfpm/commit/ed9abdf63d5012cc884f2a83b4ab2b42b3680d30 · Patch, WEB, FIX
- https://github.com/goreleaser/nfpm/releases/tag/v2.29.0 · Release Notes, WEB
- https://github.com/goreleaser/nfpm/security/advisories/GHSA-w7jw-q4fg-qc4c · Exploit, Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-32698 · ADVISORY
- https://github.com/goreleaser/nfpm · PACKAGE
- https://github.com/advisories/GHSA-w7jw-q4fg-qc4c · ADVISORY
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 30 May 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Jun 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 May 2023)