CVE-2025-48382: Fess Fess Has Insecure Temporary File Vulnerability

LOW
Advisory Identifier: GHSA-g88v-2j67-9rmx
CWE-732
Published
Advisory Summary

CVE-2025-48382 is a LOW fess has insecure temporary file vulnerability (CWE-732: Incorrect Permission Assignment for Critical Resource) affecting Fess libraries in the Maven ecosystem. The issue involves fess has insecure temporary file permissions. Remediation is available by upgrading affected packages to version 14.19.2.

CVE-2025-48382 at a Glance

CVE Identifier CVE-2025-48382
GHSA Identifier GHSA-g88v-2j67-9rmx
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-732: Incorrect Permission Assignment for Critical Resource
Affected Product Fess
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2025-48382

To remediate this vulnerability, upgrade all affected Fess dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.codelibs.fess:fess fixed: 14.19.2
<dependency>
    <groupId>org.codelibs.fess</groupId>
    <artifactId>fess</artifactId>
    <version>14.19.2</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.codelibs.fess

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2025-48382, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.codelibs.fess

Analyze the terminal output to locate any version of Fess in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 14.19.2), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.codelibs.fess command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-732: Incorrect Permission Assignment for Critical Resource, where the product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors. In Fess, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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)

CVE-2025-48382 Affected Fess Versions

1 component(s)
Fixed Versions:
14.19.2
Product / Package Ecosystem Affected Versions Fixed Version
org.codelibs.fess:fess
Maven
< 14.19.2
14.19.2

References

Frequently Asked Questions

What is CVE-2025-48382?
CVE-2025-48382 is a security vulnerability in Fess involving Fess has Insecure Temporary File Permissions under CWE-732: Incorrect Permission Assignment for Critical Resource.
Which Fess versions are affected?
Affected versions include releases prior to 14.19.2 across affected packages: org.codelibs.fess:fess.
What version fixes CVE-2025-48382?
Upgrading to 14.19.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is fess affected?
Yes, org.codelibs.fess:fess is affected in releases prior to 14.19.2. Upgrade your dependency to 14.19.2 or later.
What CWE is associated with CVE-2025-48382?
CVE-2025-48382 is classified under CWE-732: Incorrect Permission Assignment for Critical Resource (The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.).
How can I check Maven dependencies for CVE-2025-48382?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.codelibs.fess'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-g88v-2j67-9rmx",
  "modified" : "2025-05-28T14:29:46Z",
  "published" : "2025-05-27T18:00:48Z",
  "aliases" : [ "CVE-2025-48382" ],
  "summary" : "Fess has Insecure Temporary File Permissions",
  "details" : "### Summary\nFess (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.\n\n### Details\nThe `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.\n\n### Impact\nThis 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.\n\n### Workarounds\nEnsure local access to the environment running Fess is restricted to trusted users only.\n\n### References\n- [CVE-2022-24823: Netty temporary file permissions vulnerability](https://nvd.nist.gov/vuln/detail/CVE-2022-24823)",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.codelibs.fess:fess"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.19.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/codelibs/fess/security/advisories/GHSA-g88v-2j67-9rmx"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-48382"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/codelibs/fess/commit/25b2009fea2a0f6ccd5aa8154aa54b536c08f6c4"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/codelibs/fess"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-732" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-05-27T18:00:48Z",
    "nvd_published_at" : "2025-05-27T05:15:24Z"
  }
}