Skip to content

Update dependency PyYAML to v5 [SECURITY]#91

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/pypi-pyyaml-vulnerability
Open

Update dependency PyYAML to v5 [SECURITY]#91
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/pypi-pyyaml-vulnerability

Conversation

@renovate
Copy link
Copy Markdown

@renovate renovate Bot commented Aug 6, 2024

This PR contains the following updates:

Package Change Age Confidence
PyYAML (source) ==3.12==5.4 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Improper Input Validation in PyYAML

CVE-2020-14343 / GHSA-8q59-q68h-6hv4

More information

Details

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.

Severity

  • CVSS Score: 9.3 / 10 (Critical)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


PyYAML insecurely deserializes YAML strings leading to arbitrary code execution

CVE-2017-18342 / GHSA-rprw-h62v-c2w7

More information

Details

In PyYAML before 4.1, the yaml.load() API could execute arbitrary code. In other words, yaml.safe_load is not used.

Severity

  • CVSS Score: 9.8 / 10 (Critical)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

yaml/pyyaml (PyYAML)

v5.4

Compare Source

v5.3.1

Compare Source

v5.3

Compare Source

v5.2

Compare Source

  • Repair incompatibilities introduced with 5.1. The default Loader was changed,
    but several methods like add_constructor still used the old default
    #​279 -- A more flexible fix for custom tag constructors
    #​287 -- Change default loader for yaml.add_constructor
    #​305 -- Change default loader for add_implicit_resolver, add_path_resolver
  • Make FullLoader safer by removing python/object/apply from the default FullLoader
    #​347 -- Move constructor for object/apply to UnsafeConstructor
  • Fix bug introduced in 5.1 where quoting went wrong on systems with sys.maxunicode <= 0xffff
    #​276 -- Fix logic for quoting special characters
  • Other PRs:
    #​280 -- Update CHANGES for 5.1

v5.1.2

Compare Source

  • Re-release of 5.1 with regenerated Cython sources to build properly for Python 3.8b2+

v5.1.1

Compare Source

  • Re-release of 5.1 with regenerated Cython sources to build properly for Python 3.8b1

v5.1

Compare Source

  • Re-release of 5.1 with regenerated Cython sources to build properly for Python 3.8b2+

v3.13

Compare Source

  • Resolved issues around PyYAML working in Python 3.7.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • ""
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot changed the title Update dependency PyYAML to v5 [SECURITY] Update dependency PyYAML to v5 [SECURITY] - autoclosed Mar 27, 2026
@renovate renovate Bot closed this Mar 27, 2026
@renovate renovate Bot deleted the renovate/pypi-pyyaml-vulnerability branch March 27, 2026 01:42
@renovate renovate Bot changed the title Update dependency PyYAML to v5 [SECURITY] - autoclosed Update dependency PyYAML to v5 [SECURITY] Mar 30, 2026
@renovate renovate Bot reopened this Mar 30, 2026
@renovate renovate Bot force-pushed the renovate/pypi-pyyaml-vulnerability branch 2 times, most recently from 849da9b to 3f01ae4 Compare March 30, 2026 21:05
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.

0 participants