PT-2022-20466 · Bleve+1 · Bleve+1
Abhinavdangeti
·
Published
2022-06-01
·
Updated
2025-07-03
·
CVE-2022-31022
CVSS v3.1
6.2
Medium
| Vector | AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
Bleve (affected versions not specified)
Description
The issue concerns the bleve/http package, which is used for demonstration purposes and lacks authentication, authorization, and validation of user inputs. This allows attackers to exploit a node's filesystem where the bleve index resides, creating a bleve index or deleting directories recursively. Users who have used the bleve/http package without explicit handling for Role-Based Access Controls (RBAC) are impacted.
Recommendations
Do not use the bleve/http package in production use cases, as it is intended for demonstration purposes only.
As a temporary workaround, consider disabling the CreateIndexHandler and DeleteIndexHandler functions until alternative measures are implemented.
Restrict access to the bleve index to minimize the risk of exploitation.
Avoid using the bleve/http package without implementing explicit Role-Based Access Controls (RBAC) for the index assets.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Missing Authentication
Authentication Bypass Using an Alternate Path or Channel
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Bleve
Debian