Proof of Concept/Test for CVE-2022-24713 on Ubuntu# POC of CVE-2022-24713 on Ubuntu
Install the current rust-regex package on Ubuntu.
Then, clone this repo.
Then, run cargo build.
The regex dependency is set to the /usr/share/cargo/registry folder, so there
will be no dependency issues.
If the compilation takes an absurdly ridiculous long amount of time, it is
a denial of service and is CVE-2022-24713.
If it does not, it has been patched (https://github.com/rust-lang/regex/commit/ae70b41d4f46641dbc45c7a4f87954aea356283e)
[4.0K] /data/pocs/54360050ecd1b9c009ae8859865328eaff17e2fb
├── [ 922] Cargo.lock
├── [ 265] Cargo.toml
├── [ 482] README.md
└── [4.0K] src
└── [ 78] main.rs
1 directory, 4 files