Is github.com/blevesearch/bleve/v2 2.1 vulnerable?

Go · 2 releases from 2.1.0 to 2.1.1 · latest github.com/blevesearch/bleve/v2 is 2.6.3 · checked 18 Nov 2026

Yes: 2 known advisories

Yes. github.com/blevesearch/bleve/v2 2.1.1, the last 2.1 release, is affected by 2 known security advisories (1 medium, 1 low), including CVE-2022-31022, CVE-2022-31022. Upgrade to 2.5.0 or later to fix all of them.

Upgrade with:go get github.com/blevesearch/bleve/v2@v2.5.0

Is your project on an affected github.com/blevesearch/bleve/v2?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting github.com/blevesearch/bleve/v2 2.1.1

  • LowCVE-2022-31022GO-2022-047015 Jul 2022

    No access control in github.com/blevesearch/bleve and bleve/v2

    Affected
    <2.5.0
    Fixed in
    2.5.0
  • MediumCVE-2022-31022GHSA-9w9f-6mg8-jp7w3 Jun 2022

    Missing Role Based Access Control for the REST handlers in bleve/http package

    Affected
    <2.5.0
    Fixed in
    2.5.0

Every github.com/blevesearch/bleve/v2 2.1.x release

Affected: 2.1.0 to 2.1.1. Latest github.com/blevesearch/bleve/v2: 2.6.3.

VersionKnown advisories
github.com/blevesearch/bleve/v2 2.1.1CVE-2022-31022, CVE-2022-31022
github.com/blevesearch/bleve/v2 2.1.0CVE-2022-31022, CVE-2022-31022

Which of your client projects are still on github.com/blevesearch/bleve/v2 2.1?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact github.com/blevesearch/bleve/v2 version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other github.com/blevesearch/bleve/v2 versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Go registry. Refreshed daily.