Query
Link to pull request with your CodeQL query:
Relevant PR: github/codeql#5889
CVE ID(s)
List the CVE ID(s) associated with this vulnerability. GitHub will automatically link CVE IDs to the GitHub Advisory Database.
Report
Describe the vulnerability. Provide any information you think will help GitHub assess the impact your query has on the open source community.
The idea of this PR is to improve default SQLInjection query by adding ClickHouseDriver.qll module with describes clickhouse-driver PyPI package. This module hsa self Client with several methods to execute query. Also clickhouse-driver has a PEP249 interface.
When this module will be moved from experimental folder to standart library, it would automatically improve existing Sqlnjection.ql query. But for now, for a demonstration, i created a separate query which imports experimental module and repeats standart query. I also added python snippet for clickhouse-driver usage and qhelp which describes different cases from that example code.
Result(s)
Provide at least one useful result found by your query, on some revision of a real project.
Going to search for some explotable findings on not latest revisions of projects.
Query
Link to pull request with your CodeQL query:
Relevant PR: github/codeql#5889
CVE ID(s)
List the CVE ID(s) associated with this vulnerability. GitHub will automatically link CVE IDs to the GitHub Advisory Database.
Report
Describe the vulnerability. Provide any information you think will help GitHub assess the impact your query has on the open source community.
The idea of this PR is to improve default SQLInjection query by adding ClickHouseDriver.qll module with describes clickhouse-driver PyPI package. This module hsa self Client with several methods to execute query. Also clickhouse-driver has a PEP249 interface.
When this module will be moved from experimental folder to standart library, it would automatically improve existing Sqlnjection.ql query. But for now, for a demonstration, i created a separate query which imports experimental module and repeats standart query. I also added python snippet for clickhouse-driver usage and qhelp which describes different cases from that example code.
Possibly i will share my experience on the upcoming conference on Defense Talk about SAST.
Result(s)
Provide at least one useful result found by your query, on some revision of a real project.
Going to search for some explotable findings on not latest revisions of projects.