QID 570085
QID 570085: Ambiguous Paths
Paths are considered ambiguous if we get an identical path when we replace the curly braces and the string in it with a constant. Analysis of your swagger file resulted in detection of ambiguity.
For example: The following paths are considered identical and invalid:
/pets/{petId}
/pets/{name}
The following may lead to ambiguous resolution:
/{entity}/me
/books/{id}
Path specified in the swagger specification must be unique to avoid ambiguity. When the uniqueness is missing there is no clarity to API users and could result in requests making to the wrong end point.
Solution
Avoid ambiguous paths by ensuring the uniqueness of all the end points.
Vendor References
CVEs related to QID 570085
Software Advisories
| Advisory ID | Software | Component | Link |
|---|