QID 580505
QID 580505: Decimal Fields Maximum Limit Mismatch Schema
In this scenario maximum value for decimal fields are tested. Values more than the maximum defined in the swagger file for decimal fields are sent to the server for the endpoint being tested. The expectation is that APIs will reject the request as invalid, if the value is more than it's maximum. Based on testing done using requests with values more than the maximum it is determined that the maximum limits defined in the swagger file are not enforced as expected. The response code received for the request with higher values for decimal fields is not expected and does not match the response documented in the swagger file schema.
Enforcing the maximum value defined on the decimal field swagger file will help provide clarity to the API users and avoid abuse of the API by hackers. Enforcing limits help in mitigating resource exhaustion attacks. Since enforcing maximum limit is not adhering to the schema, the current end point is potential to resource exhaustion attacks.
CVEs related to QID 580505
| Advisory ID | Software | Component | Link |
|---|