{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-24863","id":"CVE-2022-24863","title":"Denial of service in http-swagger","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 res","descriptionLong":"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.","published":"2022-04-18T19:00:22.000Z","updated":"2026-10-28T02:31:13.311818214Z","reserved":"2022-02-10T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":7.8,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:C","rating":"high","source":"NVD"}],"rating":"high","products":["swaggo http-swagger"],"affectedProducts":[{"vendor":"swaggo","product":"http-swagger","defaultStatus":null,"versions":[{"status":"affected","version":"< 1.2.6"}],"platforms":[]}],"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"],"advisory":"GHSA-49w7-5r33-jm9m"}],"cwes":["CWE-400","CWE-755","CWE-79"],"aliases":["CVE-2024-25712","GHSA-49w7-5r33-jm9m","GHSA-xg75-q3q5-cqmv","GO-2022-0427"],"references":[{"url":"https://github.com/swaggo/http-swagger/security/advisories/GHSA-xg75-q3q5-cqmv","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/swaggo/http-swagger/pull/62","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","fix","web"]},{"url":"https://github.com/swaggo/http-swagger/commit/b7d83e8fba85a7a51aa7e45e8244b4173f15049e","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/swaggo/http-swagger/releases/tag/v1.2.6","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24863.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24863","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-25712","tags":["advisory"]},{"url":"https://cosmosofcyberspace.github.io/improper_http_method_leads_to_xss/poc.html","tags":["web"]},{"url":"https://github.com/swaggo/http-swagger","tags":["package"]},{"url":"https://github.com/swaggo/http-swagger/issues/61","tags":["report"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.0244,"epssPercentile":0.84648,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-24863","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24863","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-24863","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-49w7-5r33-jm9m","ok":true,"note":"GHSA-49w7-5r33-jm9m"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xg75-q3q5-cqmv","ok":true,"note":"GHSA-xg75-q3q5-cqmv"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-24863","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}