UBUNTU-CVE-2017-7481

See a problem?
Source
https://ubuntu.com/security/notices/UBUNTU-CVE-2017-7481
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-7481.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2017-7481
Related
Published
2018-07-19T00:00:00Z
Modified
2018-07-19T00:00:00Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Ansible before versions 2.3.1.0 and 2.4.0.0 fails to properly mark lookup-plugin results as unsafe. If an attacker could control the results of lookup() calls, they could inject Unicode strings to be parsed by the jinja2 templating system, resulting in code execution. By default, the jinja2 templating language is now marked as 'unsafe' and is not evaluated.

References

Affected packages

Ubuntu:Pro:14.04:LTS / ansible

Package

Name
ansible

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.1+dfsg-1
1.3.4+dfsg-1
1.4.0+dfsg-1
1.4.1+dfsg-1
1.4.3+dfsg-1
1.4.4+dfsg-1
1.5.4+dfsg-1
1.5.4+dfsg-1ubuntu0.1~esm2

Ecosystem specific

{
    "ubuntu_priority": "low"
}

Ubuntu:16.04:LTS / ansible

Package

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

Affected ranges

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

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

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "ansible-node-fireball": "2.0.0.2-2ubuntu1.3",
            "ansible-fireball": "2.0.0.2-2ubuntu1.3",
            "ansible": "2.0.0.2-2ubuntu1.3"
        }
    ]
}

Ubuntu:18.04:LTS / ansible

Package

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

Affected ranges

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

Affected versions

2.*

2.3.1.0+dfsg-2
2.5.0+dfsg-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "ansible": "2.5.1+dfsg-1"
        }
    ]
}