# CVE-2023-43123: Apache Storm: Local Information Disclosure Vulnerability in Storm-core on Unix-Like systems due temporary files

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.38% (percentile 24, 2026-11-28)
- **CWE:** CWE-200
- **Aliases:** GHSA-85p4-q357-72h9
- **Published:** 2023-11-23T09:16:34.705Z
- **Modified:** 2026-06-17T06:25:08.640Z

## Who should check

- Projects that depend on Maven package org.apache.storm:storm-core (\>= 2.0.0, \< 2.6.0)
- Anyone running Apache Software Foundation Apache Storm \>= 2.0.0, \< 2.6.0

## Description

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.

## Affected and fixed versions

- Maven `org.apache.storm:storm-core`: affected \>= 2.0.0, \< 2.6.0; fixed 2.6.0 (osv)
- Apache Software Foundation Apache Storm: \>= 2.0.0, \< 2.6.0 (cvelist)

## Mitigation

- Upgrade org.apache.storm:storm-core to 2.6.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-43123. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-43123.md
Affected: org.apache.storm:storm-core >= 2.0.0, < 2.6.0
Fixed in: 2.6.0

Steps:
1. Search this machine and project for org.apache.storm:storm-core (Maven), Apache Software Foundation Apache Storm: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-43123 being exploited?

There is no confirmed exploitation: CVE-2023-43123 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.38% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2023-43123?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-43123?

org.apache.storm:storm-core \>= 2.0.0, \< 2.6.0.

### Is there a fix for CVE-2023-43123?

Yes. Fixed in 2.6.0. Upgrade org.apache.storm:storm-core to 2.6.0 or later.

### How do I check if I'm affected by CVE-2023-43123?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://lists.apache.org/thread/88oc1vqfjtr29cz5xts0v2wm5pmhbm0l>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2023-43123>
- patch: <https://github.com/apache/storm/pull/3582>
- patch: <https://github.com/apache/storm/commit/b778125a17ce7497d80aea1e339f3a282aeeb65a>
- other: <http://www.openwall.com/lists/oss-security/2023/11/23/1>
- other: <https://github.com/apache/storm>
- other: <https://issues.apache.org/jira/browse/STORM-3123>
- other: <https://www.openwall.com/lists/oss-security/2023/11/23/1>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-43123>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-85p4-q357-72h9> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2023-43123> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-43123>
