Skip to main content
← All vulnerabilities
CVE-2023-32698GHSA-W7JW-Q4FG-QC4CGO-2023-1788

nfpm vulnerable to Incorrect Default Permissions

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.29.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • goreleaser nfpm

    From 2.0.0 · fixed in 2.29.0; From 0.1.0 · fixed in 2.29.0

  • github.com/goreleaser/nfpm/v2Go

    From 2.0.0 · fixed in 2.29.0

  • github.com/goreleaser/nfpmGo

    From 0.1.0 · through 1.10.3

References 3

GitHub · goreleaser/nfpm