Skip to content

Go: Fix GoLang queries #43

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
merged 20 commits into from
May 30, 2024
Merged

Go: Fix GoLang queries #43

merged 20 commits into from
May 30, 2024

Conversation

GeekMasher
Copy link
Contributor

@GeekMasher GeekMasher commented Jan 18, 2024

Dependency Updates - run codeql pack upgrade

  • go/lib/codeql-pack.lock.yml, go/src/codeql-pack.lock.yml, and go/test/codeql-pack.lock.yml: Updated the versions of dependencies including codeql/dataflow, codeql/go-all, codeql/mad, codeql/ssa, codeql/tutorial, codeql/typetracking, and codeql/util. Also, removed codeql/go-queries and codeql/suite-helpers dependencies from the test file. [1] [2] [3]

Taint-Tracking Configurations:

  • go/src/audit/CWE-089/SqlInjectionAudit.ql: Changed the SqlInjectionAudit class to a private module Config that implements DataFlow::ConfigSig. Also, modified the taint-tracking configuration for detecting SQL injection vulnerabilities.
  • go/src/security/CWE-078/CommandInjection.ql: Modified the FlowConfig module to include a isBarrier predicate and made changes to the isSource predicate. Also, changed the flow path in the FlowGraph module. [1] [2]

Data Flow Changes:

Miscellaneous Changes:

@GeekMasher GeekMasher mentioned this pull request Jan 18, 2024
@GeekMasher GeekMasher changed the title Go: Fix CMDi query Go: Fix GoLang queries May 29, 2024
@GeekMasher GeekMasher requested review from felickz and pwntester May 29, 2024 17:39
Copy link
Contributor

@felickz felickz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@GeekMasher GeekMasher merged commit 68fd949 into main May 30, 2024
12 checks passed
@GeekMasher GeekMasher deleted the geekmasher-go-queries branch May 30, 2024 09:00
@GeekMasher GeekMasher mentioned this pull request Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants