de43a9775d
Fix CVE-2020-14343: A vulnerability was discovered in the PyYAML library
in versions before 5.4, where it is susceptible to arbitrary code
execution when it processes untrusted YAML files through the full_load
method or with the FullLoader loader. Applications that use the library
to process untrusted input may be vulnerable to this flaw. This flaw
allows an attacker to execute arbitrary code on the system by abusing
the python/object/new constructor. This flaw is due to an incomplete fix
for CVE-2020-1747.
Update hash of LICENSE file (update in year:
58d0cb7ee0
)
https://github.com/yaml/pyyaml/blob/5.4.1/CHANGES
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
21 lines
786 B
Makefile
21 lines
786 B
Makefile
################################################################################
|
|
#
|
|
# python-pyyaml
|
|
#
|
|
################################################################################
|
|
|
|
# Please keep in sync package/python3-pyyaml/python3-pyyaml.mk
|
|
PYTHON_PYYAML_VERSION = 5.4.1
|
|
PYTHON_PYYAML_SOURCE = PyYAML-$(PYTHON_PYYAML_VERSION).tar.gz
|
|
PYTHON_PYYAML_SITE = https://files.pythonhosted.org/packages/a0/a4/d63f2d7597e1a4b55aa3b4d6c5b029991d3b824b5bd331af8d4ab1ed687d
|
|
PYTHON_PYYAML_SETUP_TYPE = distutils
|
|
PYTHON_PYYAML_LICENSE = MIT
|
|
PYTHON_PYYAML_LICENSE_FILES = LICENSE
|
|
PYTHON_PYYAML_CPE_ID_VENDOR = pyyaml
|
|
PYTHON_PYYAML_CPE_ID_PRODUCT = pyyaml
|
|
PYTHON_PYYAML_DEPENDENCIES = libyaml
|
|
HOST_PYTHON_PYYAML_DEPENDENCIES = host-libyaml
|
|
|
|
$(eval $(python-package))
|
|
$(eval $(host-python-package))
|