| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:3153ab0a-7c9b-ae2b-1b5f-e12e268b8b97 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8FD4:142B17:31EEB9:441C1E:6A4C7C49 |
| html-safe-nonce | 82404549ce951dd1fc36b1cf2fe593566da1d303c7069c99d935a5753bdf250b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkQ0OjE0MkIxNzozMUVFQjk6NDQxQzFFOjZBNEM3QzQ5IiwidmlzaXRvcl9pZCI6IjcwMDg1MjgyMzIzOTY2NTE1OTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9f9ed153da91e41c17a33a11cbe2ccae7d9df54af4f36fb2b3d9053a4ce90c84 |
| hovercard-subject-tag | pull_request:496678336 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/github/codeql/pull/4388/files |
| twitter:image | https://avatars.githubusercontent.com/u/1323708?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1323708?s=400&v=4 |
| og:image:alt | This vulnerability detects the use of the local temporary directory in ways that potentially expose sensitive information to other users.
Some examples
public class TempDirUsageVulnerable {
voi... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/github/codeql git https://github.com/github/codeql.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 143040428 |
| octolytics-dimension-repository_nwo | github/codeql |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 143040428 |
| octolytics-dimension-repository_network_root_nwo | github/codeql |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cd470457e909b9d062f8002cf438ba870e6acff6 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/github/codeql/pull/4388/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql%2Fpull%2F4388%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql%2Fpull%2F4388%2Ffiles |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=github%2Fcodeql |
| Reload | https://github.com/github/codeql/pull/4388/files |
| Reload | https://github.com/github/codeql/pull/4388/files |
| Reload | https://github.com/github/codeql/pull/4388/files |
| Please reload this page | https://github.com/github/codeql/pull/4388/files |
|
github
| https://github.com/github |
| codeql | https://github.com/github/codeql |
|
Notifications
| https://github.com/login?return_to=%2Fgithub%2Fcodeql |
|
Fork
2k
| https://github.com/login?return_to=%2Fgithub%2Fcodeql |
|
Star
9.8k
| https://github.com/login?return_to=%2Fgithub%2Fcodeql |
|
Code
| https://github.com/github/codeql |
|
Issues
987
| https://github.com/github/codeql/issues |
|
Pull requests
424
| https://github.com/github/codeql/pulls |
|
Discussions
| https://github.com/github/codeql/discussions |
|
Actions
| https://github.com/github/codeql/actions |
|
Projects
| https://github.com/github/codeql/projects |
|
Models
| https://github.com/github/codeql/models |
|
Security and quality
0
| https://github.com/github/codeql/security |
|
Insights
| https://github.com/github/codeql/pulse |
|
Code
| https://github.com/github/codeql |
|
Issues
| https://github.com/github/codeql/issues |
|
Pull requests
| https://github.com/github/codeql/pulls |
|
Discussions
| https://github.com/github/codeql/discussions |
|
Actions
| https://github.com/github/codeql/actions |
|
Projects
| https://github.com/github/codeql/projects |
|
Models
| https://github.com/github/codeql/models |
|
Security and quality
| https://github.com/github/codeql/security |
|
Insights
| https://github.com/github/codeql/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fgithub%2Fcodeql%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fgithub%2Fcodeql%2Fissues%2Fnew%2Fchoose |
| smowton | https://github.com/smowton |
| github:main | https://github.com/github/codeql/tree/main |
| JLLeitschuh:feat/JLL/java/CWE-200_temp_directory_local_information_disclosure | https://github.com/JLLeitschuh/ql/tree/feat/JLL/java/CWE-200_temp_directory_local_information_disclosure |
|
Conversation
159
| https://github.com/github/codeql/pull/4388 |
|
Findings
| https://github.com/github/codeql/pull/4388/findings |
|
Commits
39
| https://github.com/github/codeql/pull/4388/commits |
|
Checks
0
| https://github.com/github/codeql/pull/4388/checks |
|
Files changed
| https://github.com/github/codeql/pull/4388/files |
| Please reload this page | https://github.com/github/codeql/pull/4388/files |
|
Java: CWE-200: Temp directory local information disclosure vulnerability
| https://github.com/github/codeql/pull/4388/files#top |
|
Show all changes
39 commits
| https://github.com/github/codeql/pull/4388/files |
|
3a15678
Java: CWE-200: Temp directory local information disclosure vulnerability
JLLeitschuh Oct 2, 2020
| https://github.com/github/codeql/pull/4388/commits/3a15678b1ef23b012ac807116256a884c74295d1 |
|
cf0ed81
Add TempDir taint tracking for Files.write
JLLeitschuh Oct 14, 2020
| https://github.com/github/codeql/pull/4388/commits/cf0ed8157543340340124b92db7c1ca49460a6d8 |
|
ecad753
Add mkdirs check
JLLeitschuh Dec 8, 2020
| https://github.com/github/codeql/pull/4388/commits/ecad7534ae7b2f6740847c431a0aa17ef02c9012 |
|
bc12e99
Add `java.nio.file.Files` API checks
JLLeitschuh Jan 2, 2021
| https://github.com/github/codeql/pull/4388/commits/bc12e994b0d62398e95b889b1d6bbbf53916416f |
|
13fed0e
Temp Dir Info Disclosure: Final pass and add documentation
JLLeitschuh Jan 23, 2021
| https://github.com/github/codeql/pull/4388/commits/13fed0e9b6c8a414dbedb6ddef5694efa13229a7 |
|
e4c017e
Apply suggestions from code review
JLLeitschuh Feb 16, 2021
| https://github.com/github/codeql/pull/4388/commits/e4c017e888d15d69823986fc34e9bd1847c6f236 |
|
f910fd4
Remove path flow tracking in 'TempDirLocalInformationDisclosureFromMe…
JLLeitschuh Feb 16, 2021
| https://github.com/github/codeql/pull/4388/commits/f910fd4719dcc7ba6ccd38f849861a2cb86b53c8 |
|
7929fae
Apply suggestions from code review
JLLeitschuh Feb 16, 2021
| https://github.com/github/codeql/pull/4388/commits/7929faedc005572c4bf9eb7982876cb174aa34e2 |
|
41b5011
Apply suggestions from code review
JLLeitschuh Feb 16, 2021
| https://github.com/github/codeql/pull/4388/commits/41b5011b8198ea219732731cb4872924c2dfa8f2 |
|
f6067d2
Fix file names and formatting from PR feedback
JLLeitschuh Feb 24, 2021
| https://github.com/github/codeql/pull/4388/commits/f6067d28f980e1d8db1b472fa0c502932cfd4495 |
|
c19f52c
Add release notes for "Temporary Directory Local information disclosure"
JLLeitschuh Feb 25, 2021
| https://github.com/github/codeql/pull/4388/commits/c19f52cd04fbca929c56fe3183a8c52662ff6c82 |
|
7e55c92
Apply suggestions from code review
JLLeitschuh Mar 22, 2021
| https://github.com/github/codeql/pull/4388/commits/7e55c92eb4098003f85e6a7d96482acd4c52020d |
|
6683198
Add QLdoc to TempDirUtils
JLLeitschuh Mar 22, 2021
| https://github.com/github/codeql/pull/4388/commits/66831989b71b2471e39462b0af5f584ed5832309 |
|
df716cb
Revert changes to MethodAccessSystemGetProperty
JLLeitschuh Mar 22, 2021
| https://github.com/github/codeql/pull/4388/commits/df716cbaa02cc0d0f4b989f6ffe852bf47604445 |
|
cb30385
Update java/ql/src/Security/CWE/CWE-200/TempDirUtils.qll
JLLeitschuh Apr 8, 2021
| https://github.com/github/codeql/pull/4388/commits/cb3038568447299c1858e8951e0a605dc5eb6b06 |
|
7e514e9
Add QLdoc and fix Compiler Errors in Tests
JLLeitschuh Apr 8, 2021
| https://github.com/github/codeql/pull/4388/commits/7e514e9ef9255a2296a3f45a59ca8ca3bf5a1260 |
|
e795823
Autoformat TempDirUtils.qll
smowton Apr 16, 2021
| https://github.com/github/codeql/pull/4388/commits/e795823d972c0f585b55a69f273dd6bfb761f8a7 |
|
a8d25b6
Apply suggestions from code review
JLLeitschuh Apr 16, 2021
| https://github.com/github/codeql/pull/4388/commits/a8d25b63ac8ba523b7901207298126db9234d07e |
|
a4b5573
Apply suggestions from code review
JLLeitschuh Apr 19, 2021
| https://github.com/github/codeql/pull/4388/commits/a4b5573f5328ac0a41319c7ca6dae59b4986dfa3 |
|
f7a4aac
Apply suggestions from code review
JLLeitschuh Apr 20, 2021
| https://github.com/github/codeql/pull/4388/commits/f7a4aac52586f051db45cc71314da4465b31c6cf |
|
d5c9af3
Fixup documentation/code from PR feedback
JLLeitschuh Apr 20, 2021
| https://github.com/github/codeql/pull/4388/commits/d5c9af31b224d7ca62985ce8d2359ab5e3b195b7 |
|
79db76d
Fix test failures TempDirLocalInformationDisclosureFromSystemProperty
JLLeitschuh Apr 21, 2021
| https://github.com/github/codeql/pull/4388/commits/79db76dcf8717f11fae353bdfc37079d27b1b104 |
|
0a621c2
Fix the formatting in TempDirLocalInformationDisclosureFromMethodCall
JLLeitschuh Apr 26, 2021
| https://github.com/github/codeql/pull/4388/commits/0a621c2801565e5da810fee581de7a05918f9dea |
|
9299c79
Add information disclosure test fix suggestions
JLLeitschuh Jan 28, 2022
| https://github.com/github/codeql/pull/4388/commits/9299c7996db0d64b81d3448f6e55172db8af05b6 |
|
0268dd9
Add file creation sanitizer
JLLeitschuh Feb 1, 2022
| https://github.com/github/codeql/pull/4388/commits/0268dd9f0ab5f0fe9ade5fdbbf7ae5f4c6714812 |
|
1f47ea5
Update to new change note format
JLLeitschuh Feb 4, 2022
| https://github.com/github/codeql/pull/4388/commits/1f47ea51640a602e4b05351428c683f07d2c282d |
|
de38638
Combine CWE-200 queries
smowton Feb 7, 2022
| https://github.com/github/codeql/pull/4388/commits/de38638db61ec4dae3c64913497e9c36ae491fd0 |
|
c4112e6
Post refactor fixiup
JLLeitschuh Feb 7, 2022
| https://github.com/github/codeql/pull/4388/commits/c4112e6d4ce043ab424205749996ea6bc1448503 |
|
7965459
Apply suggestions from code review
smowton Feb 8, 2022
| https://github.com/github/codeql/pull/4388/commits/79654592d92a5d9532b60affb3f41e1df0485383 |
|
a6596ea
Fix test requirements, formatting
smowton Feb 8, 2022
| https://github.com/github/codeql/pull/4388/commits/a6596ea7ce6539809f5b72526abbcbb4b33bbc7e |
|
7f46640
Consider calls to setReadable(false, false) then setReadable(true, tr…
JLLeitschuh Feb 8, 2022
| https://github.com/github/codeql/pull/4388/commits/7f466401762f8ec2884246fe7f5913ff29a9030a |
|
787e3da
Update java/ql/src/Security/CWE/CWE-200/TempDirLocalInformationDisclo…
JLLeitschuh Feb 9, 2022
| https://github.com/github/codeql/pull/4388/commits/787e3dac31c4d6fcf76354192328e3dee3a04148 |
|
49a7367
Fix FP from mkdirs call on exact temp directory
JLLeitschuh Feb 9, 2022
| https://github.com/github/codeql/pull/4388/commits/49a73673b64dd02e1581be5cbf13d5fbfc3ca330 |
|
bafcce1
Apply suggestions from code review
JLLeitschuh Feb 10, 2022
| https://github.com/github/codeql/pull/4388/commits/bafcce17d43064db7995948c03c24ad4a981ff94 |
|
eee521e
Fix test failure for TempDirLocalInformationDisclosure
JLLeitschuh Feb 10, 2022
| https://github.com/github/codeql/pull/4388/commits/eee521e6cee2c649ad9f02d12e88c828b75ed901 |
|
7dee22a
Fix implicit 'this' usage
JLLeitschuh Feb 14, 2022
| https://github.com/github/codeql/pull/4388/commits/7dee22a1302ae997d8d2ed62bb73c51ce4f1fb09 |
|
bb580dd
Apply suggestions from code review
JLLeitschuh Feb 14, 2022
| https://github.com/github/codeql/pull/4388/commits/bb580ddbab7da0a1bca46d4a2bbb1e3a6c6b79f6 |
|
76964d5
Apply suggestions from code review
JLLeitschuh Feb 14, 2022
| https://github.com/github/codeql/pull/4388/commits/76964d58f23cef877e27e0aab1c3792cd33b0354 |
|
2048aed
Review feedback and improve temp dir vulnerable/safe code sugestion
JLLeitschuh Feb 14, 2022
| https://github.com/github/codeql/pull/4388/commits/2048aed0a9dd5731ae9fd8eb4835b0bcfa0851ec |
|
Clear filters
| https://github.com/github/codeql/pull/4388/files |
| Please reload this page | https://github.com/github/codeql/pull/4388/files |
| Please reload this page | https://github.com/github/codeql/pull/4388/files |
|
StringFormat.qll
| https://github.com/github/codeql/pull/4388/files#diff-d4cae1e3dc5388fbde18f9ca4e51411bc0cc03160bd1dee60b9aca2945ddb65e |
|
EJBRestrictions.qll
| https://github.com/github/codeql/pull/4388/files#diff-f17e9394505092b4b298c3e1a3549d865dc860f6dad6569ea4a240e24b87bde2 |
|
FileWritable.qll
| https://github.com/github/codeql/pull/4388/files#diff-31737aa470534bb4c4dc22d5300cd87ab1bf77c89c84ac06a38c4b3b08467342 |
|
TempDirLocalInformationDisclosure.qhelp
| https://github.com/github/codeql/pull/4388/files#diff-5eacc196c73272631012b8dfb28657bce0863735109f72ca441a5fd5c61e228b |
|
TempDirLocalInformationDisclosure.ql
| https://github.com/github/codeql/pull/4388/files#diff-6d29e19010e83d1c9a9186af28fb2c8743a17540f12f15e006c4d7ee8e8efeb2 |
|
TempDirUsageSafe.java
| https://github.com/github/codeql/pull/4388/files#diff-be2ceb5ac70fbd2a009956e66232734ed5f2b907d2c377fdbe1160c5e72b745b |
|
TempDirUsageVulnerable.java
| https://github.com/github/codeql/pull/4388/files#diff-7d0f5de2e79e4fe31805e18d6a55a166c56515cab231629450435ffbe3175ec5 |
|
TempDirUtils.qll
| https://github.com/github/codeql/pull/4388/files#diff-0188c0fb3eef6f8bb0eccd9371e1a126aaaec4d8d851bde07f576559a5f5f7ca |
|
2022-02-04-local-temp-file-or-directory-information-disclosure.md
| https://github.com/github/codeql/pull/4388/files#diff-4cbf353384aa3e747233b3c4e87cdf10b3c5151752f96eb618c3d2e11aad3a71 |
|
Files.java
| https://github.com/github/codeql/pull/4388/files#diff-d0b37d96b8d66fa171a5d2145da2fc6758a29d39a7d33df34b5a8e7e2f1777e6 |
|
TempDirLocalInformationDisclosure.expected
| https://github.com/github/codeql/pull/4388/files#diff-f2f51b90009dbf4d61c3cde42778dc5826a11351c7c4edc7fdfe69a506782e64 |
|
TempDirLocalInformationDisclosure.qlref
| https://github.com/github/codeql/pull/4388/files#diff-3ce24dc0e347a48c87beacf1204fdb62a4ca969d4b4b5e5d43daf25746975f96 |
|
Test.java
| https://github.com/github/codeql/pull/4388/files#diff-5bd3840e93ec550ae6b38744db95e2dfa16eb6d3f1bda6d0b56f996ff172fe05 |
|
| https://github.com/github/codeql/blob/main/CODEOWNERS#L16 |
| java/ql/lib/semmle/code/java/StringFormat.qll | https://github.com/github/codeql/pull/4388/files#diff-d4cae1e3dc5388fbde18f9ca4e51411bc0cc03160bd1dee60b9aca2945ddb65e |
|
View file
| https://github.com/JLLeitschuh/ql/blob/2048aed0a9dd5731ae9fd8eb4835b0bcfa0851ec/java/ql/lib/semmle/code/java/StringFormat.qll |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/github/codeql/pull/4388/{{ revealButtonHref }} |
|
| https://github.com/github/codeql/pull/4388/files#diff-d4cae1e3dc5388fbde18f9ca4e51411bc0cc03160bd1dee60b9aca2945ddb65e |
|
| https://github.com/github/codeql/pull/4388/files#diff-d4cae1e3dc5388fbde18f9ca4e51411bc0cc03160bd1dee60b9aca2945ddb65e |
|
| https://github.com/github/codeql/blob/main/CODEOWNERS#L16 |
| java/ql/lib/semmle/code/java/frameworks/javaee/ejb/EJBRestrictions.qll | https://github.com/github/codeql/pull/4388/files#diff-f17e9394505092b4b298c3e1a3549d865dc860f6dad6569ea4a240e24b87bde2 |
|
View file
| https://github.com/JLLeitschuh/ql/blob/2048aed0a9dd5731ae9fd8eb4835b0bcfa0851ec/java/ql/lib/semmle/code/java/frameworks/javaee/ejb/EJBRestrictions.qll |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/github/codeql/pull/4388/{{ revealButtonHref }} |
|
| https://github.com/github/codeql/pull/4388/files#diff-f17e9394505092b4b298c3e1a3549d865dc860f6dad6569ea4a240e24b87bde2 |
|
| https://github.com/github/codeql/pull/4388/files#diff-f17e9394505092b4b298c3e1a3549d865dc860f6dad6569ea4a240e24b87bde2 |
|
| https://github.com/github/codeql/blob/main/CODEOWNERS#L16 |
| java/ql/lib/semmle/code/java/security/FileWritable.qll | https://github.com/github/codeql/pull/4388/files#diff-31737aa470534bb4c4dc22d5300cd87ab1bf77c89c84ac06a38c4b3b08467342 |
|
View file
| https://github.com/JLLeitschuh/ql/blob/2048aed0a9dd5731ae9fd8eb4835b0bcfa0851ec/java/ql/lib/semmle/code/java/security/FileWritable.qll |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/github/codeql/pull/4388/{{ revealButtonHref }} |
|
| https://github.com/github/codeql/pull/4388/files#diff-31737aa470534bb4c4dc22d5300cd87ab1bf77c89c84ac06a38c4b3b08467342 |
|
| https://github.com/github/codeql/pull/4388/files#diff-31737aa470534bb4c4dc22d5300cd87ab1bf77c89c84ac06a38c4b3b08467342 |
|
| https://github.com/github/codeql/blob/main/CODEOWNERS#L16 |
| java/ql/src/Security/CWE/CWE-200/TempDirLocalInformationDisclosure.qhelp | https://github.com/github/codeql/pull/4388/files#diff-5eacc196c73272631012b8dfb28657bce0863735109f72ca441a5fd5c61e228b |
|
View file
| https://github.com/JLLeitschuh/ql/blob/2048aed0a9dd5731ae9fd8eb4835b0bcfa0851ec/java/ql/src/Security/CWE/CWE-200/TempDirLocalInformationDisclosure.qhelp |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/github/codeql/pull/4388/{{ revealButtonHref }} |
| aibaars | https://github.com/aibaars |
| Jan 29, 2021 | https://github.com/github/codeql/pull/4388/files#r566705323 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| unix-like | https://en.wikipedia.org/wiki/Unix-like |
| CVSSv3.1 base score of 6.2/10 | https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N&version=3.1 |
| java.nio.file.Files#createTempDirectory | https://docs.oracle.com/javase/8/docs/api/java/nio/file/Files.html#createTempDirectory |
| java.nio.file.Files#createTempFile | https://docs.oracle.com/javase/8/docs/api/java/nio/file/Files.html#createTempFile |
| java.nio.file.Files#createFile | https://docs.oracle.com/javase/8/docs/api/java/nio/file/Files.html#createFile-java.nio.file.Path-java.nio.file.attribute.FileAttribute...- |
| java.nio.file.Files#createDirectory | https://docs.oracle.com/javase/8/docs/api/java/nio/file/Files.html#createDirectory-java.nio.file.Path-java.nio.file.attribute.FileAttribute...- |
| java.nio.file.Files#createDirectories | https://docs.oracle.com/javase/8/docs/api/java/nio/file/Files.html#createDirectories-java.nio.file.Path-java.nio.file.attribute.FileAttribute...- |
| Insecure Temporary File | https://owasp.org/www-community/vulnerabilities/Insecure_Temporary_File |
| FIO00-J. Do not operate on files in shared directories | https://wiki.sei.cmu.edu/confluence/display/java/FIO00-J.+Do+not+operate+on+files+in+shared+directories |
| CWE-200 | https://cwe.mitre.org/data/definitions/200.html |
| CWE-732 | https://cwe.mitre.org/data/definitions/732.html |
| Please reload this page | https://github.com/github/codeql/pull/4388/files |
| Please reload this page | https://github.com/github/codeql/pull/4388/files |
| Please reload this page | https://github.com/github/codeql/pull/4388/files |
|
| https://github.com/github/codeql/blob/main/CODEOWNERS#L16 |
| java/ql/src/Security/CWE/CWE-200/TempDirLocalInformationDisclosure.ql | https://github.com/github/codeql/pull/4388/files#diff-6d29e19010e83d1c9a9186af28fb2c8743a17540f12f15e006c4d7ee8e8efeb2 |
|
View file
| https://github.com/JLLeitschuh/ql/blob/2048aed0a9dd5731ae9fd8eb4835b0bcfa0851ec/java/ql/src/Security/CWE/CWE-200/TempDirLocalInformationDisclosure.ql |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/github/codeql/pull/4388/{{ revealButtonHref }} |
| Please reload this page | https://github.com/github/codeql/pull/4388/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |