pquerna / poc-dsa-verify-CVE-2019-17596

Demonstration of Go's dsa.Verify bug (CVE-2019-17596)

Home Page:https://paul.querna.org/articles/2019/10/24/dsa-verify-poc/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exploiting dsa.Verify in Go (CVE-2019-17596)

Please see the associated blog post for details.

Running

Since versions of Go newer than 1.13.1 are patched, I;ve included a Dockerfile, that makes it easier to pin your Go version. Simply run Docker build:

docker build .

There are two files of interest:

  • dsa_test.go: Contains a test case for causing dsa.Verify to panic/
  • ssh_test.go: Contains a test case for making an crypto/ssh.Client to panic via an evil SSH Host Key.

Improvements, bugs, adding feature, etc:

Please open issues in Github for ideas, bugs, and general thoughts. Pull requests are of course preferred :)

License

poc-dsa-verify-CVE-2019-17596 is licensed under the Apache License, Version 2.0

About

Demonstration of Go's dsa.Verify bug (CVE-2019-17596)

https://paul.querna.org/articles/2019/10/24/dsa-verify-poc/

License:Apache License 2.0


Languages

Language:Go 93.4%Language:Dockerfile 3.5%Language:Shell 3.1%