Skip to content

AutomapperIgnoreNullValues: bump AutoMapper to 16.3.0 - #2457

Open
vladimir-pecanac-main wants to merge 1 commit into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/96340-automapper-16-3
Open

vladimir-pecanac-main wants to merge 1 commit into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/96340-automapper-16-3

Conversation

@vladimir-pecanac-main

Copy link
Copy Markdown
Collaborator

Moves the sample for "AutoMapper: How to Ignore Null Values When Mapping" from AutoMapper 16.2.0 to 16.3.0.

16.2.0 is affected by two high-severity advisories, both fixed in 16.3.0:

  • GHSA-gpwp-5797-mjff: MaxDepth bypassed on polymorphic maps, object/interface members, dictionary and dynamic sources, and recursive type converters
  • GHSA-6vhm-j9h7-f9gh: MaxDepth not enforced through constructor parameters and positional records

Only the AutoMapper version in Console/AutoMapperIgnoreNullValues.csproj changes. On net10.0 the console output is the same as on 16.2.0, the 8 tests pass, and dotnet list package --vulnerable reports no vulnerable packages for the console project.

16.2.0 is affected by GHSA-gpwp-5797-mjff and GHSA-6vhm-j9h7-f9gh (both high, fixed in 16.3.0). Console output and the 8 tests are unchanged on net10.0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant