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