---
title: "CVE-2015-6240\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2015-6240?format=md
keywords: index, follow
---

# CVE-2015-6240

Publication date 7 June 2017

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**7.8 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2015-6240?format=md#impact-score)

Toggle side navigation

## Description

The chroot, jail, and zone connection plugins in ansible before 1.9.2 allow
local users to escape a restricted environment via a symlink attack.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2015-6240?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| ansible | 24.10 oracular | Not affected |
| 24.04 LTS noble | Not affected |
| 23.10 mantic | Not affected |
| 23.04 lunar | Not affected |
| 22.10 kinetic | Not affected |
| 22.04 LTS jammy | Not affected |
| 21.10 impish | Not affected |
| 21.04 hirsute | Not affected |
| 20.10 groovy | Not affected |
| 20.04 LTS focal | Not affected |
| 19.10 eoan | Not affected |
| 19.04 disco | Not affected |
| 18.10 cosmic | Not affected |
| 18.04 LTS bionic | Not affected |
| 17.10 artful | Not affected |
| 17.04 zesty | Not affected |
| 16.10 yakkety | Not affected |
| 16.04 LTS xenial | Not affected |
| 15.10 wily | Not affected |
| 15.04 vivid | Ignored end of life |
| 14.04 LTS trusty | Fixed 1.5.4+dfsg-1ubuntu0.1~esm3  Ubuntu Pro |
| 12.04 LTS precise | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2015-6240?format=md#patch-details)

### Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

[Get Ubuntu Pro](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

## Notes

---

### [tyhicks](https://launchpad.net/~tyhicks)

Fixed upstream in 1.9.2

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| ansible | * Upstream:   [952166f](https://github.com/ansible/ansible/commit/952166f48eb0f5797b75b160fd156bbe1e8fc647) * Upstream:   [ca2f2c4](https://github.com/ansible/ansible/commit/ca2f2c4ebd7b5e097eab0a710f79c1f63badf95b) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

7.8 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Local |
  | Attack complexity | Low |
  | Privileges required | Low |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 7.8 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-6240)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2015-6240)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2015-6240)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2015-6240)

### Related Ubuntu Security Notices (USN)

+ [USN-7330-1](https://usn.ubuntu.com/USN-7330-1)
+ Ansible vulnerabilities
+ 5 March 2025

### Other references

* <http://www.openwall.com/lists/oss-security/2015/07/14/3>
* <https://www.cve.org/CVERecord?id=CVE-2015-6240>
