github.com/swaggo/http-swagger
Affected
- introduced
0, fixed1.2.6(semver)
Fixed versions
1.2.6
Fix
- Fixed version
1.2.6go get github.com/swaggo/[email protected]
Advisory
Also known as: CVE-2022-24863, CVE-2024-25712, GHSA-49w7-5r33-jm9m, GHSA-xg75-q3q5-cqmv
Unprotected file upload in github.com/swaggo/http-swagger
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.
Not rated by the source.
0, fixed 1.2.6 (semver)1.2.6
1.2.6go get github.com/swaggo/[email protected]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
Source: Go Vulnerability Database · CC BY 4.0