Files
codeql/csharp/ql/lib/change-notes/released/4.0.0.md
2024-12-04 16:01:14 +00:00

1.3 KiB

4.0.0

Breaking Changes

Minor Analysis Improvements

  • Added support for data-flow through member accesses of objects with dynamic types.
  • Only extract public and protected members from reference assemblies. This yields an approximate average speed-up of around 10% for extraction and query execution. Custom MaD rows using Field-based summaries may need to be changed to SyntheticField-based flows if they reference private fields.
  • Added Microsoft.AspNetCore.Components.NagivationManager::Uri as a remote flow source, since this value may contain user-specified values.
  • Added the following URI-parsing methods as summaries, as they may be tainted with user-specified values:
    • System.Web.HttpUtility::ParseQueryString
    • Microsoft.AspNetCore.WebUtilities.QueryHelpers::ParseQuery
    • Microsoft.AspNetCore.WebUtilities.QueryHelpers::ParseNullableQuery
  • Added js-interop sinks for the InvokeAsync and InvokeVoidAsync methods of Microsoft.JSInterop.IJSRuntime, which can run arbitrary JavaScript.