Vulnerabilities in pkg:maven/org.apache.storm/storm-core
PACKAGECVE-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.
pkg:maven/org.apache.storm/storm-core
Vulnerability advisories affecting package pkg:maven/org.apache.storm/storm-core. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-85p4-q357-72h9 | CVE-2023-43123 | MODERATE | Apache Storm Local Information Disclosure Vulnerability in Storm-core on Unix-Like systems due temporary files |
| GHSA-p8jx-x2vw-wm33 | CVE-2018-1331 | HIGH | Code execution in org.apache.storm:storm-core |
| GHSA-898j-5cc8-cmf5 | CVE-2018-8008 | MODERATE | ZipSlip in org.apache.storm:storm-core |
| GHSA-r9pv-hg64-jqrp | CVE-2019-0202 | HIGH | Exposure of Sensitive Information in Apache Storm Logviewer |
| GHSA-x825-rjww-2245 | CVE-2017-9799 | HIGH | Apache Storm it is possible for the owner of a topology to trick the supervisor to launch a worker as a different, non-root, user |
| GHSA-q35p-chc6-7x57 | CVE-2018-1332 | MODERATE | Moderate severity vulnerability that affects org.apache.storm:storm-core |
CVE-2023-43123 at a Glance
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).
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.
<dependency>
<groupId>org.apache.storm</groupId>
<artifactId>storm-core</artifactId>
<version>2.6.0</version>
</dependency>
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
CVE-2023-43123 Affected Storm core Versions
1 component(s)| 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?
Which Storm core versions are affected?
What version fixes CVE-2023-43123?
Is storm-core affected?
What is the CVSS score of CVE-2023-43123?
What CWE is associated with CVE-2023-43123?
How can I check Maven dependencies for CVE-2023-43123?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}