GHSA-43w5-mmxv-cpvh: Micronaut vulnerable to DoS via crafted form-urlencoded body binding with descending array indices
In JsonBeanPropertyBinder::expandArrayToThreshold in io.micronaut:micronaut-json-core before Micronaut 4 4.10.16 and in Micronaut 3 before 3.10.5 does not correctly handle descending array index order during form-urlencoded body binding, which allows remote attackers to cause a denial of service (non-terminating loop, CPU exhaustion, and OutOfMemoryError) via crafted indexed form parameters (e.g., authors[1].name followed by authors[0].name).
References
- github.com/advisories/GHSA-43w5-mmxv-cpvh
- github.com/micronaut-projects/micronaut-core
- github.com/micronaut-projects/micronaut-core/commit/1afe509677c51b320041b7a2c177366d4a4deb55
- github.com/micronaut-projects/micronaut-core/pull/12410
- github.com/micronaut-projects/micronaut-core/releases/tag/v3.10.5
- github.com/micronaut-projects/micronaut-core/releases/tag/v4.10.16
- github.com/micronaut-projects/micronaut-core/security/advisories/GHSA-43w5-mmxv-cpvh
Code Behaviors & Features
Detect and mitigate GHSA-43w5-mmxv-cpvh with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →