{"cve":"CVE-2022-24863","nvd":{"published":"2022-04-18T19:15:09.837","modified":"2026-06-17T04:32:41.120","status":"Modified","description":"http-swagger is an open source wrapper to automatically generate RESTful API documentation with Swagger 2.0. In versions of http-swagger prior to 1.2.6 an attacker may perform a denial of service attack consisting of memory exhaustion on the host system. The cause of the memory exhaustion is down to improper handling of http methods. Users are advised to upgrade. Users unable to upgrade may to restrict the path prefix to the \"GET\" method as a workaround.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-755","CWE-400"],"references":["https://github.com/swaggo/http-swagger/commit/b7d83e8fba85a7a51aa7e45e8244b4173f15049e","https://github.com/swaggo/http-swagger/pull/62","https://github.com/swaggo/http-swagger/releases/tag/v1.2.6","https://github.com/swaggo/http-swagger/security/advisories/GHSA-xg75-q3q5-cqmv","https://github.com/swaggo/http-swagger/commit/b7d83e8fba85a7a51aa7e45e8244b4173f15049e"],"products":["http-swagger_project:http-swagger"],"source":"nvd","synced_at":"2026-10-19T21:30:03.577988018+00:00"},"epss":{"cve":"CVE-2022-24863","score":0.0244,"percentile":0.84304,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-49w7-5r33-jm9m","url":"https://osv.dev/vulnerability/GHSA-49w7-5r33-jm9m","summary":"http-swagger XSS via PUT requests","modified":"2025-01-16T19:57:08Z","packages":[{"ecosystem":"Go","name":"github.com/swaggo/http-swagger","purl":"pkg:golang/github.com/swaggo/http-swagger","ranges":["<1.2.6"],"fixed":["1.2.6"]}]},{"id":"GHSA-xg75-q3q5-cqmv","url":"https://osv.dev/vulnerability/GHSA-xg75-q3q5-cqmv","summary":"Denial of Service in http-swagger","modified":"2024-03-04T18:35:26Z","packages":[{"ecosystem":"Go","name":"github.com/swaggo/http-swagger","purl":"pkg:golang/github.com/swaggo/http-swagger","ranges":["<1.2.6"],"fixed":["1.2.6"]}]},{"id":"GO-2022-0427","url":"https://osv.dev/vulnerability/GO-2022-0427","summary":"Unprotected file upload in github.com/swaggo/http-swagger","modified":"2024-05-20T16:03:47Z","packages":[{"ecosystem":"Go","name":"github.com/swaggo/http-swagger","purl":"pkg:golang/github.com/swaggo/http-swagger","ranges":["<1.2.6"],"fixed":["1.2.6"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}