QID 580516
QID 580516: Integer Field Minimum Value Matches Schema
In this scenario minimum values for integer fields, whose minimum limit is defined, are tested. For all integer type fields who maximum is not defined, this test is skipped. Values less than the minimum defined in the swagger file for integer 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 defined in the swagger file. Based on testing done replacing integer fields with values lower than the minimum defined in the swagger file it is determined that the defined minimum limits in the swagger files are enforced successfully by the server for all integer type fields.
Enforcing the minimum value set on the field will help provide clarity to the API users and avoid abuse of the API by hackers. Enforcing limits help in mitigating resource exhaustion attacks.
CVEs related to QID 580516
| Advisory ID | Software | Component | Link |
|---|