File tree 3 files changed +4
-2
lines changed
3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 33
33
.. [1] https://flask.palletsprojects.com/en/1.1.x/quickstart/#debug-mode
34
34
.. [2] https://werkzeug.palletsprojects.com/en/1.0.x/debug/
35
35
.. [3] https://labs.detectify.com/2015/10/02/how-patreon-got-hacked-publicly-exposed-werkzeug-debugger/
36
- .. [4] https://cwe.mitre.org/data/definitions/94.html
36
+ .. https://cwe.mitre.org/data/definitions/94.html
37
37
38
38
.. versionadded:: 0.15.0
39
39
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ def snmp_insecure_version_check(context):
20
20
:Example:
21
21
22
22
.. code-block:: none
23
+
23
24
>> Issue: [B508:snmp_insecure_version_check] The use of SNMPv1 and
24
25
SNMPv2 is insecure. You should use SNMPv3 if able.
25
26
Severity: Medium Confidence: High
Original file line number Diff line number Diff line change 19
19
20
20
:Example:
21
21
22
+ .. code-block:: none
23
+
22
24
>> Issue: [yaml_load] Use of unsafe yaml load. Allows instantiation of
23
25
arbitrary objects. Consider yaml.safe_load().
24
26
Severity: Medium Confidence: High
28
30
5 y = yaml.load(ystr)
29
31
6 yaml.dump(y)
30
32
31
-
32
33
.. seealso::
33
34
34
35
- https://pyyaml.org/wiki/PyYAMLDocumentation#LoadingYAML
You can’t perform that action at this time.
0 commit comments