USN-4940-1: PyYAML vulnerability

10 May 2021

PyYAML could be made to run programs if it opened a specially crafted YAML file.

Releases

Packages

  • pyyaml - YAML parser and emitter for Python

Details

It was discovered that PyYAML incorrectly handled untrusted YAML files with
the FullLoader loader. A remote attacker could possibly use this issue to
execute arbitrary code.

Update instructions

The problem can be corrected by updating your system to the following package versions:

Ubuntu 20.10
Ubuntu 20.04

In general, a standard system update will make all the necessary changes.

References