-
Notifications
You must be signed in to change notification settings - Fork 2k
Java: CWE-200: Temp directory local information disclosure vulnerability #4388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
smowton
merged 39 commits into
github:main
from
JLLeitschuh:feat/JLL/java/CWE-200_temp_directory_local_information_disclosure
Feb 14, 2022
Merged
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
3a15678
Java: CWE-200: Temp directory local information disclosure vulnerability
JLLeitschuh cf0ed81
Add TempDir taint tracking for Files.write
JLLeitschuh ecad753
Add mkdirs check
JLLeitschuh bc12e99
Add `java.nio.file.Files` API checks
JLLeitschuh 13fed0e
Temp Dir Info Disclosure: Final pass and add documentation
JLLeitschuh e4c017e
Apply suggestions from code review
JLLeitschuh f910fd4
Remove path flow tracking in 'TempDirLocalInformationDisclosureFromMe…
JLLeitschuh 7929fae
Apply suggestions from code review
JLLeitschuh 41b5011
Apply suggestions from code review
JLLeitschuh f6067d2
Fix file names and formatting from PR feedback
JLLeitschuh c19f52c
Add release notes for "Temporary Directory Local information disclosure"
JLLeitschuh 7e55c92
Apply suggestions from code review
JLLeitschuh 6683198
Add QLdoc to TempDirUtils
JLLeitschuh df716cb
Revert changes to MethodAccessSystemGetProperty
JLLeitschuh cb30385
Update java/ql/src/Security/CWE/CWE-200/TempDirUtils.qll
JLLeitschuh 7e514e9
Add QLdoc and fix Compiler Errors in Tests
JLLeitschuh e795823
Autoformat TempDirUtils.qll
smowton a8d25b6
Apply suggestions from code review
JLLeitschuh a4b5573
Apply suggestions from code review
JLLeitschuh f7a4aac
Apply suggestions from code review
JLLeitschuh d5c9af3
Fixup documentation/code from PR feedback
JLLeitschuh 79db76d
Fix test failures TempDirLocalInformationDisclosureFromSystemProperty
JLLeitschuh 0a621c2
Fix the formatting in TempDirLocalInformationDisclosureFromMethodCall
JLLeitschuh 9299c79
Add information disclosure test fix suggestions
JLLeitschuh 0268dd9
Add file creation sanitizer
JLLeitschuh 1f47ea5
Update to new change note format
JLLeitschuh de38638
Combine CWE-200 queries
smowton c4112e6
Post refactor fixiup
JLLeitschuh 7965459
Apply suggestions from code review
smowton a6596ea
Fix test requirements, formatting
smowton 7f46640
Consider calls to setReadable(false, false) then setReadable(true, tr…
JLLeitschuh 787e3da
Update java/ql/src/Security/CWE/CWE-200/TempDirLocalInformationDisclo…
JLLeitschuh 49a7367
Fix FP from mkdirs call on exact temp directory
JLLeitschuh bafcce1
Apply suggestions from code review
JLLeitschuh eee521e
Fix test failure for TempDirLocalInformationDisclosure
JLLeitschuh 7dee22a
Fix implicit 'this' usage
JLLeitschuh bb580dd
Apply suggestions from code review
JLLeitschuh 76964d5
Apply suggestions from code review
JLLeitschuh 2048aed
Review feedback and improve temp dir vulnerable/safe code sugestion
JLLeitschuh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix FP from mkdirs call on exact temp directory
- Loading branch information
commit 49a73673b64dd02e1581be5cbf13d5fbfc3ca330
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.