Skip to content

Commit 208ef8d

Browse files
committed
Add security policy
Closes #477
1 parent 8c6c960 commit 208ef8d

File tree

1 file changed

+107
-0
lines changed

1 file changed

+107
-0
lines changed

SECURITY.md

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
This is the Security Policy for the Perl DBD::mysql distribution.
2+
3+
Report security issues via email to <[email protected]> or via the private
4+
security issue reporting feature in GitHub.
5+
6+
The latest version of the Security Policy can be found in the
7+
[git repository for DBD::mysql](https://github.com/perl5-dbi/DBD-mysql).
8+
9+
This text is based on the CPAN Security Group's Guidelines for Adding
10+
a Security Policy to Perl Distributions (version 1.4.1)
11+
https://security.metacpan.org/docs/guides/security-policy-for-authors.html
12+
13+
# How to Report a Security Vulnerability
14+
15+
Security vulnerabilities can be reported by e-mail to the current
16+
project maintainers at <[email protected]>.
17+
18+
Please include as many details as possible, including code samples
19+
or test cases, so that we can reproduce the issue. Check that your
20+
report does not expose any sensitive data, such as passwords,
21+
tokens, or personal information.
22+
23+
Project maintainers will normally credit the reporter when a
24+
vulnerability is disclosed or fixed. If you do not want to be
25+
credited publicly, please indicate that in your report.
26+
27+
If you would like any help with triaging the issue, or if the issue
28+
is being actively exploited, please copy the report to the CPAN
29+
Security Group (CPANSec) at <[email protected]>.
30+
31+
Please *do not* use the public issue reporting system on RT or
32+
GitHub issues for reporting security vulnerabilities.
33+
34+
Please do not disclose the security vulnerability in public forums
35+
until past any proposed date for public disclosure, or it has been
36+
made public by the maintainers or CPANSec. That includes patches or
37+
pull requests or mitigation advice.
38+
39+
For more information, see
40+
[Report a Security Issue](https://security.metacpan.org/docs/report.html)
41+
on the CPANSec website.
42+
43+
## Response to Reports
44+
45+
The maintainer(s) aim to acknowledge your security report as soon as
46+
possible. However, this project is maintained by a single volunteer in
47+
their spare time, and they cannot guarantee a rapid response. If you
48+
have not received a response from them within a week, then
49+
please send a reminder to them and copy the report to CPANSec at
50+
51+
52+
Please note that the initial response to your report will be an
53+
acknowledgement, with a possible query for more information. It
54+
will not necessarily include any fixes for the issue.
55+
56+
The project maintainer(s) may forward this issue to the security
57+
contacts for other projects where we believe it is relevant. This
58+
may include embedded libraries, system libraries, prerequisite
59+
modules or downstream software that uses this software.
60+
61+
They may also forward this issue to CPANSec.
62+
63+
# Which Software This Policy Applies To
64+
65+
Any security vulnerabilities in DBD::mysql are covered by this policy.
66+
67+
Security vulnerabilities in versions of any libraries that are
68+
included in DBD::mysql are also covered by this policy.
69+
70+
Security vulnerabilities are considered anything that allows users
71+
to execute unauthorised code, access unauthorised resources, or to
72+
have an adverse impact on accessibility or performance of a system.
73+
74+
Security vulnerabilities in upstream software (prerequisite modules
75+
or system libraries, or in Perl), are not covered by this policy
76+
unless they affect DBD::mysql, or DBD::mysql can be used to exploit
77+
vulnerabilities in them.
78+
79+
Security vulnerabilities in downstream software (any software that
80+
uses DBD::mysql, or plugins to it that are not included with the
81+
DBD::mysql distribution) are not covered by this policy.
82+
83+
## Supported Versions of DBD::mysql
84+
85+
The maintainer(s) will release security fixes for the latest version
86+
of DBD::mysql.
87+
88+
Note that the DBD::mysql project only supports major versions of Perl
89+
released in the past ten (10) years, even though DBD::mysql will run on
90+
older versions of Perl. If a security fix requires the maintainers to
91+
increase the minimum version of Perl that is supported, then they may
92+
do so.
93+
94+
# Installation and Usage Issues
95+
96+
The distribution metadata specifies minimum versions of
97+
prerequisites that are required for DBD::mysql to work. However, some
98+
of these prerequisites may have security vulnerabilities, and you
99+
should ensure that you are using up-to-date versions of these
100+
prerequisites.
101+
102+
Where security vulnerabilities are known, the metadata may indicate
103+
newer versions as recommended.
104+
105+
## Usage
106+
107+
Please see the software documentation for further information.

0 commit comments

Comments
 (0)