QID 580537
QID 580537: Exact Minimum for Integer and Numeric Field Matches Schema
In this scenario exact minimum value for integer and numeric type fields, whose minimum limit is defined, are tested. For all integer and numeric type fields who minimum is not defined, this test is skipped. Integer and numeric type fields, are replaced with exact minimum value defined in the swagger file and sent to the server for the endpoint being tested. The expectation is that APIs will accept the request as value and treat it as happy path.
Based on testing done replacing integer and numeric values with the exact minimum defined in swagger file it is determined that the defined minimum limits are enforced successfully for all integer and numeric 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 580537
| Advisory ID | Software | Component | Link |
|---|