Giter Club home page Giter Club logo

envoy-cves's Introduction

How to use this tool?

If envoy is in your path, Simply run it!

$ envoy-cves
✔ Success! your envoy was tested and is immune to CVE-2019-9901. Make sure that the option normalize_path is turned on in your HCM settings.
✔ Success! your envoy was tested and is immune to CVE-2019-9900

If not, provide the path to envoy in a flag:

envoy-cves --envoy=/path/to/envoy
✘ Fail! your envoy did not normalize the path - it is vulnerable to CVE-2019-9901
✘ Fail! your envoy accepts nil in headers - it is vulnerable to CVE-2019-9900

What does this tool do?

This tool checks if envoy is vulnerable to CVE-2019-9900 and CVE-2019-9901 by sending envoy crafted inputs and analyizes how envoy responds to those input. Summarizing the results in a simple success\fail out.

How to run this inside a container?

The envoy-cves tool is a single static binary and can easily be used in a docker container. For example, to test the tool with the official envoy docker image, run this:

wget https://github.com/solo-io/envoy-cves/releases/download/v0.1.0/envoy-cves-linux
chmod +x envoy-cves
docker  run -v $PWD/envoy-cves:/bin/envoy-cves --entrypoint=/bin/envoy-cves envoyproxy/envoy

How to run this inside a running a container?

We can copy and run inside a running kuberentes container:

kubectl -n gloo-system cp envoy-cves gateway-proxy-7f5dcc6c46-vp88v:/tmp/envoy-cves
kubectl -n gloo-system exec gateway-proxy-7f5dcc6c46-vp88v /tmp/envoy-cves
✔ Success! your envoy was tested and it is immune to CVE-2019-9901. Make sure the option normalize_path is turned on in your HCM settings.
✔ Success! your envoy was tested and it is immune to CVE-2019-9900

envoy-cves's People

Contributors

yuval-k avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.