CVE-2023-43123: Storm core Apache Storm Local Information Disclosure Vulnerability

MODERATE
Advisory Identifier: GHSA-85p4-q357-72h9
CVSS 5.5
CWE-200
Published
Advisory Summary

CVE-2023-43123 is a MODERATE (CVSS 5.5) apache storm local information disclosure vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Storm core libraries in the Maven ecosystem. The issue involves apache storm local information disclosure vulnerability in storm-core on unix-like systems due temporary files. Remediation is available by upgrading affected packages to version 2.6.0.

CVE-2023-43123 at a Glance

CVE Identifier CVE-2023-43123
GHSA Identifier GHSA-85p4-q357-72h9
Severity MODERATE
CVSS v3.1 Base Score 5.5
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Storm core
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2023-43123

To remediate this vulnerability, upgrade all affected Storm core 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.apache.storm:storm-core fixed: 2.6.0
<dependency>
    <groupId>org.apache.storm</groupId>
    <artifactId>storm-core</artifactId>
    <version>2.6.0</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.apache.storm

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.apache.storm

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

Note: The mvn dependency:tree -Dincludes=org.apache.storm 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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Storm core, 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

On unix-like systems, the temporary directory is shared between all user. As such, writing to this directory using APIs that do not explicitly set the file/directory permissions can lead to information disclosure. Of note, this does not impact modern MacOS Operating Systems. The method File.createTempFile on unix-like systems creates a file with predefined name (so easily identifiable) and by default will create this file with the permissions -rw-r--r--. Thus, if sensitive information is written to this file, other local users can read this information. File.createTempFile(String, String) will create a temporary file in the system temporary directory if the 'java.io.tmpdir' system property is not explicitly set. This affects the class  https://github.com/apache/storm/blob/master/storm-core/src/jvm/org/apache/storm/utils/TopologySpoutLag.java#L99  and was introduced by  https://issues.apache.org/jira/browse/STORM-3123 In practice, this has a very limited impact as this class is used only if ui.disable.spout.lag.monitoring is set to false, but its value is true by default. Moreover, the temporary file gets deleted soon after its creation. The solution is to use  Files.createTempFile https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/file/Files.html#createTempFile(java.lang.String,java.lang.String,java.nio.file.attribute.FileAttribute...)  instead. We recommend that all users upgrade to the latest version of Apache Storm.

CVE-2023-43123 Affected Storm core Versions

1 component(s)
Fixed Versions:
2.6.0
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.storm:storm-core
Maven
≥ 2.0.0
< 2.6.0
2.6.0

References

Frequently Asked Questions

What is CVE-2023-43123?
CVE-2023-43123 is a security vulnerability in Storm core involving Apache Storm Local Information Disclosure Vulnerability in Storm-core on Unix-Like systems due temporary files under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Storm core versions are affected?
Affected versions include releases prior to 2.6.0 across affected packages: org.apache.storm:storm-core.
What version fixes CVE-2023-43123?
Upgrading to 2.6.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is storm-core affected?
Yes, org.apache.storm:storm-core is affected in releases prior to 2.6.0. Upgrade your dependency to 2.6.0 or later.
What is the CVSS score of CVE-2023-43123?
CVE-2023-43123 has a CVSS v3.1 base score of 5.5 (MODERATE) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2023-43123?
CVE-2023-43123 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check Maven dependencies for CVE-2023-43123?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.storm'. 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-85p4-q357-72h9",
  "modified" : "2025-02-13T19:26:18Z",
  "published" : "2023-11-23T12:30:23Z",
  "aliases" : [ "CVE-2023-43123" ],
  "summary" : "Apache Storm Local Information Disclosure Vulnerability in Storm-core on Unix-Like systems due temporary files ",
  "details" : "On unix-like systems, the temporary directory is shared between all user. As such, writing to this directory using APIs that do not explicitly set the file/directory permissions can lead to information disclosure. Of note, this does not impact modern MacOS Operating Systems.\n\nThe method File.createTempFile on unix-like systems creates a file with predefined name (so easily identifiable) and by default will create this file with the permissions -rw-r--r--. Thus, if sensitive information is written to this file, other local users can read this information.\n\nFile.createTempFile(String, String) will create a temporary file in the system temporary directory if the 'java.io.tmpdir' system property is not explicitly set. \n\nThis affects the class  https://github.com/apache/storm/blob/master/storm-core/src/jvm/org/apache/storm/utils/TopologySpoutLag.java#L99  and was introduced by  https://issues.apache.org/jira/browse/STORM-3123 \n\nIn practice, this has a very limited impact as this class is used only if ui.disable.spout.lag.monitoring\n\n is set to false, but its value is true by default.\nMoreover, the temporary file gets deleted soon after its creation.\n\nThe solution is to use  Files.createTempFile https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/file/Files.html#createTempFile(java.lang.String,java.lang.String,java.nio.file.attribute.FileAttribute...)  instead.\n\nWe recommend that all users upgrade to the latest version of Apache Storm.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.storm:storm-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0"
      }, {
        "fixed" : "2.6.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-43123"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/storm/pull/3582"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/storm/commit/b778125a17ce7497d80aea1e339f3a282aeeb65a"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/storm"
  }, {
    "type" : "WEB",
    "url" : "https://issues.apache.org/jira/browse/STORM-3123"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread/88oc1vqfjtr29cz5xts0v2wm5pmhbm0l"
  }, {
    "type" : "WEB",
    "url" : "https://www.openwall.com/lists/oss-security/2023/11/23/1"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2023/11/23/1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-11-24T16:53:46Z",
    "nvd_published_at" : "2023-11-23T10:15:07Z"
  }
}