GHSA-g88v-2j67-9rmx
Fess has Insecure Temporary File Permissions
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.codelibs.fess:fess | < 14.19.2 | 14.19.2 |
Details
As written in the advisory (Markdown source, shown as plain text).
### Summary
Fess (an open-source Enterprise Search Server) creates temporary files without restrictive permissions, which may allow local attackers to read sensitive information from these temporary files.
### Details
The `createTempFile()` method in `org.codelibs.fess.helper.SystemHelper` creates temporary files without explicitly setting restrictive permissions. This could lead to potential information disclosure, allowing unauthorized local users to access sensitive data contained in these files.
### Impact
This issue primarily affects environments where Fess is deployed in a shared or multi-user context. Typical single-user or isolated deployments have minimal or negligible practical impact.
### Workarounds
Ensure local access to the environment running Fess is restricted to trusted users only.
### References
- [CVE-2022-24823: Netty temporary file permissions vulnerability](https://nvd.nist.gov/vuln/detail/CVE-2022-24823)
References
External links from the advisory. They lead to third-party sites.