CVE-2015-1340
Last modified
CVE-2015-1340 is a high-severity vulnerability rated 7/10 on the CVSS scale. LXD before version 0.19-0ubuntu5 doUidshiftIntoContainer() has an unsafe Chmod() call that races against the stat in the Filepath.Walk() function. A symbolic link created in that window could cause any file on the system to have any mode of the attacker's choice.. EPSS estimates a 0.90% chance of exploitation in the next 30 days.
Description
LXD before version 0.19-0ubuntu5 doUidshiftIntoContainer() has an unsafe Chmod() call that races against the stat in the Filepath.Walk() function. A symbolic link created in that window could cause any file on the system to have any mode of the attacker's choice.
Metrics
CVSS:3.0/AV:P/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linuxcontainers | Lxd | All versions |
References
- https://github.com/lxc/lxd/commit/19c6961cc1012c8a529f20807328a9357f5034f4Patch, Third Party Advisory
- https://github.com/lxc/lxd/commit/19c6961cc1012c8a529f20807328a9357f5034f4Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2015-1340?
How severe is CVE-2015-1340?
How do I fix CVE-2015-1340?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2015
- CVE-2015-1334attach.c in LXC 1.1.2 and earlier uses the proc filesystem i…
- CVE-2015-1335lxc-start in lxc before 1.0.8 and 1.1.x before 1.1.4 allows …
- CVE-2015-1336The daily mandb cleanup job in Man-db before 2.7.6.1-1 as pa…
- CVE-2015-1337Simple Streams (simplestreams) does not properly verify the …
- CVE-2015-1338kernel_crashdump in Apport before 2.19 allows local users to…
- CVE-2015-1339Memory leak in the cuse_channel_release function in fs/fuse/…
- CVE-2015-1341Any Python module in sys.path can be imported if the command…7.4
- CVE-2015-1342LXCFS before 0.12 does not properly enforce directory escape…
- CVE-2015-1343All versions of unity-scope-gdrive logs search terms to sysl…2
- CVE-2015-1344The do_write_pids function in lxcfs.c in LXCFS before 0.12 d…
- CVE-2015-1345The bmexec_trans function in kwset.c in grep 2.19 through 2.…
- CVE-2015-1346Multiple unspecified vulnerabilities in Google V8 before 3.3…
Are you affected by CVE-2015-1340?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
