PT-2022-15050 · Micronaut · Micronaut
Published
2022-01-18
·
Updated
2022-01-26
·
CVE-2022-21700
CVSS v3.1
5.3
Medium
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Name of the Vulnerable Software and Affected Versions
Micronaut versions prior to 3.2.7
Description
Sending an invalid Content Type header leads to a memory leak in
DefaultArgumentConversionContext as this type is erroneously used in static state.Recommendations
For versions prior to 3.2.7, update to Micronaut 3.2.7 or above to resolve the issue.
As a temporary workaround, consider replacing the default content type binder in an existing Micronaut application with a custom implementation, such as the provided
FixedRequestBinderRegistry class, to mitigate the issue.Exploit
Fix
Resource Exhaustion
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Micronaut