ADVISORIES

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

EcosystemPackageAffected versions
Gogithub.com/blevesearch/bleve
All versions, no fix listed
Gogithub.com/blevesearch/bleve/v2
All versions before 2.5.0 (fixed in 2.5.0)

References