GO-2022-0427

See a problem?
Source
https://pkg.go.dev/vuln/GO-2022-0427
Import Source
https://vuln.go.dev/ID/GO-2022-0427.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2022-0427
Aliases
Published
2024-02-29T15:38:09Z
Modified
2024-05-20T16:03:47Z
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.

References

Affected packages

Go / github.com/swaggo/http-swagger

Package

Name
github.com/swaggo/http-swagger
View open source insights on deps.dev
Purl
pkg:golang/github.com/swaggo/http-swagger

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.2.6

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/swaggo/http-swagger"
        }
    ]
}