CVE-2015-1331
lxclock.c in LXC 1.1.2 and earlier allows local users to create arbitrary files via a symlink...
lxclock.c in LXC 1.1.2 and earlier allows local users to create arbitrary files via a symlink attack on /run/lock/lxc/*.
Exploit likelihood
What each source reports
NVD Score used
4.9
lxclock.c in LXC 1.1.2 and earlier allows local users to create arbitrary files via a symlink attack on /run/lock/lxc/*.
- Record
CVE-2015-1331- CVSS 2.0
- 4.9 Medium
AV:L/AC:L/Au:N/C:N/I:C/A:N - Weakness
- CWE-59
- Updated
- 2026-11-02
CVE List No score
lxclock.c in LXC 1.1.2 and earlier allows local users to create arbitrary files via a symlink attack on /run/lock/lxc/*.
- Record
CVE-2015-1331- Updated
- 2026-11-02
EUVDEUVD-2015-1471 No score
lxclock.c in LXC 1.1.2 and earlier allows local users to create arbitrary files via a symlink attack on /run/lock/lxc/*.
- Record
EUVD-2015-1471- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-h6rp-phmv-c3rw No score
lxclock.c in LXC 1.1.2 and earlier allows local users to create arbitrary files via a symlink...
lxclock.c in LXC 1.1.2 and earlier allows local users to create arbitrary files via a symlink attack on /run/lock/lxc/*.
- Record
GHSA-h6rp-phmv-c3rw- Weakness
- CWE-59
- Updated
- 2026-11-02
OSV No score
lxclock.c in LXC 1.1.2 and earlier allows local users to create arbitrary files via a symlink attack on /run/lock/lxc/*.
- Record
CVE-2015-1331- Updated
- 2026-11-02
OSVDEBIAN-CVE-2015-1331 No score
lxclock.c in LXC 1.1.2 and earlier allows local users to create arbitrary files via a symlink attack on /run/lock/lxc/*.
- Record
DEBIAN-CVE-2015-1331- Updated
- 2026-11-02
Show 4 moreShow less
OSVMGASA-2015-0304 No score
Updated lxc package fixes security vulnerability
Roman Fiedler discovered that LXC had a directory traversal flaw when creating lock files. A local attacker could exploit this flaw to create an arbitrary file as the root user (CVE-2015-1331).
Roman Fiedler discovered that LXC incorrectly trusted the container's proc filesystem to set up AppArmor profile changes and SELinux domain transitions. A local attacker could exploit this flaw to run programs inside the container that are not confined by AppArmor or SELinux (CVE-2015-1334).
- Record
MGASA-2015-0304- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10416-1 No score
liblxc-devel-2.0.4-2.1 on GA media
These are all security issues fixed in the liblxc-devel-2.0.4-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10416-1- Updated
- 2026-11-02
OSVUBUNTU-CVE-2015-1331 No score
lxclock.c in LXC 1.1.2 and earlier allows local users to create arbitrary files via a symlink attack on /run/lock/lxc/*.
- Record
UBUNTU-CVE-2015-1331- Updated
- 2026-11-02
OSVUSN-2675-1 No score
lxc vulnerabilities
Roman Fiedler discovered that LXC had a directory traversal flaw when creating lock files. A local attacker could exploit this flaw to create an arbitrary file as the root user. (CVE-2015-1331)
Roman Fiedler discovered that LXC incorrectly trusted the container's proc filesystem to set up AppArmor profile changes and SELinux domain transitions. A local attacker could exploit this flaw to run programs inside the container that are not confined by AppArmor or SELinux. (CVE-2015-1334)
- Record
USN-2675-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
lxcDebian:12 |
before 1:1.0.7-4 | 1:1.0.7-4 |
lxcDebian:13 |
before 1:1.0.7-4 | 1:1.0.7-4 |
lxcDebian:14 |
before 1:1.0.7-4 | 1:1.0.7-4 |
lxcDebian:8 From an advisory covering 2 CVEs |
before 1:1.0.6-6+deb8u1, plus listed versions 1:1.0.6-61:1.0.6-6+deb8u1~bpo70+1 |
1:1.0.6-6+deb8u1 |
lxcMageia:5 From an advisory covering 2 CVEs |
before 1.0.5-3.1.mga5 | 1.0.5-3.1.mga5 |
lxcUbuntu:14.04:LTS |
before 1.0.7-0ubuntu0.2, plus listed versions 1.0.0~alpha1-0ubuntu111.0.0~alpha2-0ubuntu11.0.0~alpha2-0ubuntu31.0.0~alpha2-0ubuntu41.0.0~alpha2-0ubuntu5 Show 34 moreShow less1.0.0~alpha2-0ubuntu61.0.0~alpha3-0ubuntu11.0.0~alpha3-0ubuntu21.0.0~alpha3-0ubuntu31.0.0~alpha3-0ubuntu41.0.0~alpha3-0ubuntu51.0.0~alpha3-0ubuntu61.0.0~alpha3-0ubuntu71.0.0~alpha3-0ubuntu81.0.0~beta1-0ubuntu11.0.0~beta1-0ubuntu21.0.0~beta1-0ubuntu31.0.0~beta2-0ubuntu11.0.0~beta2-0ubuntu21.0.0~beta3-0ubuntu11.0.0~beta4-0ubuntu11.0.0~beta4-0ubuntu21.0.0~rc1-0ubuntu21.0.0~rc3-0ubuntu11.0.0~rc4-0ubuntu11.0.0-0ubuntu11.0.0-0ubuntu21.0.0-0ubuntu31.0.0-0ubuntu41.0.1-0ubuntu11.0.2-0ubuntu11.0.2-0ubuntu21.0.3-0ubuntu11.0.3-0ubuntu21.0.3-0ubuntu31.0.4-0ubuntu0.11.0.5-0ubuntu0.11.0.6-0ubuntu0.11.0.7-0ubuntu0.1 |
1.0.7-0ubuntu0.2 |
lxcUbuntu:14.04:LTS From an advisory covering 2 CVEs |
before 1.0.7-0ubuntu0.2, plus listed versions 1.0.0~alpha1-0ubuntu111.0.0~alpha2-0ubuntu11.0.0~alpha2-0ubuntu31.0.0~alpha2-0ubuntu41.0.0~alpha2-0ubuntu5 Show 34 moreShow less1.0.0~alpha2-0ubuntu61.0.0~alpha3-0ubuntu11.0.0~alpha3-0ubuntu21.0.0~alpha3-0ubuntu31.0.0~alpha3-0ubuntu41.0.0~alpha3-0ubuntu51.0.0~alpha3-0ubuntu61.0.0~alpha3-0ubuntu71.0.0~alpha3-0ubuntu81.0.0~beta1-0ubuntu11.0.0~beta1-0ubuntu21.0.0~beta1-0ubuntu31.0.0~beta2-0ubuntu11.0.0~beta2-0ubuntu21.0.0~beta3-0ubuntu11.0.0~beta4-0ubuntu11.0.0~beta4-0ubuntu21.0.0~rc1-0ubuntu21.0.0~rc3-0ubuntu11.0.0~rc4-0ubuntu11.0.0-0ubuntu11.0.0-0ubuntu21.0.0-0ubuntu31.0.0-0ubuntu41.0.1-0ubuntu11.0.2-0ubuntu11.0.2-0ubuntu21.0.3-0ubuntu11.0.3-0ubuntu21.0.3-0ubuntu31.0.4-0ubuntu0.11.0.5-0ubuntu0.11.0.6-0ubuntu0.11.0.7-0ubuntu0.1 |
1.0.7-0ubuntu0.2 |
lxcopenSUSE:Tumbleweed From an advisory covering 4 CVEs |
before 2.0.4-2.1 | 2.0.4-2.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2015-1331 is a medium vulnerability (CVSS 4.9) in Linuxcontainers Lxc, published July 22, 2015. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.46%, the 39th percentile. Fixed in lxc 1:1.0.7-4.
References
debian.org/security/2015/dsa-3317
securityfocus.com/bid/75999
ubuntu.com/usn/USN-2675-1
lists.opensuse.org/opensuse-updates/2015-07/msg00066.html
service.ait.ac.at/security/2015/LxcSecurityAnalysis.html
github.com/lxc/lxc/commit/72cf81f6a3404e35028567db2c99a90406e9c6e6
Show 16 moreShow less
bugs.launchpad.net/ubuntu/+source/lxc/+bug/1470842
lists.opensuse.org/opensuse-security-announce/2019-05/msg00073.html
nvd.nist.gov/vuln/detail/CVE-2015-1331
github.com/advisories/GHSA-h6rp-phmv-c3rw
security-tracker.debian.org/tracker/CVE-2015-1331
advisories.mageia.org/MGASA-2015-0304.html
bugs.mageia.org/show_bug.cgi?id=16443
ubuntu.com/usn/usn-2675-1
ubuntu.com/security/CVE-2015-1331
ubuntu.com/security/notices/USN-2675-1
cve.org/CVERecord?id=CVE-2015-1331
ubuntu.com/security/CVE-2015-1334
suse.com/security/cve/CVE-2015-1331
suse.com/security/cve/CVE-2015-1334
suse.com/security/cve/CVE-2015-1335
suse.com/security/cve/CVE-2016-8649