Every CVESearch/Get API key

CVE-2015-1331

lxclock.c in LXC 1.1.2 and earlier allows local users to create arbitrary files via a symlink...

4.9 MediumFix available

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 40th percentile. Fixed in lxc 1:1.0.7-4.

What does this mean?
Severity
4.9 MediumCVSS 2.0, NVD
Exploit chance
0.46%EPSS, 40th percentile
Exploitation
None knownNot on CISA’s or ENISA’s lists
Fixed in
1:1.0.7-4lxc +7 more

Description

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

0.46%Down 0.6 points since Feb 4, 2022
90%50%10%1%

Affected products

Affected packages

Affected packages
PackageAffectedFixed
lxc
Debian:12
before 1:1.0.7-4
1:1.0.7-4
lxc
Debian:13
before 1:1.0.7-4
1:1.0.7-4
lxc
Debian:14
before 1:1.0.7-4
1:1.0.7-4
lxc
Debian: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
lxc
Mageia:5
From an advisory covering 2 CVEs
before 1.0.5-3.1.mga5
1.0.5-3.1.mga5
lxc
Ubuntu: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 less
1.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
lxc
Ubuntu: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 less
1.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
lxc
openSUSE:Tumbleweed
From an advisory covering 4 CVEs
before 2.0.4-2.1
2.0.4-2.1

What each source reports

NVD Score used4.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 MediumAV:L/AC:L/Au:N/C:N/I:C/A:N
Weakness
CWE-59
Updated
2026-11-02
CVE ListNo 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-1471No 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-c3rwNo 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
OSVNo 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-1331No 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-0304No 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-1No 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-1331No 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-1No 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

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

Show 16 moreShow less
MoveEnter Open