CVE-2023-32698

High

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.

SeverityHigh
CVSS7.1
Exploit probability—
ProductGoreleaser Nfpm
PublishedMay 30, 2023
First seenMay 30, 2023
Weakness typeCWE-276CWE-276

How to fix

Update
  • goreleaser nfpm2.29.0 or later
  • github.com/goreleaser/nfpm/v22.29.0 or later

Affected products

ProductAffected versionsFixed in
goreleaser nfpm0.1.0 ≤ v < 2.29.02.29.0
github.com/goreleaser/nfpm/v2Go2.0.0 ≤ v < 2.29.02.29.0
github.com/goreleaser/nfpmGo0.1.0 ≤ v ≤ 1.10.3—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.