Live threats

All CVEs / Goreleaser

CVE-2023-32698Goreleaser Nfpm

High 7.1

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Nfpm.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
goreleasernfpm≥ 0.1.0 < 2.29.0

Official sources

References

Links published by the sources. Open them with care.