Skip to content

Update PyYAML to version >= 4.1 #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

gardera-security[bot]
Copy link

Update PyYAML to 4.1

Merge this pull request to resolve 2 vulnerabilities in PyYAML.

CRITICAL - CVE-2017-18342: PyYAML: yaml.load() API could execute arbitrary code

Description

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.

References

Publish date

2018-06-27

CRITICAL - CVE-2020-14343: PyYAML: incomplete fix for CVE-2020-1747

Description

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.

References

Publish date

2021-02-09

Copy link
Author

@gardera-security gardera-security bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gardera Security Scan Results


🛡️ Scan Summary

No security issues were identified in this scan.

@patriknordlen patriknordlen deleted the gardera/pip/PyYAML-3.12 branch June 24, 2025 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant