LuckyPennySoftware AutoMapper
AutoMapper Vulnerable to Denial of Service (DoS) via Uncontrolled Recursion
AutoMapper is a convention-based object-object mapper in .NET. Versions prior to 15.1.1 and 16.1.1 are vulnerable to a Denial of Service (DoS) attack. When mapping deeply nested object graphs, the library uses recursive method calls without enforcing a default maximum depth limit. This allows an attacker to provide a specially crafted object graph that exhausts the thread's stack memory, triggering a `StackOverflowException` and causing the entire application process to terminate. Versions 15.1.1 and 16.1.1 fix the issue.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-674
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
LuckyPennySoftware AutoMapper
- >= 16.0.0, < 16.1.1
- < 15.1.1
Fixed in 16.1.1, 15.1.1
Mitigation
Upgrade AutoMapper to 16.1.1 or 15.1.1 or later.
References
- Vendor advisory github.com/LuckyPennySoftware/AutoMapper/secur…
- Patch github.com/LuckyPennySoftware/AutoMapper/commi…
- Release notes github.com/LuckyPennySoftware/AutoMapper/relea…
1 more
- Release notes github.com/LuckyPennySoftware/AutoMapper/relea…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.