Skip to content

Idea to solve CVE-2022-31022 #2155

@RJKeevil

Description

@RJKeevil

Hi, I agree with the Bleve team that this CVE is pretty unfair given it only relates to demo code!

Our reality is that even with the disclaimer, any project using bleve will get tagged with an unmitigated medium vulnerability, and many clients with secure environments will flat out block deployments with known vulnerabilites. So it's still causing pain (for me at least 😄 ).

I thought perhaps a clean solution could be to make the http directory a separate repository, that could be anonymously imported alongside bleve to enable the demo webserver. The CVE should then move to that repo instead. It can be named in a way that makes it very clear it is demo-only functionality. Then people that wish to use the web server can opt in for it, and the CVE.

I'm happy to do the work and supply a PR if you at all think this is at all a sensible idea!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions