1
- From:
Tina Müller <[email protected] >
1
+ From:
Ingy döt Net <[email protected] >
2
2
3
- Subject: [ANN] PyYAML-5.3.1: YAML parser and emitter for Python
3
+ Subject: [ANN] PyYAML-5.4 Released
4
4
5
- =======================
6
- Announcing PyYAML-5.3.1
7
- =======================
5
+ =====================
6
+ Announcing PyYAML-5.4
7
+ =====================
8
8
9
9
A new release of PyYAML is now available:
10
- https://pypi.org/project/PyYAML/
10
+ https://github.com/yaml/pyyaml/releases/tag/5.4
11
11
12
- This release contains a security fix for CVE-2020-1747. FullLoader was still
13
- exploitable for arbitrary command execution.
14
- https://bugzilla.redhat.com/show_bug.cgi?id=1807367
12
+ This release contains a security fix for CVE-2020-14343. It removes the
13
+ python/module, python/object, and python/object/new tags from the FullLoader.
14
+ YAML that uses these tags must be loaded by UnsafeLoader, or a custom loader
15
+ that has explicitly enabled them.
16
+
17
+ This release also adds Python wheels for manylinux1 (x86_64) and MacOS (x86_64)
18
+ with the libyaml extension included (built on libyaml 0.2.5).
19
+
20
+ PyYAML 5.4 will be the last release to support Python 2.7 (except for possible
21
+ critical bug fix releases).
15
22
16
- Thanks to Riccardo Schirone (https://github.com/ret2libc) for both reporting
17
- this and providing the fixes to resolve it.
18
23
19
24
Changes
20
25
=======
21
26
22
- * https://github.com/yaml/pyyaml/pull/386 -- Prevents arbitrary code execution during python/object/new constructor
27
+ * https://github.com/yaml/pyyaml/pull/407 -- build modernization, remove distutils, fix metadata, build wheels, CI to GHA
28
+ * https://github.com/yaml/pyyaml/pull/472 -- fix for CVE-2020-14343, moves arbitrary python tags to UnsafeLoader
29
+ * https://github.com/yaml/pyyaml/pull/441 -- fix memory leak in implicit resolver setup
30
+ * https://github.com/yaml/pyyaml/pull/392 -- fix py2 copy support for timezone objects
31
+ * https://github.com/yaml/pyyaml/pull/378 -- fix compatibility with Jython
23
32
24
33
25
34
Resources
@@ -55,6 +64,7 @@ files to object serialization and persistence.
55
64
Example
56
65
=======
57
66
67
+ ```
58
68
>>> import yaml
59
69
60
70
>>> yaml.full_load("""
@@ -72,7 +82,7 @@ name: PyYAML
72
82
homepage: https://github.com/yaml/pyyaml
73
83
description: YAML parser and emitter for Python
74
84
keywords: [YAML, serialization, configuration, persistence, pickle]
75
-
85
+ ```
76
86
77
87
Maintainers
78
88
===========
@@ -89,7 +99,7 @@ See: https://github.com/yaml/pyyaml/pulls
89
99
Copyright
90
100
=========
91
101
92
- Copyright (c) 2017-
2020 Ingy döt Net <
[email protected] >
102
+ Copyright (c) 2017-
2021 Ingy döt Net <
[email protected] >
93
103
Copyright (c) 2006-2016 Kirill Simonov <
[email protected] >
94
104
95
105
The PyYAML module was written by Kirill Simonov <
[email protected] >.
0 commit comments