USN-5315-1

See a problem?
Source
https://ubuntu.com/security/notices/USN-5315-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5315-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-5315-1
Related
Published
2022-06-07T14:43:08.627667Z
Modified
2022-06-07T14:43:08.627667Z
Summary
ansible vulnerabilities
Details

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)

References

Affected packages

Ubuntu:Pro:16.04:LTS / ansible

Package

Name
ansible
Purl
pkg:deb/ubuntu/ansible@2.0.0.2-2ubuntu1.3+esm1?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.0.2-2ubuntu1.3+esm1

Affected versions

1.*

1.9.2+dfsg-2
1.9.4-1

2.*

2.0.0.2-2
2.0.0.2-2ubuntu1
2.0.0.2-2ubuntu1.1
2.0.0.2-2ubuntu1.2
2.0.0.2-2ubuntu1.3

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "ansible-node-fireball": "2.0.0.2-2ubuntu1.3+esm1",
            "ansible-fireball": "2.0.0.2-2ubuntu1.3+esm1",
            "ansible": "2.0.0.2-2ubuntu1.3+esm1"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / ansible

Package

Name
ansible
Purl
pkg:deb/ubuntu/ansible@2.5.1+dfsg-1ubuntu0.1+esm1?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.5.1+dfsg-1ubuntu0.1+esm1

Affected versions

2.*

2.3.1.0+dfsg-2
2.5.0+dfsg-1
2.5.1+dfsg-1
2.5.1+dfsg-1ubuntu0.1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "ansible": "2.5.1+dfsg-1ubuntu0.1+esm1"
        }
    ]
}

Ubuntu:Pro:20.04:LTS / ansible

Package

Name
ansible
Purl
pkg:deb/ubuntu/ansible@2.9.6+dfsg-1ubuntu0.1~esm1?arch=src?distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.6+dfsg-1ubuntu0.1~esm1

Affected versions

2.*

2.8.3+dfsg-1
2.8.6+dfsg-1
2.9.2+dfsg-1
2.9.4+dfsg-1
2.9.6+dfsg-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "ansible-doc": "2.9.6+dfsg-1ubuntu0.1~esm1",
            "ansible": "2.9.6+dfsg-1ubuntu0.1~esm1"
        }
    ]
}

Ubuntu:Pro:22.04:LTS / ansible

Package

Name
ansible
Purl
pkg:deb/ubuntu/ansible@2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm1?arch=src?distro=esm-apps/jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm1

Affected versions

2.*

2.10.7+merged+base+2.10.8+dfsg-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "ansible": "2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm1"
        }
    ]
}