CVE-2023-32698Goreleaser Nfpm
High 7.1
Follow: this CVE · Goreleaser · Goreleaser Nfpm We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 3.1
- 7.1
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 18
- Auth required
- Yes
- Published
- May 30, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-276
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Nfpm.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/goreleaser/nfpm |
≥ 0.1.0 ≤ 1.10.3 |
no fixed version | — |
| Go | github.com/goreleaser/nfpm/v2 |
≥ 2.0.0 < 2.29.0 |
2.29.0 |
go get github.com/goreleaser/nfpm/v2@v2.29.0 |
| Go | github.com/goreleaser/nfpm/v2 |
≥ 2.0.0 < 2.29.0 |
2.29.0 |
go get github.com/goreleaser/nfpm/v2@v2.29.0 |
Per OSV / GitHub Advisories (GHSA-w7jw-q4fg-qc4c, GO-2023-1788). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| goreleaser | nfpm | ≥ 0.1.0 < 2.29.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Release Notes
- github.com Exploit Mitigation Vendor Advisory