Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:pypi/pyyaml@4.2b1
purl pkg:pypi/pyyaml@4.2b1
Next non-vulnerable version 5.4
Latest non-vulnerable version 5.4
Risk 4.5
Vulnerabilities affecting this package (2)
Vulnerability Summary Fixed by
VCID-1d4s-2baq-wuhk
Aliases:
CVE-2017-18342
GHSA-rprw-h62v-c2w7
PYSEC-2018-49
In PyYAML before 5.1, the yaml.load() API could execute arbitrary code if used with untrusted data. The load() function has been deprecated in version 5.1 and the 'UnsafeLoader' has been introduced for backward compatibility with the function.
5.1
Affected by 4 other vulnerabilities.
VCID-2wh2-rac2-53ax
Aliases:
CVE-2020-14343
GHSA-8q59-q68h-6hv4
PYSEC-2021-142
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.
5.4
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (1)
Vulnerability Summary Aliases
VCID-1d4s-2baq-wuhk In PyYAML before 5.1, the yaml.load() API could execute arbitrary code if used with untrusted data. The load() function has been deprecated in version 5.1 and the 'UnsafeLoader' has been introduced for backward compatibility with the function. CVE-2017-18342
GHSA-rprw-h62v-c2w7
PYSEC-2018-49

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-16T21:19:28.946626+00:00 GitLab Importer Affected by VCID-2wh2-rac2-53ax https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/PyYAML/CVE-2020-14343.yml 38.4.0
2026-04-16T20:51:00.713104+00:00 GitLab Importer Fixing VCID-1d4s-2baq-wuhk https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/PyYAML/CVE-2017-18342.yml 38.4.0
2026-04-16T01:41:51.206759+00:00 GHSA Importer Affected by VCID-2wh2-rac2-53ax https://github.com/advisories/GHSA-8q59-q68h-6hv4 38.4.0
2026-04-16T01:26:24.009005+00:00 GHSA Importer Fixing VCID-1d4s-2baq-wuhk https://github.com/advisories/GHSA-rprw-h62v-c2w7 38.4.0
2026-04-11T22:31:47.866044+00:00 GitLab Importer Affected by VCID-2wh2-rac2-53ax https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/PyYAML/CVE-2020-14343.yml 38.3.0
2026-04-11T22:01:43.362373+00:00 GitLab Importer Fixing VCID-1d4s-2baq-wuhk https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/PyYAML/CVE-2017-18342.yml 38.3.0
2026-04-11T13:10:57.266423+00:00 GHSA Importer Affected by VCID-2wh2-rac2-53ax https://github.com/advisories/GHSA-8q59-q68h-6hv4 38.3.0
2026-04-11T12:55:42.819110+00:00 GHSA Importer Fixing VCID-1d4s-2baq-wuhk https://github.com/advisories/GHSA-rprw-h62v-c2w7 38.3.0
2026-04-02T22:43:07.741014+00:00 GitLab Importer Affected by VCID-2wh2-rac2-53ax https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/PyYAML/CVE-2020-14343.yml 38.1.0
2026-04-02T22:14:44.281608+00:00 GitLab Importer Fixing VCID-1d4s-2baq-wuhk https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/PyYAML/CVE-2017-18342.yml 38.1.0
2026-04-02T14:02:37.376522+00:00 GHSA Importer Affected by VCID-2wh2-rac2-53ax https://github.com/advisories/GHSA-8q59-q68h-6hv4 38.1.0
2026-04-02T13:48:13.247210+00:00 GHSA Importer Fixing VCID-1d4s-2baq-wuhk https://github.com/advisories/GHSA-rprw-h62v-c2w7 38.1.0
2026-04-01T17:00:50.947416+00:00 GitLab Importer Affected by VCID-2wh2-rac2-53ax https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/PyYAML/CVE-2020-14343.yml 38.0.0
2026-04-01T16:32:16.053186+00:00 GitLab Importer Fixing VCID-1d4s-2baq-wuhk https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/PyYAML/CVE-2017-18342.yml 38.0.0
2026-04-01T15:03:25.145804+00:00 PyPI Importer Affected by VCID-2wh2-rac2-53ax https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T15:00:18.857224+00:00 PyPI Importer Affected by VCID-1d4s-2baq-wuhk https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T12:43:18.050165+00:00 Pypa Importer Affected by VCID-2wh2-rac2-53ax https://github.com/pypa/advisory-database/blob/main/vulns/pyyaml/PYSEC-2021-142.yaml 38.0.0
2026-04-01T12:41:45.358233+00:00 Pypa Importer Affected by VCID-1d4s-2baq-wuhk https://github.com/pypa/advisory-database/blob/main/vulns/pyyaml/PYSEC-2018-49.yaml 38.0.0