Skip to content

Bump AutoMapper to 15.1.4, 17.0.0 - #6

Open
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/nuget/TestTask1(Backend)/Web.API/nuget-b96a8efb0c
Open

dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/nuget/TestTask1(Backend)/Web.API/nuget-b96a8efb0c

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 30, 2026

Copy link
Copy Markdown

Updated AutoMapper from 13.0.1 to 15.1.4.

Release notes

Sourced from AutoMapper's releases.

15.1.4

Security

This release fixes two denial-of-service vulnerabilities. In both, deeply nested input could bypass MaxDepth and exhaust the stack. The resulting StackOverflowException can't be caught, so it ends the process. Please upgrade if your application maps untrusted, deeply nested data.

  • GHSA-6vhm-j9h7-f9gh: MaxDepth wasn't enforced when mapping through constructor parameters, including positional records. Thanks to @​mcambria for the report.
  • GHSA-gpwp-5797-mjff: other recursion paths bypassed MaxDepth: derived maps, object and interface members, dictionary and dynamic sources, and recursive type converters.

CVE IDs have been requested and will be added here once they're assigned.

Behavior changes

  • Recursion that MaxDepth can't limit now throws a catchable InsufficientExecutionStackException instead of crashing the process.
  • Derived maps (Include / IncludeBase) now inherit MaxDepth and get the default limit of 64 for self-referential maps. If your polymorphic graphs legitimately go deeper, set MaxDepth explicitly.
  • Constructor mapping now stops at the same depth as property mapping.

Other fixes

  • Fixed Context.Items are only available... exceptions with MaxDepth, which depended on registration or warmup order (#​4651, backported in #​4676)

What's Changed

Full Changelog: LuckyPennySoftware/AutoMapper@v15.1.3...v15.1.4

15.1.3

What's Changed

Security

Fixed an issue where certain cyclic or self-referential object graphs could trigger uncontrolled recursion during mapping, potentially resulting in stack exhaustion and denial of service.

Applications that process untrusted or attacker-controlled object graphs through affected mapping paths may be impacted.

Users should upgrade to this release.

Security advisory: GHSA-rvv3-g6hj-g44x

Thanks to @​skdishansachin for responsibly disclosing this issue.

Full Changelog: LuckyPennySoftware/AutoMapper@v15.1.0...v15.1.3

15.1.2

[!WARNING]
This release was built from the wrong branch and is deprecated. The v15.1.2 tag was created on main instead of release/15.x, so this package contains 16.x code: it targets net10.0/net471 and depends on Microsoft.Extensions.* 10.0.0. See #​4620.

  • For 15.x, use 15.1.3 or later, which contains the 15.x backport of the GHSA-rvv3-g6hj-g44x fix.
  • If you need net10.0/net471 targets or 16.x APIs, upgrade to 16.x instead.

This version has been unlisted and deprecated on NuGet. Existing restores of this exact version still work.

What's Changed

Security

Fixed an issue where certain cyclic or self-referential object graphs could trigger uncontrolled recursion during mapping, potentially resulting in stack exhaustion and denial of service.

Applications that process untrusted or attacker-controlled object graphs through affected mapping paths may be impacted.

Users should upgrade to this release.

Security advisory: GHSA-rvv3-g6hj-g44x

Thanks to @​skdishansachin for responsibly disclosing this issue.

Full Changelog: LuckyPennySoftware/AutoMapper@v16.1.1...v15.1.2

15.1.1

[!WARNING]
This release was built from the wrong branch and is deprecated. The v15.1.1 tag was created on main instead of release/15.x, so this package contains 16.x code: it targets net10.0/net471 and depends on Microsoft.Extensions.* 10.0.0. See #​4620.

  • For 15.x, use 15.1.3 or later, which contains the 15.x backport of the GHSA-rvv3-g6hj-g44x fix.
  • If you need net10.0/net471 targets or 16.x APIs, upgrade to 16.x instead.

This version has been unlisted and deprecated on NuGet. Existing restores of this exact version still work.

What's Changed

Security

Fixed an issue where certain cyclic or self-referential object graphs could trigger uncontrolled recursion during mapping, potentially resulting in stack exhaustion and denial of service.

Applications that process untrusted or attacker-controlled object graphs through affected mapping paths may be impacted.

Users should upgrade to this release.

Security advisory: GHSA-rvv3-g6hj-g44x

Thanks to @​skdishansachin for responsibly disclosing this issue.

Full Changelog: LuckyPennySoftware/AutoMapper@v16.1.1...v15.1.1

15.1.0

What's Changed

New Contributors

Full Changelog: LuckyPennySoftware/AutoMapper@v15.0.1...v15.1.0

15.0.1

What's Changed

Full Changelog: LuckyPennySoftware/AutoMapper@v15.0.0...v15.0.1

This release supersedes the 15.0.0 release, reverting behavior and overloads so that the AddAutoMapper overloads separate the "scanning for maps" from the "scanning for dependencies". Unfortunately it's not really possible to combine these two together.

This also fixes a critical bug in #​4545 that does not work with .NET 4.x applications (as intended).

Because of this, the 15.0.0 will be delisted because of the breaking changes there.

15.0.0

Full Changelog: LuckyPennySoftware/AutoMapper@v14.0.0...v15.0.0

  • Added support for .NET Standard 2.0
  • Requiring license key
  • Moving from MIT license to dual commercial/OSS license

To set your license key:

services.AddAutoMapper(cfg => {
    cfg.LicenseKey = "<License key here>";
});

This also introduced a breaking change with MapperConfiguration requiring an ILoggerFactory for logging purposes:

public MapperConfiguration(MapperConfigurationExpression configurationExpression, ILoggerFactory loggerFactory)

Registering AutoMapper with services.AddAutoMapper will automatically supply this parameter. Otherwise you'll need to supply the logger factory.

You can obtain your license key at AutoMapper.io

14.0.0

What's Changed

New Contributors

Full Changelog: LuckyPennySoftware/AutoMapper@v13.0.1...v14.0.0

Commits viewable in compare view.

Updated AutoMapper from 15.1.4 to 17.0.0.

Release notes

Sourced from AutoMapper's releases.

17.0.0

What's Changed

Full Changelog: LuckyPennySoftware/AutoMapper@v16.3.0...v17.0.0

16.3.0

Security

This release fixes two denial-of-service vulnerabilities. In both, deeply nested input could bypass MaxDepth and exhaust the stack. The resulting StackOverflowException can't be caught, so it ends the process. Please upgrade if your application maps untrusted, deeply nested data.

  • GHSA-6vhm-j9h7-f9gh: MaxDepth wasn't enforced when mapping through constructor parameters, including positional records. Thanks to @​mcambria for the report.
  • GHSA-gpwp-5797-mjff: other recursion paths bypassed MaxDepth: derived maps, object and interface members, dictionary and dynamic sources, and recursive type converters.

CVE IDs have been requested and will be added here once they're assigned.

Behavior changes

  • Recursion that MaxDepth can't limit now throws a catchable InsufficientExecutionStackException instead of crashing the process.
  • Derived maps (Include / IncludeBase) now inherit MaxDepth and get the default limit of 64 for self-referential maps. If your polymorphic graphs legitimately go deeper, set MaxDepth explicitly.
  • Constructor mapping now stops at the same depth as property mapping.
  • Condition on ForAllMembers, or any condition whose member parameter is object or a base type, now receives the source member value instead of the value converted to the destination type, when those types differ. This matches the documented contract. A null in a nullable source member is now seen as null rather than 0 or false (#​4655).

Other highlights

  • Fixed Context.Items are only available... exceptions with MaxDepth, which depended on registration or warmup order (#​4651)

  • License keys get a 30-day renewal grace period, which logs a warning instead of an error (#​4667)

  • Clearer license validation messages for malformed keys, client platforms and IdentityModel version mismatches (#​4670)

  • Whitespace is stripped from license keys (#​4663), and license validation is isolated from the host app's CryptoProviderFactory (#​4674)

  • What's Changed

New Contributors

Full Changelog: LuckyPennySoftware/AutoMapper@v16.2.0...v16.3.0

16.2.0

What's Changed

New Contributors

Full Changelog: LuckyPennySoftware/AutoMapper@v15.1.1...v16.2.0

16.1.1

What's Changed

Security

Fixed an issue where certain cyclic or self-referential object graphs could trigger uncontrolled recursion during mapping, potentially resulting in stack exhaustion and denial of service.

Applications that process untrusted or attacker-controlled object graphs through affected mapping paths may be impacted.

Users should upgrade to this release.

Security advisory: GHSA-rvv3-g6hj-g44x

Thanks to @​skdishansachin for responsibly disclosing this issue.

Full Changelog: LuckyPennySoftware/AutoMapper@v16.1.0...v16.1.1

16.1.0

What's Changed

New Contributors

Full Changelog: LuckyPennySoftware/AutoMapper@v16.0.0...v16.1.0

16.0.0

What's Changed

Full Changelog: LuckyPennySoftware/AutoMapper@v15.1.0...v16.0.0

16.0.0-beta-1

What's Changed

Full Changelog: LuckyPennySoftware/AutoMapper@v15.1.0...v16.0.0-beta-1

This release is a beta release that introduces .NET 10 support and package signing. Signed packages means going forward packages can be validated against trusted authorities that the package has been published by Lucky Penny Software and not tampered with.

Commits viewable in compare view.

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Nov 30, 2026
@duckatgit
duckatgit force-pushed the dependabot/nuget/TestTask1(Backend)/Web.API/nuget-b96a8efb0c branch from 02fef62 to f2db2b6 Compare November 30, 2026 16:09
@duckatgit
duckatgit force-pushed the dependabot/nuget/TestTask1(Backend)/Web.API/nuget-b96a8efb0c branch from f2db2b6 to 6c38735 Compare November 30, 2026 16:41
@duckatgit
duckatgit force-pushed the dependabot/nuget/TestTask1(Backend)/Web.API/nuget-b96a8efb0c branch from 6c38735 to cea1a1f Compare December 2, 2026 12:35
@duckatgit
duckatgit force-pushed the dependabot/nuget/TestTask1(Backend)/Web.API/nuget-b96a8efb0c branch from cea1a1f to 865155c Compare December 2, 2026 20:02
@duckatgit
duckatgit force-pushed the dependabot/nuget/TestTask1(Backend)/Web.API/nuget-b96a8efb0c branch from 865155c to f3f71e5 Compare December 2, 2026 21:16
@duckatgit
duckatgit force-pushed the dependabot/nuget/TestTask1(Backend)/Web.API/nuget-b96a8efb0c branch from f3f71e5 to 25fe3c7 Compare December 2, 2026 21:58
@duckatgit
duckatgit force-pushed the dependabot/nuget/TestTask1(Backend)/Web.API/nuget-b96a8efb0c branch from 25fe3c7 to 684d40c Compare December 3, 2026 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant