Arbitrary Code Execution Vulnerability in PyYAML Library
Key Information:
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Yes: Works over the network, no login needed
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Patch this week
Exploitation is likely. Prioritise the fix.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
Read the vendor advisory β2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Pyyaml. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Patch this week"
- It can be exploited remotely without credentials.
- Its CVSS severity is critical (9.8).
What is CVE-2020-1747?
A vulnerability exists in the PyYAML library prior to version 5.3.1, allowing for arbitrary code execution when handling untrusted YAML files via the full_load method or using the FullLoader loader. This issue stems from the improper handling of untrusted input, potentially enabling attackers to exploit the python/object/new constructor and execute arbitrary code on affected systems. Applications that rely on this library for YAML processing without proper sanitization measures may be particularly vulnerable.
Affected Version(s)
PyYAML 5.3.1
References
More Red Hat Vulnerabilities
Arbitrary Command Execution Vulnerability in Ghostscript Software
Use-After-Free Flaw in Librsvg Affects GNOME's SVG Processing Tool
Time-based sudo vulnerability in Sudo
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction