Advisory

GO-2022-0427

Also known as: CVE-2022-24863, CVE-2024-25712, GHSA-49w7-5r33-jm9m, GHSA-xg75-q3q5-cqmv

Summary

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

Details

The httpSwagger package's HTTP handler provides WebDAV read/write access to an in-memory filesystem. An attacker can exploit this to cause memory exhaustion by uploading many files, XSS attacks by uploading malicious files, or other unexpected behaviors.

Severity

Not rated by the source.

Dates

Published
2024-02-29 15:38 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

github.com/swaggo/http-swagger

Go · All systems

Affected

  • introduced 0, fixed 1.2.6 (semver)

Fixed versions

1.2.6

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences