| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:30e61ca2-c973-e5e8-ca72-a4febfe332c5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DD72:240FF0:6766FC:955F12:6A4E0DAC |
| html-safe-nonce | 45152aa323f4ce67f563236ed692144f7dbfc0cde627be54403172a69bbe1ee5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDcyOjI0MEZGMDo2NzY2RkM6OTU1RjEyOjZBNEUwREFDIiwidmlzaXRvcl9pZCI6IjgzMzc4NjE2MTg4NTY0OTY1NTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0102287985a68c2f79e04f8e090de7d7445888f1498dbe410ea75d908b1178b2 |
| hovercard-subject-tag | pull_request:784874344 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/github/codeql-go/609/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/fca9d50a810471b6b12702ab083baa02709a24e66cbf6f8135c7368088ff5328/github/codeql-go/pull/609 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fca9d50a810471b6b12702ab083baa02709a24e66cbf6f8135c7368088ff5328/github/codeql-go/pull/609 |
| og:image:alt | This PR adds a query for Log Injection (CWE-117).
Description
If unsanitized user input is written to a log entry, a malicious user may be able to forge new log entries.
Forgery can occur if a user... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | atorralba |
| hostname | github.com |
| expected-hostname | github.com |
| None | df0492960db29b4938cb72070351d6b1d0c6c0767b27ceb8394bbf4fcc0223c6 |
| turbo-cache-control | no-cache |
| go-import | github.com/github/codeql-go git https://github.com/github/codeql-go.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 218150891 |
| octolytics-dimension-repository_nwo | github/codeql-go |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 218150891 |
| octolytics-dimension-repository_network_root_nwo | github/codeql-go |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 51470c353b8a1f52a88d3e3cc2014b17ab8cc1ce |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/github/codeql-go/pull/609#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-go%2Fpull%2F609 |
| 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-go%2Fpull%2F609 |
|
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=github%2Fcodeql-go |
| Reload | https://github.com/github/codeql-go/pull/609 |
| Reload | https://github.com/github/codeql-go/pull/609 |
| Reload | https://github.com/github/codeql-go/pull/609 |
| Please reload this page | https://github.com/github/codeql-go/pull/609 |
|
github
| https://github.com/github |
| codeql-go | https://github.com/github/codeql-go |
|
Notifications
| https://github.com/login?return_to=%2Fgithub%2Fcodeql-go |
|
Fork
128
| https://github.com/login?return_to=%2Fgithub%2Fcodeql-go |
|
Star
470
| https://github.com/login?return_to=%2Fgithub%2Fcodeql-go |
|
Code
| https://github.com/github/codeql-go |
|
Issues
1
| https://github.com/github/codeql-go/issues |
|
Pull requests
6
| https://github.com/github/codeql-go/pulls |
|
Actions
| https://github.com/github/codeql-go/actions |
|
Projects
| https://github.com/github/codeql-go/projects |
|
Models
| https://github.com/github/codeql-go/models |
|
Security and quality
0
| https://github.com/github/codeql-go/security |
|
Insights
| https://github.com/github/codeql-go/pulse |
|
Code
| https://github.com/github/codeql-go |
|
Issues
| https://github.com/github/codeql-go/issues |
|
Pull requests
| https://github.com/github/codeql-go/pulls |
|
Actions
| https://github.com/github/codeql-go/actions |
|
Projects
| https://github.com/github/codeql-go/projects |
|
Models
| https://github.com/github/codeql-go/models |
|
Security and quality
| https://github.com/github/codeql-go/security |
|
Insights
| https://github.com/github/codeql-go/pulse |
| atorralba | https://github.com/atorralba |
| main | https://github.com/github/codeql-go/tree/main |
| atorralba/log-injection-query | https://github.com/github/codeql-go/tree/atorralba/log-injection-query |
| Conversation | https://github.com/github/codeql-go/pull/609 |
| Commits5 (5) | https://github.com/github/codeql-go/pull/609/commits |
| Checks | https://github.com/github/codeql-go/pull/609/checks |
| Files changed | https://github.com/github/codeql-go/pull/609/files |
| Go: Add Log Injection query (CWE-117) | https://github.com/github/codeql-go/pull/609#top |
| atorralba | https://github.com/atorralba |
| main | https://github.com/github/codeql-go/tree/main |
| atorralba/log-injection-query | https://github.com/github/codeql-go/tree/atorralba/log-injection-query |
|
| https://github.com/atorralba |
| atorralba | https://github.com/atorralba |
| Nov 19, 2021 | https://github.com/github/codeql-go/pull/609#issue-1058732521 |
| Please reload this page | https://github.com/github/codeql-go/pull/609 |
| reasoning | https://github.com/github/codeql/pull/7054#:~:text=Java%20%3A%20Add%20Log%20Injection%20Vulnerability%C2%A0%235099%20(comment) |
| @smowton | https://github.com/smowton |
| https://www.owasp.org/index.php/Log_Injection | https://www.owasp.org/index.php/Log_Injection |
| Please reload this page | https://github.com/github/codeql-go/pull/609 |
|
| https://github.com/atorralba |
| Add Log Injection query | https://github.com/github/codeql-go/pull/609/commits/c886d10388525d652a177b16c1a0260be62838f2 |
| c886d10 | https://github.com/github/codeql-go/pull/609/commits/c886d10388525d652a177b16c1a0260be62838f2 |
| https://github.com/atorralba |
| atorralba | https://github.com/atorralba |
| code owner | https://github.com/github/codeql-go/blob/4cae4b23fc1b2b1760e259b660996e9bb5573279/CODEOWNERS#L1 |
| November 19, 2021 16:55 | https://github.com/github/codeql-go/pull/609#event-5646615212 |
| atorralba | https://github.com/atorralba |
| November 19, 2021 18:04 | https://github.com/github/codeql-go/pull/609#commits-pushed-d4a20f1 |
|
| https://github.com/atorralba |
| Autoformat | https://github.com/github/codeql-go/pull/609/commits/d4a20f1222cd020eb2cec0d443e9a52918adb6bb |
| d4a20f1 | https://github.com/github/codeql-go/pull/609/commits/d4a20f1222cd020eb2cec0d443e9a52918adb6bb |
|
| https://github.com/atorralba |
| Fix *Depth log levels in glog and klog | https://github.com/github/codeql-go/pull/609/commits/c9332cdccb2523567979a23fafcab300933fd522 |
| c9332cd | https://github.com/github/codeql-go/pull/609/commits/c9332cdccb2523567979a23fafcab300933fd522 |
|
| https://github.com/atorralba |
| Fix stubs | https://github.com/github/codeql-go/pull/609/commits/f2017b626e4cdcbcdd024ba832f3804f9c6525f3 |
| f2017b6 | https://github.com/github/codeql-go/pull/609/commits/f2017b626e4cdcbcdd024ba832f3804f9c6525f3 |
| https://github.com/atorralba |
| atorralba | https://github.com/atorralba |
| force-pushed | https://github.com/github/codeql-go/compare/4f26661f374b14e16266f005a4ce77651cd992b0..f2017b626e4cdcbcdd024ba832f3804f9c6525f3 |
| 4f26661 | https://github.com/github/codeql-go/commit/4f26661f374b14e16266f005a4ce77651cd992b0 |
| f2017b6 | https://github.com/github/codeql-go/commit/f2017b626e4cdcbcdd024ba832f3804f9c6525f3 |
|
Compare
| https://github.com/github/codeql-go/compare/4f26661f374b14e16266f005a4ce77651cd992b0..f2017b626e4cdcbcdd024ba832f3804f9c6525f3 |
| November 22, 2021 08:15 | https://github.com/github/codeql-go/pull/609#event-5652102091 |
| https://github.com/owen-mc |
| owen-mc | https://github.com/owen-mc |
| Nov 24, 2021 | https://github.com/github/codeql-go/pull/609#issuecomment-977359241 |
| Please reload this page | https://github.com/github/codeql-go/pull/609 |
| https://github.com/atorralba |
| atorralba | https://github.com/atorralba |
| Nov 24, 2021 | https://github.com/github/codeql-go/pull/609#issuecomment-977632240 |
| Please reload this page | https://github.com/github/codeql-go/pull/609 |
| https://github.com/owen-mc |
| owen-mc | https://github.com/owen-mc |
|
Nov 24, 2021
| https://github.com/github/codeql-go/pull/609#pullrequestreview-814743698 |
|
View reviewed changes
| https://github.com/github/codeql-go/pull/609/files/f2017b626e4cdcbcdd024ba832f3804f9c6525f3 |
| https://github.com/atorralba |
| atorralba | https://github.com/atorralba |
|
ready-for-doc-review
| https://github.com/github/codeql-go/issues?q=state%3Aopen%20label%3Aready-for-doc-review |
| Nov 24, 2021 | https://github.com/github/codeql-go/pull/609#event-5666237634 |
| https://github.com/mattpollard |
| mattpollard | https://github.com/mattpollard |
|
Nov 24, 2021
| https://github.com/github/codeql-go/pull/609#pullrequestreview-814859637 |
|
View reviewed changes
| https://github.com/github/codeql-go/pull/609/files/f2017b626e4cdcbcdd024ba832f3804f9c6525f3 |
| mattpollard | https://github.com/mattpollard |
| https://github.com/github/codeql-go/pull/609#pullrequestreview-814859637 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/github/codeql-go/pull/609 |
| ql/src/Security/CWE-117/LogInjection.qhelp | https://github.com/github/codeql-go/pull/609/files/f2017b626e4cdcbcdd024ba832f3804f9c6525f3#diff-e32409f9b13cbe456a6d1f91f75f99b40da01fa543d7cb3b079b0d2cef90bbe0 |
| Please reload this page | https://github.com/github/codeql-go/pull/609 |
|
| https://github.com/atorralba |
|
| https://github.com/mattpollard |
| Update ql/src/Security/CWE-117/LogInjection.qhelp | https://github.com/github/codeql-go/pull/609/commits/cc8d9bdc7fedb410917ee26347cbf2650e7cf7f9 |
| cc8d9bd | https://github.com/github/codeql-go/pull/609/commits/cc8d9bdc7fedb410917ee26347cbf2650e7cf7f9 |
| https://github.com/atorralba |
| atorralba | https://github.com/atorralba |
| 662f880 | https://github.com/github/codeql-go/commit/662f880ab8723181ec3d604896d1c1531ff7f123 |
| Nov 24, 2021 | https://github.com/github/codeql-go/pull/609#event-5667409426 |
| https://github.com/atorralba |
| atorralba | https://github.com/atorralba |
| November 24, 2021 14:52 | https://github.com/github/codeql-go/pull/609#event-5667481090 |
| https://github.co/hiddenchars |
| https://github.com/github/codeql-go/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-go%2Fpull%2F609 |
|
| https://github.com/mattpollard |
|
mattpollard
| https://github.com/mattpollard |
|
| https://github.com/github/codeql-go/pull/609/files/f2017b626e4cdcbcdd024ba832f3804f9c6525f3 |
|
| https://github.com/owen-mc |
|
owen-mc
| https://github.com/owen-mc |
|
| https://github.com/github/codeql-go/pull/609/files/f2017b626e4cdcbcdd024ba832f3804f9c6525f3 |
|
ready-for-doc-review
| https://github.com/github/codeql-go/issues?q=state%3Aopen%20label%3Aready-for-doc-review |
| Please reload this page | https://github.com/github/codeql-go/pull/609 |
|
| https://github.com/atorralba |
|
| https://github.com/owen-mc |
|
| https://github.com/mattpollard |
|
| https://github.com/docubot |
|
| 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 |