Skip to content

Commit 39e11fd

Browse files
sethmlarsonpicnixz
andauthored
Apply suggestions from code review
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
1 parent ab10ebe commit 39e11fd

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

security/policy.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,43 +4,43 @@ Security policy
44

55
:ref:`Python Security Response Team <psrt>` (PSRT) members balance this work against
66
many other responsibilities. Please be thoughtful about the time and attention
7-
your report requires. Repeated failure to respect the security policy will
8-
result in future reports being rejected or being banned from the ``python``
7+
your report requires. Repeated failure to respect the security policy will
8+
result in future reports being rejected or banned from the ``python``
99
GitHub organization, regardless of technical merit.
1010

1111
What types of bugs are vulnerabilities?
1212
---------------------------------------
1313

1414
Not all bugs are vulnerabilities. To avoid causing
15-
duplicate work for PSRT members all potential reports
15+
duplicate work for PSRT members, all potential reports
1616
must be evaluated against the relevant threat models
1717
prior to being submitted to the PSRT.
1818
Where possible, cite the relevant threat model to show that
19-
the threat model has been considered while determining whether
19+
the latter has been considered while determining whether
2020
to report a bug as a vulnerability.
2121

2222
Vulnerabilities must be exploitable from code, configurations,
23-
pre-conditions, and deployments that might feasibly exist in
23+
pre-conditions, or deployments that might feasibly exist in
2424
the real world. For example, a vulnerability only affecting code
2525
that does not make sense in a production program
2626
will not be accepted as a vulnerability.
2727

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

3434
Vulnerabilities must not depend on malicious control of Python's launch
35-
conditions, including command line arguments, environment variables, or
35+
conditions, including (but not limited to) command line arguments, environment variables, or
3636
modifications to files on the target system. We assume that, at the time Python
3737
is executed, the environment is as intended by the legitimate user, and any
3838
malicious variation from this cannot be mitigated by Python itself.
3939

40-
Vulnerabilities that affect availability (such as DoS, ReDoS) must be
40+
Vulnerabilities that affect availability (such as DoS or ReDoS) must be
4141
triggerable with data inputs that are reasonably sized for the use-case.
4242
Availability vulnerabilities must also demonstrate an "upward" change in posture
43-
for the attacker, rather than a "lateral" change in posture.
43+
for the attacker, rather than a "lateral" one.
4444
This is to avoid handling performance improvements as security vulnerabilities.
4545

4646
Vulnerabilities in dependencies of Python (such as zlib, Tcl/Tk, or OpenSSL)

0 commit comments

Comments
 (0)