AutoMapperで深くネストしたデータを処理するとサービス停止のおそれがある脆弱性
Summary
AutoMapperには、深くネストしたデータを処理するとスタックオーバーフローでプロセスが強制終了するサービス妨害(DoS)の脆弱性があります。影響するのはNuGet版のAutoMapperで15.1.4より前の版です。修正版の15.1.4に更新してください。外部から受け取るデータをマッピングする用途は、早めの対応をおすすめします。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
AutoMapperには、深くネストしたデータを処理するとスタックオーバーフローでプロセスが強制終了するサービス妨害(DoS)の脆弱性があります。影響するのはNuGet版のAutoMapperで15.1.4より前の版です。修正版の15.1.4に更新してください。外部から受け取るデータをマッピングする用途は、早めの対応をおすすめします。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LuckyPennySoftwareAutoMapper | — | Not listed |
| nugetAutoMapper |
< 15.1.4→ 15.1.4 |
15.1.4 |
Original description The description as published by the source.
AutoMapper is a convention-based object-object mapper in .NET. Prior to 15.1.4 and from 16.0.0 until 16.3.0, AutoMapper can recurse without an effective MaxDepth limit when mapping polymorphic graphs through Include or IncludeBase, runtime-typed object or interface members, nested Dictionary or ExpandoObject sources, or recursive ConvertUsing type converters. Deep attacker-influenced graphs on these paths can throw an uncatchable StackOverflowException and terminate the process. This issue is fixed in versions 15.1.4 and 16.3.0.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com
- web github.com