ADVISORIES

GitHub Advisory Database

GHSA-g88v-2j67-9rmx

Fess has Insecure Temporary File Permissions

Details

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

Affected packages

EcosystemPackageAffected versions
Mavenorg.codelibs.fess:fess
All versions before 14.19.2 (fixed in 14.19.2)

References