Advisory

GO-2022-0470

Also known as: CVE-2022-31022, GHSA-9w9f-6mg8-jp7w

Summary

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.

Severity

Not rated by the source.

Dates

Published
2022-07-15 23:29 UTC
Modified
2026-02-04 02:45 UTC

Affected packages and fixes

github.com/blevesearch/bleve

Go · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

github.com/blevesearch/bleve/v2

Go · All systems

Affected

  • introduced 0, fixed 2.5.0 (semver)

Fixed versions

2.5.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences