{"id":"USN-5315-1","summary":"ansible vulnerabilities","details":"It was discovered that Ansible did not properly manage directory\npermissions when running playbooks with an unprivileged become user. A\nlocal attacker could possibly use this issue to cause a race condition,\nescalate privileges and execute arbitrary code. This issue only affected\nUbuntu 16.04 ESM, Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2020-1733)\n\nIt was discovered that the fix to address CVE-2020-1733 in Ansible was\nincomplete on systems using ACLs and FUSE filesystems. A local attacker\ncould possibly use this issue to cause a race condition, escalate\nprivileges and execute arbitrary code. This issue only affected\nUbuntu 16.04 ESM, Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2020-10744)\n\nIt was discovered that Ansible did not properly manage multi-line YAML\nstrings and special template characters. A local attacker could possibly\nuse this issue to cause a template injection, resulting in the\ndisclosure of sensitive information or other unspecified impact.\n(CVE-2021-3583)\n\nIt was discovered that the ansible-connection module in Ansible did\nnot properly manage certain error messages. A local attacker could\npossibly use this issue to expose sensitive information. This issue\nonly affected Ubuntu 20.04 ESM and Ubuntu 22.04 ESM. (CVE-2021-3620)\n","modified":"2026-05-20T16:03:12.666125024Z","published":"2022-06-07T14:43:08Z","related":["UBUNTU-CVE-2020-10744","UBUNTU-CVE-2020-1733","UBUNTU-CVE-2021-3583","UBUNTU-CVE-2021-3620"],"upstream":["CVE-2020-10744","CVE-2020-1733","CVE-2021-3583","CVE-2021-3620","UBUNTU-CVE-2020-10744","UBUNTU-CVE-2020-1733","UBUNTU-CVE-2021-3583","UBUNTU-CVE-2021-3620"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5315-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-1733"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-10744"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-3583"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-3620"}],"affected":[{"package":{"name":"ansible","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/ansible?arch=source&distro=esm-infra-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0.2-2ubuntu1.3+esm1"}]}],"versions":["1.9.2+dfsg-2","1.9.4-1","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 with Legacy support add-on: https://ubuntu.com/pro","binaries":[{"binary_version":"2.0.0.2-2ubuntu1.3+esm1","binary_name":"ansible-node-fireball"},{"binary_version":"2.0.0.2-2ubuntu1.3+esm1","binary_name":"ansible"},{"binary_name":"ansible-fireball","binary_version":"2.0.0.2-2ubuntu1.3+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5315-1.json","cves_map":{"cves":[],"ecosystem":"Ubuntu:Pro:16.04:LTS"}}},{"package":{"name":"ansible","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/ansible?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.1+dfsg-1ubuntu0.1+esm1"}]}],"versions":["2.3.1.0+dfsg-2","2.5.0+dfsg-1","2.5.1+dfsg-1","2.5.1+dfsg-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.5.1+dfsg-1ubuntu0.1+esm1","binary_name":"ansible"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5315-1.json","cves_map":{"cves":[{"id":"CVE-2020-1733","severity":[{"score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2020-10744","severity":[{"score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]},{"id":"CVE-2021-3583","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:Pro:18.04:LTS"}}},{"package":{"name":"ansible","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/ansible?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.6+dfsg-1ubuntu0.1~esm1"}]}],"versions":["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":[{"binary_version":"2.9.6+dfsg-1ubuntu0.1~esm1","binary_name":"ansible"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5315-1.json","cves_map":{"cves":[{"id":"CVE-2020-1733","severity":[{"score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2020-10744","severity":[{"score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]},{"id":"CVE-2021-3583","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2021-3620","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:Pro:20.04:LTS"}}},{"package":{"name":"ansible","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/ansible?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm1"}]}],"versions":["2.10.7+merged+base+2.10.8+dfsg-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm1","binary_name":"ansible"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5315-1.json","cves_map":{"cves":[{"id":"CVE-2021-3583","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2021-3620","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:Pro:22.04:LTS"}}}],"schema_version":"1.7.5"}