QID 580531
QID 580531: Integer and Numeric Field Exact Maximum Matches Schema
In this scenario exact maximum value for integer and numeric type fields, whose maximum limit is defined, are tested. For all integer and numeric type fields who maximum is not defined, this test is skipped. Integer and numeric type fields, are replaced with exact maximum 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 maximum defined in swagger file it is determined that the defined maximum limits are enforced successfully for all integer and numeric fields.
Enforcing the maximum 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 580531
| Advisory ID | Software | Component | Link |
|---|