Reword change note

This commit is contained in:
Owen Mansel-Chan
2025-07-22 00:09:37 +01:00
committed by GitHub
parent b4b848a25c
commit e2f3c9d1b6

View File

@@ -1,4 +1,5 @@
---
category: minorAnalysis
---
* Remove model `CreateTemp` function, from the `os` package, as a path-injection sink due to proper sanitization by Go. Add check for `os.PathSeparator` in sanitizers for path-injection query.
* The second argument of the `CreateTemp` function, from the `os` package, is no longer a path-injection sink due to proper sanitization by Go.
* The query "Uncontrolled data used in path expression" (`go/path-injection`) now detects sanitizing a path by adding `os.PathSeparator` or `\` to the beginning.