Skip to content

Commit f5878b8

Browse files
sethmlarsonhugovk
andauthored
Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent e12f3a9 commit f5878b8

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

security/policy.rst

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
===============
2-
Security Policy
2+
Security policy
33
===============
44

55
Python Security Response Team (PSRT) members balance this work against
@@ -26,8 +26,8 @@ that does not make sense in a production program
2626
will not be accepted as a vulnerability.
2727

2828
Documented functionality will not be considered a vulnerability.
29-
For example, :mod:`pickle`, :mod:`marshal`, :mod:`shelve`, :mod:`eval`,
30-
and :mod:`exec` are documented to execute arbitrary Python code that is supplied
29+
For example, :mod:`pickle`, :mod:`marshal`, :mod:`shelve`, :func:`eval`,
30+
and :func:`exec` are documented to execute arbitrary Python code that is supplied
3131
as data. The :mod:`ctypes` module is documented to enable modifying arbitrary
3232
locations in memory.
3333

@@ -49,13 +49,13 @@ interferes with secure use of the dependency.
4949
For example, a vulnerability in the bundled copy of zlib in Python is a
5050
vulnerability in zlib, not Python.
5151

52-
What versions of Python are accepting reports?
53-
----------------------------------------------
52+
What versions of Python accept reports?
53+
---------------------------------------
5454

55-
Python accepts security vulnerabilities and will
56-
assign CVE IDs for `supported Python versions <branchstatus>`_ that have a status of
57-
`"bugfix" or "security" <version-status-key>`_. Versions that are not yet
58-
stable (status of `"feature" or "prerelease" <version-status-key>`_) are not
55+
Python accepts vulnerability reports and will
56+
assign CVE IDs for :ref:`supported Python versions <branchstatus>` that have a status of
57+
:ref:`"bugfix" or "security" <version-status-key>`. Versions that are not yet
58+
stable (status of :ref:`"feature" or "prerelease" <version-status-key>`) are not
5959
eligible for CVE IDs. If the vulnerability only exists in prerelease versions
6060
(alphas, betas, release candidates), then the issue should be reported as a
6161
regular bug.
@@ -121,10 +121,10 @@ Here's what to expect for how a vulnerability report will be handled:
121121
the advisory and CVE record will be published with attribution.
122122

123123
For more information about how the PSRT handles vulnerabilities,
124-
`consult the Python Developer Guide <psrt-vulnerability-process>`__.
124+
see :ref:`psrt-vulnerability-process`.
125125

126-
PSF Code of Conduct
127-
-------------------
126+
Code of conduct
127+
---------------
128128

129129
Well-being and safety of the Python Security Response Team members is
130130
prioritized over the technical merit of vulnerability reports.

0 commit comments

Comments
 (0)