Advisory

GO-2023-1788

Also known as: CVE-2023-32698, GHSA-w7jw-q4fg-qc4c

Summary

Incorrect permissions in github.com/goreleaser/nfpm/v2

Details

When nfpm packages files without additional configuration to enforce its own permissions, the files could be packaged with incorrect permissions (chmod 666 or 777). Anyone who uses nfpm to create packages and does not check or set file permissions before packaging could result in files or folders being packaged with incorrect permissions.

Severity

Not rated by the source.

Dates

Published
2023-06-01 21:27 UTC
Modified
2026-08-07 08:12 UTC

Affected packages and fixes

github.com/goreleaser/nfpm/v2

Go · All systems

Affected

  • introduced 2.0.0, fixed 2.29.0 (semver)

Fixed versions

2.29.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences