{"cve":"CVE-2023-43123","nvd":{"published":"2023-11-23T10:15:07.727","modified":"2026-06-17T06:25:08.640","status":"Modified","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.\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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5},"cwes":["CWE-200"],"references":["http://www.openwall.com/lists/oss-security/2023/11/23/1","https://lists.apache.org/thread/88oc1vqfjtr29cz5xts0v2wm5pmhbm0l","http://www.openwall.com/lists/oss-security/2023/11/23/1","https://lists.apache.org/thread/88oc1vqfjtr29cz5xts0v2wm5pmhbm0l"],"products":["apache:storm"],"source":"nvd","synced_at":"2026-10-19T21:42:07.670898610+00:00"},"epss":{"cve":"CVE-2023-43123","score":0.00355,"percentile":0.29209,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-85p4-q357-72h9","url":"https://osv.dev/vulnerability/GHSA-85p4-q357-72h9","summary":"Apache Storm Local Information Disclosure Vulnerability in Storm-core on Unix-Like systems due temporary files ","modified":"2025-02-13T19:37:26.741496Z","packages":[{"ecosystem":"Maven","name":"org.apache.storm:storm-core","purl":"pkg:maven/org.apache.storm/storm-core","ranges":[">=2.0.0 <2.6.0"],"fixed":["2.6.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}