From 857d9f61c3d03d5699338c5c625ba8a2b5bf608f Mon Sep 17 00:00:00 2001 From: Tomas Tauber <2410580+tomtau@users.noreply.github.com> Date: Tue, 19 Sep 2023 08:25:00 +0800 Subject: [PATCH] Create SECURITY.md --- SECURITY.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 SECURITY.md diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 00000000..7e90dc8c --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,24 @@ +# Security Policy + +## Supported Versions + +Only the most recent minor version is supported. + +| Version | Supported | +| ------- | ------------------ | +| 2.7.x | :white_check_mark: | +| < 2.7.x | :x: | + + +## Reporting a Vulnerability + +Please use the [GitHub private reporting functionality](https://github.com/pest-parser/pest/security/advisories/new) +to submit potential security bug reports. If the bug report is reproduced and valid, we'll then: + +- Prepare a fix and regression tests. +- Make a patch release for the most recent release. +- Submit an advisory to [rustsec/advisory-db](https://github.com/RustSec/advisory-db). +- Refer to the advisory in the release notes. + +If you're *looking* for security bugs, [this crate is set up for +`cargo fuzz`](https://github.com/pest-parser/pest/blob/master/FUZZING.md) but would benefit from more runtime, targets and corpora.