cve/2023/CVE-2023-32698.md

18 lines
981 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2023-32698](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-32698)
![](https://img.shields.io/static/v1?label=Product&message=nfpm&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3E%3D%202.0.0%2C%20%3C%202.29.0%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-276%3A%20Incorrect%20Default%20Permissions&color=brighgreen)
### 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 its 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.
### POC
#### Reference
- https://github.com/goreleaser/nfpm/security/advisories/GHSA-w7jw-q4fg-qc4c
#### Github
No PoCs found on GitHub currently.