Skip to content
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

Java: Promote JNDI Injection query from experimental #5931

Merged
merged 16 commits into from Aug 4, 2021

Conversation

@atorralba
Copy link
Contributor

@atorralba atorralba commented May 20, 2021

PR to promote the JNDI Injection query created in #3288

Changes

  • Existing files were moved out of experimental.
  • The JndiInjectionLib.qll file was renamed to JndiInjection.qll and refactored to use the CSV sink model. Also, added new sinks.
  • No longer necessary .qll libs were removed from experimental. frameworks/Jndi.qll was kept, since it contains classes still in use.
  • Refactored tests to use InlineExpectationsTest.

To consider

  • UnsafeSearchControlsSink is probably worth reviewing - it uses a DataFlow::Configuration to detect new sinks receiving a SearchControls parameter with .setReturningObjFlag(true)
@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Jul 20, 2021

⚠️ The head of this PR and the base branch were compared for differences in the framework coverage reports. The generated reports are available in the artifacts of this workflow run. The differences will be picked up by the nightly job after the PR gets merged. The differences can be found in the comparison artifact of this workflow run.

Loading

@atorralba
Copy link
Contributor Author

@atorralba atorralba commented Jul 20, 2021

@github/docs-content-codeql please review the qhelp file. Even though changes aren't introduced in this PR, it wasn't reviewed when this query was merged to experimental.

Loading

@docs-bot
Copy link

@docs-bot docs-bot commented Jul 20, 2021

:octocat:📚 Thanks for the docs ping! 🛎️ This was added to our docs first-responder project board. A team member will be along shortly to respond. To request changes to the docs you can also open a CodeQL docs issue.

Loading

Improve negation
@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Jul 29, 2021

⚠️ The head of this PR and the base branch were compared for differences in the framework coverage reports. The generated reports are available in the artifacts of this workflow run. The differences will be picked up by the nightly job after the PR gets merged. The differences can be found in the comparison artifact of this workflow run.

Loading

Copy link
Contributor

@mchammer01 mchammer01 left a comment

@atorralba - this is looking great 💖
I made a minor update in the qhelp file, and made a suggestion to improve the query description.
Hope this helps!

Loading

Loading
Copy link
Contributor

@aschackmull aschackmull left a comment

Some minor comments, otherwise LGTM.

Loading

Co-authored-by: Anders Schack-Mulligen <aschackmull@users.noreply.github.com>
@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Aug 4, 2021

⚠️ The head of this PR and the base branch were compared for differences in the framework coverage reports. The generated reports are available in the artifacts of this workflow run. The differences will be picked up by the nightly job after the PR gets merged. The differences can be found in the comparison artifact of this workflow run.

Loading

@aschackmull aschackmull merged commit 6a09a56 into github:main Aug 4, 2021
8 checks passed
Loading
@atorralba atorralba deleted the atorralba/promote-jndi-injection branch Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants