QID 570010

QID 570010: Missing 4XX Responses on the End Point

When the API end point is not utilized properly error should be reported. When request is crafted incorrectly 4XX error code is reported. All the end points responses are analyzed for specific response codes. Analysis of the swagger file resulted in the current end point not being defined to return 4XX response code. One of the following 4XX HTTP status codes should be returned on all the requests that are have unexpected information:

400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
405 - Method Not Allowed
407 - Proxy Authentication Required
408 - Request Timeout
413 - Payload Too Large
414 - URI Too Long

When the operation results in a 4XX response the end point will not be able to service the request.

Solution
Please return a 4XX response for all the operations. "/burger": get: responses: "200": description: All the burgers please "429": description: We're super busy right now, please wait. post: responses: "401": description: This API is protected, only authorized users. "200": description: Burger was created! well done
Vendor References

CVEs related to QID 570010

Software Advisories
Advisory ID Software Component Link

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report