-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Aliases: CVE-2022-24863, CVE-2024-25712, GHSA-xg75-q3q5-cqmv Fixes #427 Change-Id: I178e7b978606c0e51bce33e38b3c8a75f68ef639 Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/568015 Auto-Submit: Damien Neil <dneil@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Tatiana Bradley <tatianabradley@google.com>
- Loading branch information
Showing
3 changed files
with
81 additions
and
8 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"schema_version": "1.3.1", | ||
"id": "GO-2022-0427", | ||
"modified": "0001-01-01T00:00:00Z", | ||
"published": "0001-01-01T00:00:00Z", | ||
"aliases": [ | ||
"CVE-2022-24863", | ||
"CVE-2024-25712", | ||
"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.", | ||
"affected": [ | ||
{ | ||
"package": { | ||
"name": "github.com/swaggo/http-swagger", | ||
"ecosystem": "Go" | ||
}, | ||
"ranges": [ | ||
{ | ||
"type": "SEMVER", | ||
"events": [ | ||
{ | ||
"introduced": "0" | ||
}, | ||
{ | ||
"fixed": "1.2.6" | ||
} | ||
] | ||
} | ||
], | ||
"ecosystem_specific": { | ||
"imports": [ | ||
{ | ||
"path": "github.com/swaggo/http-swagger" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"references": [ | ||
{ | ||
"type": "WEB", | ||
"url": "https://cosmosofcyberspace.github.io/improper_http_method_leads_to_xss/poc.html" | ||
}, | ||
{ | ||
"type": "FIX", | ||
"url": "https://github.com/swaggo/http-swagger/pull/62" | ||
}, | ||
{ | ||
"type": "REPORT", | ||
"url": "https://github.com/swaggo/http-swagger/issues/61" | ||
} | ||
], | ||
"database_specific": { | ||
"url": "https://pkg.go.dev/vuln/GO-2022-0427" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
id: GO-2022-0427 | ||
modules: | ||
- module: github.com/swaggo/http-swagger | ||
versions: | ||
- fixed: 1.2.6 | ||
vulnerable_at: 1.2.5 | ||
packages: | ||
- package: github.com/swaggo/http-swagger | ||
summary: Unprotected file upload in github.com/swaggo/http-swagger | ||
description: |- | ||
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. | ||
cves: | ||
- CVE-2022-24863 | ||
- CVE-2024-25712 | ||
ghsas: | ||
- GHSA-xg75-q3q5-cqmv | ||
references: | ||
- web: https://cosmosofcyberspace.github.io/improper_http_method_leads_to_xss/poc.html | ||
- fix: https://github.com/swaggo/http-swagger/pull/62 | ||
- report: https://github.com/swaggo/http-swagger/issues/61 |