CVE-2022-24863 Denial of service in http-swagger
MediumCVSS 6.1
EPSS 2.4%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
http-swagger before 1.2.6 allows XSS via PUT requests, because a file that has been uploaded (via httpSwagger.WrapHandler and *webdav.memFile) can subsequently be accessed via a GET request. NOTE: this is independently fixable with respect to CVE-2022-24863, because (if a solution continued to allow PUT requests) large files could have been blocked without blocking JavaScript, or JavaScript could have been blocked without blocking large files.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| http-swagger project http-swagger | < 1.2.6 | 1.2.6 | Fixed |
| swaggo github.com/swaggo/http-swagger(Go) | < 1.2.6 | 1.2.6 | Fixed |
| swaggo github.com/swaggo/http-swagger | = < 1.2.6 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| swaggo github.com/swaggo/http-swagger(Go) | < 1.2.6 | 1.2.6 |
| swaggo github.com/swaggo/http-swagger | = < 1.2.6 | No fix listed |
| http-swagger project http-swagger | < 1.2.6 | 1.2.6 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- github.com patch third-party-advisory
- cosmosofcyberspace.github.io exploit third-party-advisory
- github.com product
- github.com release-notes third-party-advisory
- github.com third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking
- github.com
- github.com