portage-ng / portage / dev-python / pyyaml / 6.0.3
portage-ng glsa
2 advisories reference dev-python/pyyaml · none place version 6.0.3 in a vulnerable range
▸ GLSA 202402-33 PyYAML: Arbitrary Code Execution this version unaffected normal remote 2024-02-26

A vulnerability has been found in PyYAML which can lead to arbitrary code execution.

Announced
2024-02-26
Revised
2024-02-26
Access
remote
Bugs
#766228
Advisory
https://security.gentoo.org/glsa/202402-33

Affected packages

PackageArchVulnerableUnaffected
dev-python/pyyaml*< 5.4>= 5.4

Background

PyYAML is a YAML parser and emitter for Python.

Description

A vulnerability has been discovered in PyYAML. Please review the CVE identifier referenced below for details.

Impact

A vulnerability was discovered in the PyYAML library, 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.

Workaround

There is no known workaround at this time.

Resolution

All PyYAML users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-python/pyyaml-5.4"

References

▸ GLSA 202003-45 PyYAML: Arbitrary code execution this version unaffected high local, remote 2020-03-19

A flaw in PyYAML might allow attackers to execute arbitrary code.

Announced
2020-03-19
Revised
2020-03-19
Access
local, remote
Bugs
#659348
Advisory
https://security.gentoo.org/glsa/202003-45

Affected packages

PackageArchVulnerableUnaffected
dev-python/pyyaml*< 5.1>= 5.1

Background

PyYAML is a YAML parser and emitter for Python.

Description

It was found that using yaml.load() API on untrusted input could lead to arbitrary code execution.

Impact

A remote attacker could entice a user to process specially crafted input in an application using yaml.load() from PyYAML, possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All PyYAML users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-python/pyyaml-5.1"

References