ADVISORIES

Vulnerability

CVE-2022-24863

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.

3 advisories report this vulnerability, across 1 ecosystem.

High severity Go 3

Advisories

  • GHSA-49w7-5r33-jm9m

    http-swagger XSS via PUT requests

    Moderate CVE-2022-24863CVE-2024-25712 Go Updated 16 January 2025
  • GHSA-xg75-q3q5-cqmv

    Denial of Service in http-swagger

    High CVE-2022-24863CVE-2024-25712 Go Updated 4 March 2024
  • GO-2022-0427

    Unprotected file upload in github.com/swaggo/http-swagger

    CVE-2022-24863CVE-2024-25712 Go Updated 20 May 2024

References