POC exploit of CVE-2021-3345, a vulnerability in libgcrypt version 1.9.0# CVE-2021-3345
#### How to build vulnerable libgcrypt
```
git clone --single-branch --branch LIBGCRYPT-1.9-BRANCH https://dev.gnupg.org/source/libgcrypt.git
cd libgcrypt
git checkout aa3f595341eb
./autogen.sh
./configure --enable-maintainer-mode && make
```
#### How to use exploit
```
make
./main
```
This vulnerability is not really interesting, because most distros use an older version of libgcrypt so they are not vulnerable. There is a possibilty this can be reproduced on other software that uses libgcrypt as a dependency.
[4.0K] /data/pocs/7ebfdbf30c674122d063f02abce3ab97152cc911
├── [1.0K] LICENSE
├── [2.6K] main.c
├── [ 376] Makefile
└── [ 535] README.md
0 directories, 4 files