mirror of
https://github.com/github/codeql.git
synced 2026-02-03 16:51:07 +01:00
2.6 KiB
2.6 KiB
0.0.9
Bug Fixes
- The View AST functionality no longer prints detailed information about regular expressions, greatly improving performance.
0.0.8
Major Analysis Improvements
- User names and other account information is no longer considered to be sensitive data for the queries
py/clear-text-logging-sensitive-dataandpy/clear-text-storage-sensitive-data, since this lead to many false positives.
0.0.7
0.0.6
New Queries
- Two new queries have been added for detecting Server-side request forgery (SSRF). Full server-side request forgery (
py/full-ssrf) will only alert when the URL is fully user-controlled, and Partial server-side request forgery (py/partial-ssrf) will alert when any part of the URL is user-controlled. Onlypy/full-ssrfwill be run by default.
Minor Analysis Improvements
- To support the new SSRF queries, the PyPI package
requestshas been modeled, along withhttp.client.HTTP[S]Connectionfrom the standard library.
0.0.5
Minor Analysis Improvements
- Added modeling of many functions from the
osmodule that uses file system paths, such asos.stat,os.chdir,os.mkdir, and so on. All of these are new sinks for the Uncontrolled data used in path expression (py/path-injection) query. - Added modeling of the
tempfilemodule for creating temporary files and directories, such as the functionstempfile.NamedTemporaryFileandtempfile.TemporaryDirectory. Thesuffix,prefix, anddirarguments are all vulnerable to path-injection, and these are new sinks for the Uncontrolled data used in path expression (py/path-injection) query. - Extended the modeling of FastAPI such that
fastapi.responses.FileResponseare consideredFileSystemAccess, making them sinks for the Uncontrolled data used in path expression (py/path-injection) query. - Added modeling of the
posixpath,ntpath, andgenericpathmodules for path operations (although these are not supposed to be used), resulting in new sinks for the Uncontrolled data used in path expression (py/path-injection) query. - Added modeling of
wsgiref.simple_serverapplications, leading to new remote flow sources.
0.0.4
Query Metadata Changes
- Fixed the query ids of two queries that are meant for manual exploration:
python/count-untrusted-data-external-apiandpython/untrusted-data-to-external-apihave been changed topy/count-untrusted-data-external-apiandpy/untrusted-data-to-external-api.