Go Vulnerability Database
GO-2022-0470
No access control in github.com/blevesearch/bleve and bleve/v2
Details
HTTP handlers provide unauthenticated access to the local filesystem.
The Bleve http package is intended for demonstration purposes and contains no authentication, authorization, or validation of user inputs. Exposing handlers from this package can permit attackers to create files and delete directories.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/blevesearch/bleve | All versions, no fix listed |
| Go | github.com/blevesearch/bleve/v2 | All versions before 2.5.0 (fixed in 2.5.0) |