{"id":"CVE-2023-43123","published":"2023-11-23T09:16:34Z","modified":"2025-02-13T17:13:14Z","title":"Apache Storm: Local Information Disclosure Vulnerability in Storm-core on Unix-Like systems due temporary files","vendor":"Apache","product":"Apache Storm","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00381,"percentile":0.23956,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://lists.apache.org/thread/88oc1vqfjtr29cz5xts0v2wm5pmhbm0l","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2023/11/23/1","tags":[]}],"priority":{"score":4.8,"factors":[{"name":"EPSS percentile","points":4.79}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Storm","versions":[">= 2.0.0, < 2.6.0"]}],"affected":[{"ecosystem":"Maven","package":"org.apache.storm:storm-core","vulnerableRanges":[">=2.0.0, <2.6.0"],"patched":["2.6.0"],"from":["GHSA-85p4-q357-72h9"],"provenance":"source"}],"summary":{"text":"Apache Storm's storm-core component, specifically the TopologySpoutLag class, writes sensitive data to a temporary file created with File.createTempFile on Unix-like systems, which by default gives it permissions that let other local users read it. An attacker with a local account on the affected system can read that temporary file, but the class is only used when ui.disable.spout.lag.monitoring is set to false (its default is true) and the file is deleted soon after creation, so exposure is very limited.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:21:38Z"},"euvd":{"id":"EUVD-2023-2917","exploited":false,"provenance":"source"}}