Python: Model FastAPI FileResponse as FileSystemAccess

This was an oversight from our initial FastAPI modeling work.
This commit is contained in:
Rasmus Wriedt Larsen
2021-11-24 11:31:59 +01:00
parent 8c9e817c0d
commit d493cfdf3a
3 changed files with 19 additions and 3 deletions

View File

@@ -0,0 +1,2 @@
lgtm,codescanning
* Extended the modeling of FastAPI such that `fastapi.responses.FileResponse` are considered `FileSystemAccess`, making them sinks for the _Uncontrolled data used in path expression_ (`py/path-injection`) query.