USN-5315-1

Type: Security
Severity: Medium
Published: 2022-06-07
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 20.04 LTS (Focal Fossa)

It was discovered that Ansible did not properly manage directory permissions when running playbooks with an unprivileged become user. A local attacker could possibly use this issue to cause a race condition, escalate privileges and execute arbitrary code. This issue only affected Ubuntu 16.04 ESM, Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2020-1733) It was discovered that the fix to address CVE-2020-1733 in Ansible was incomplete on systems using ACLs and FUSE filesystems. A local attacker could possibly use this issue to cause a race condition, escalate privileges and execute arbitrary code. This issue only affected Ubuntu 16.04 ESM, Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2020-10744) It was discovered that Ansible did not properly manage multi-line YAML strings and special template characters. A local attacker could possibly use this issue to cause a template injection, resulting in the disclosure of sensitive information or other unspecified impact. (CVE-2021-3583) It was discovered that the ansible-connection module in Ansible did not properly manage certain error messages. A local attacker could possibly use this issue to expose sensitive information. This issue only affected Ubuntu 20.04 ESM and Ubuntu 22.04 ESM. (CVE-2021-3620) Update Instructions: Run `sudo pro fix USN-5315-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: ansible - 2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm1 Available with Ubuntu Pro: https://ubuntu.com/pro

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T02:49:42.558Z UTC

Official vendor advisory

Ubuntu 22.04 LTS (Jammy Jellyfish)

View source
Observed 2026-11-28T02:49:42.558Z UTC. Last updated 2025-11-26T07:16:31.611Z UTC.

Upstream Advisory

Affected Packages

  • ansible 2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm1-2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm1

  • ansible 2.9.6+dfsg-1ubuntu0.1~esm1-2.9.6+dfsg-1ubuntu0.1~esm1

  • ansible-doc 2.9.6+dfsg-1ubuntu0.1~esm1-2.9.6+dfsg-1ubuntu0.1~esm1

Interested in being alerted when there are new versions of ansible and the other packages? Set up an alert.
USN-5315-1: Ansible vulnerabilities | Package Alert