Servers and applications
CVE-2022-25757
In Apache APISIX before 2.13.0, when decoding JSON with duplicate keys, lua-cjson will choose the last occurred value as the result. By passing a JSON with a duplicate key, the attacker can bypass the body_schema validation in the request-validation plugin. For example, `{"string_payload":"bad","string_payload":"good"}` can be used to hide the "bad" input. Systems satisfy three conditions below…
- Severity
- Critical 9.8
- Published
- 28 Mar 2022
- Last changed
- 17 Jun 2026
- Added to UpHeron
- 1 Nov 2026
- Fixed in
- 2.13.0
- Sources
- NVD
Affected software
| Software | Affected versions |
|---|---|
Apache APISIXServers and applications · cpe:a:apache:apisix |
|