8000 GOV: write up policy on not updating req for CVEs in dependencies · matplotlib/matplotlib@0a19d20 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0a19d20

Browse files
committed
GOV: write up policy on not updating req for CVEs in dependencies
This comes up about every other month.
1 parent 4cbef2d commit 0a19d20

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

doc/devel/min_dep_policy.rst

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ without compiled extensions
4949
We will only bump these dependencies as we need new features or the old
5050
versions no longer support our minimum NumPy or Python.
5151

52+
We should work around bugs in our dependencies when practical.
53+
54+
5255
Test and documentation dependencies
5356
===================================
5457

@@ -58,8 +61,10 @@ support for old versions. However, we need to be careful to not
5861
over-run what down-stream packagers support (as most of the run the
5962
tests and build the documentation as part of the packaging process).
6063

61-
We will support at least minor versions of the development
62-
dependencies released in the 12 months prior to our planned release.
64+
We will support at least minor versions of the development dependencies
65+
released in the 12 months prior to our planned release. Specific versions that
66+
are known to be buggy may be excluded from support using the finest-grained
67+
filtering that is practical.
6368

6469
We will only bump these as needed or versions no longer support our
6570
minimum Python and NumPy.
@@ -76,6 +81,19 @@ In the case of GUI frameworks for which we rely on Python bindings being
7681
available, we will also drop support for bindings so old that they don't
7782
support any Python version that we support.
7883

84+
Security Issues in Dependencies
85+
===============================
86+
87+
In most cases we should not adjust the versions supported based on CVEs to our
88+
dependencies. We are a library not an application and the version constraints
89+
on our dependencies indicate what will work (not what is wise to use). Users
90+
and packagers can install newer versions of the dependencies their discretion
91+
and evaluation of risk and impact. In contrast, if we were to adjust our
92+
minimum supported version it is very hard for a user to override our judgment.
93+
94+
If Matplotlib aids in exploiting the underlying vulnerability we should treat
95+
that as a critical bug in Matplotlib.
96+
7997
.. _list-of-dependency-min-versions:
8098

8199
List of dependency versions

0 commit comments

Comments
 (0)
0