{"id":"CVE-2023-32698","published":"2023-05-30T03:56:30Z","modified":"2025-01-10T20:36:22Z","title":"nfpm vulnerable to Incorrect Default Permissions","vendor":"goreleaser","product":"nfpm","tier":"tail","description":{"text":"nFPM is an alternative to fpm. The file permissions on the checked-in files were not maintained. Hence, when nfpm packaged \nthe 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00384,"percentile":0.33368,"provenance":"source"},"cwes":[{"id":"CWE-276","name":"Incorrect Default Permissions"}],"references":[{"url":"https://github.com/goreleaser/nfpm/security/advisories/GHSA-w7jw-q4fg-qc4c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/goreleaser/nfpm/commit/ed9abdf63d5012cc884f2a83b4ab2b42b3680d30","tags":["x_refsource_MISC"]},{"url":"https://github.com/goreleaser/nfpm/releases/tag/v2.29.0","tags":["x_refsource_MISC"]}],"priority":{"score":11.6,"factors":[{"name":"EPSS percentile","points":6.67},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"goreleaser","affectedVersions":[{"vendor":"goreleaser","product":"nfpm","versions":[">= 2.0.0, < 2.29.0",">= 0.1.0, < 2.29.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-01-10T20:36:13.134834Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/goreleaser/nfpm/v2","vulnerableRanges":[">=2.0.0, <2.29.0"],"patched":["2.29.0"],"from":["GHSA-w7jw-q4fg-qc4c","GO-2023-1788"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/goreleaser/nfpm","vulnerableRanges":[">=0.1.0, <=1.10.3"],"patched":[],"from":["GHSA-w7jw-q4fg-qc4c"],"provenance":"source"}],"summary":{"text":"nfpm, the alternative to fpm from goreleaser, has an incorrect default permissions flaw: the permissions on its checked-in files were not maintained, so packages it builds can ship files with overly open modes such as 666 or 777 unless users set permissions themselves before packaging. An attacker with local access and low privileges, and no user interaction, could take advantage of these world-writable or world-readable files in packages built with nfpm to read or modify sensitive content.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:56Z"},"euvd":{"id":"EUVD-2023-1637","exploited":false,"provenance":"source"}}