Skip to content

Commit 7944527

Browse files
sethmlarsonhugovk
andauthored
Add section on security fixes, backports, backwards-incompatible fixes
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent a7c782c commit 7944527

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

security/policy.rst

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,32 @@ Here's what to expect for how a vulnerability report will be handled:
144144
For more information about how the PSRT handles vulnerabilities,
145145
see :ref:`psrt-vulnerability-process`.
146146

147+
When are security fixes released or backported?
148+
-----------------------------------------------
149+
150+
Advisories and CVE records are published after a security fix is first merged.
151+
The CVE record contains information about the patch and will be kept up-to-date
152+
as the patch is backported and released to Python versions.
153+
154+
According to :pep:`602`, Python versions receive five years of security updates
155+
after the new Python version is released. However, these security updates
156+
are not published according to a fixed schedule or as a result of any security
157+
fix being available. The schedule for security updates is determined by
158+
the Release Manager. Users are encouraged to apply patches themselves ahead
159+
of patches being merged and released if necessary.
160+
161+
Security fixes that only affect binary installers (such as macOS and Windows)
162+
will not be published to Python release streams that are
163+
:ref:`source-only <secbranch>`.
164+
165+
Some security fixes may require introducing backwards-incompatible behavior
166+
changes. In these circumstances, the Python Steering Council
167+
will decide with the relevant Release Managers whether to introduce
168+
a backwards incompatible change to fix a security vulnerability
169+
in a stable version. This may affect whether a security fix is backported
170+
to all Python versions or enabled by default. See the CVE record for
171+
more information.
172+
147173
Code of conduct
148174
---------------
149175

0 commit comments

Comments
 (0)