1- From: Tina Müller <post@tinita.de >
1+ From: Ingy döt Net <ingy@ingy.net >
22To: python-list@python.org, python-announce@python.org, yaml-core@lists.sourceforge.net
3- Subject: [ANN] PyYAML-5.3.1: YAML parser and emitter for Python
3+ Subject: [ANN] PyYAML-5.4 Released
44
5- =======================
6- Announcing PyYAML-5.3.1
7- =======================
5+ =====================
6+ Announcing PyYAML-5.4
7+ =====================
88
99A new release of PyYAML is now available:
10- https://pypi.org/project/PyYAML/
10+ https://github.com/yaml/pyyaml/releases/tag/5.4
1111
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).
1522
16- Thanks to Riccardo Schirone (https://github.com/ret2libc) for both reporting
17- this and providing the fixes to resolve it.
1823
1924Changes
2025=======
2126
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
2332
2433
2534Resources
@@ -55,6 +64,7 @@ files to object serialization and persistence.
5564Example
5665=======
5766
67+ ```
5868>>> import yaml
5969
6070>>> yaml.full_load("""
@@ -72,7 +82,7 @@ name: PyYAML
7282homepage: https://github.com/yaml/pyyaml
7383description: YAML parser and emitter for Python
7484keywords: [YAML, serialization, configuration, persistence, pickle]
75-
85+ ```
7686
7787Maintainers
7888===========
@@ -89,7 +99,7 @@ See: https://github.com/yaml/pyyaml/pulls
8999Copyright
90100=========
91101
92- Copyright (c) 2017-2020 Ingy döt Net <ingy@ingy.net>
102+ Copyright (c) 2017-2021 Ingy döt Net <ingy@ingy.net>
93103Copyright (c) 2006-2016 Kirill Simonov <xi@resolvent.net>
94104
95105The PyYAML module was written by Kirill Simonov <xi@resolvent.net>.
0 commit comments