-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ASM] iast: Fix
Microsoft.Data.Sqlite
database tainting (#6295)
## Summary of changes - The instrumentation introduced for tainting values coming from database was incorrect for `Microsoft.Data.Sqlite`. A typo was introduced in the name `Microsoft.Data.Sqlite.SqliteDataReader`, thus making the instrumentation fail. - Instrumentations now use the latest dotnet version supported (here dotnet 9) ## Test coverage Tests on database tainting such as Stored XSS or Stored SQLI has been updated to also create an SQLite connection using `Microsoft.Data.Sqlite` while also keeping the `System.Data.SQLite` connection. ## Other details Original implementation PR: #5804
- Loading branch information
Showing
14 changed files
with
226 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 19 additions & 19 deletions
38
...race.SourceGenerators/InstrumentationDefinitionsGenerator/InstrumentationDefinitions.g.cs
Large diffs are not rendered by default.
Oops, something went wrong.
38 changes: 19 additions & 19 deletions
38
...race.SourceGenerators/InstrumentationDefinitionsGenerator/InstrumentationDefinitions.g.cs
Large diffs are not rendered by default.
Oops, something went wrong.
38 changes: 19 additions & 19 deletions
38
...race.SourceGenerators/InstrumentationDefinitionsGenerator/InstrumentationDefinitions.g.cs
Large diffs are not rendered by default.
Oops, something went wrong.
38 changes: 19 additions & 19 deletions
38
...race.SourceGenerators/InstrumentationDefinitionsGenerator/InstrumentationDefinitions.g.cs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.