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