Add a security policy for reporting vulnerabilities #1557
+5
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Without a security policy defined, if someone finds a security vulnerability in the project and wants to submit a patch, they must make the patch public. This means potential attackers could exploit the vulnerability and compromise projects that are using Python-Markdown.
In practice, without a security policy, security researchers cannot properly author CVEs through any well-established system, and as a result Python-Markdown is not regularly checked for security vulnerabilities.
To begin addressing this, I am opening this issue to propose creating a SECURITY.md document, which will enable the
Security policy
in the repository’sSecurity
tab.For private patch submissions through the GitHub system, CVE researchers also need someone with write access to the repository settings to enable
Private vulnerability reporting
. TheSecurity advisories
tab can also be enabled without forcing reports to be public, since each advisory can later be marked as public or kept private.Note: there is another approach you might want to consider. You can create a single global SECURITY.md file that applies to all repositories in your organization by creating a Python-Markdown/.github repository and placing the SECURITY.md file there.