vuln-fix: Temporary File Information Disclosure · actframework/actframework@0fbe8fc · GitHub
Skip to content

Commit 0fbe8fc

Browse files
JLLeitschuhTeamModerne
authored andcommitted
vuln-fix: Temporary File Information Disclosure
This fixes temporary file information disclosure vulnerability due to the use of the vulnerable `File.createTempFile()` method. The vulnerability is fixed by using the `Files.createTempFile()` method which sets the correct posix permissions. Weakness: CWE-377: Insecure Temporary File Severity: Medium CVSSS: 5.5 Detection: CodeQL & OpenRewrite (https://public.moderne.io/recipes/org.openrewrite.java.security.SecureTempFileCreation) Reported-by: Jonathan Leitschuh <Jonathan.Leitschuh@gmail.com> Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@gmail.com> Bug-tracker: JLLeitschuh/security-research#18 Co-authored-by: Moderne <team@moderne.io>
1 parent 40e0127 commit 0fbe8fc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎src/main/java/act/app/AppClassLoader.java‎

Lines changed: 2 additions & 1 deletion

0 commit comments

Comments
 (0)