[ANN] PyYAML-5.3.1: YAML parser and emitter for Python

Tina Müller <[email protected]> Wed, 18 Mar 2020 22:48:40 +0100 (CET)
Newsgroups gmane.comp.python.general,gmane.text.yaml.general
Message-ID <[email protected]>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Announcing PyYAML-5.3.1
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

A new release of PyYAML is now available:
https://pypi.org/project/PyYAML/

This release contains a security fix for CVE-2020-1747. FullLoader was still
exploitable for arbitrary command execution.
https://bugzilla.redhat.com/show_bug.cgi?id=3D1807367

Thanks to Riccardo Schirone (https://github.com/ret2libc) for both reporting
this and providing the fixes to resolve it.

Changes
=3D=3D=3D=3D=3D=3D=3D

* https://github.com/yaml/pyyaml/pull/386 -- Prevents arbitrary code execut=
ion during python/object/new constructor


Resources
=3D=3D=3D=3D=3D=3D=3D=3D=3D

PyYAML IRC Channel: #pyyaml on irc.freenode.net
PyYAML homepage: https://github.com/yaml/pyyaml
PyYAML documentation: http://pyyaml.org/wiki/PyYAMLDocumentation
Source and binary installers: https://pypi.org/project/PyYAML/
GitHub repository: https://github.com/yaml/pyyaml/
Bug tracking: https://github.com/yaml/pyyaml/issues

YAML homepage: http://yaml.org/
YAML-core mailing list: http://lists.sourceforge.net/lists/listinfo/yaml-co=
re


About PyYAML
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

YAML is a data serialization format designed for human readability and
interaction with scripting languages. PyYAML is a YAML parser and emitter f=
or
Python.

PyYAML features a complete YAML 1.1 parser, Unicode support, pickle support,
capable extension API, and sensible error messages. PyYAML supports standard
YAML tags and provides Python-specific tags that allow to represent an
arbitrary Python object.

PyYAML is applicable for a broad range of tasks from complex configuration
files to object serialization and persistence.


Example
=3D=3D=3D=3D=3D=3D=3D

>>> import yaml

>>> yaml.full_load("""
... name: PyYAML
... description: YAML parser and emitter for Python
... homepage: https://github.com/yaml/pyyaml
... keywords: [YAML, serialization, configuration, persistence, pickle]
... """)
{'keywords': ['YAML', 'serialization', 'configuration', 'persistence',
'pickle'], 'homepage': 'https://github.com/yaml/pyyaml', 'description':
'YAML parser and emitter for Python', 'name': 'PyYAML'}

>>> print(yaml.dump(_))
name: PyYAML
homepage: https://github.com/yaml/pyyaml
description: YAML parser and emitter for Python
keywords: [YAML, serialization, configuration, persistence, pickle]


Maintainers
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

The following people are currently responsible for maintaining PyYAML:

* Tina Mueller
* Ingy d=F6t Net
* Matt Davis

and many thanks to all who have contribributed!
See: https://github.com/yaml/pyyaml/pulls


Copyright
=3D=3D=3D=3D=3D=3D=3D=3D=3D

Copyright (c) 2017-2020 Ingy d=F6t Net <[email protected]>
Copyright (c) 2006-2016 Kirill Simonov <[email protected]>

The PyYAML module was written by Kirill Simonov <[email protected]>.
It is currently maintained by the YAML and Python communities.

PyYAML is released under the MIT license.
See the file LICENSE for more details.
-- =

https://mail.python.org/mailman/listinfo/python-list