{"api_version":"1","generated_at":"2026-07-23T11:08:18+00:00","cve":"CVE-2015-5313","urls":{"html":"https://cve.report/CVE-2015-5313","api":"https://cve.report/api/cve/CVE-2015-5313.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2015-5313","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2015-5313"},"summary":{"title":"CVE-2015-5313","description":"Directory traversal vulnerability in the virStorageBackendFileSystemVolCreate function in storage/storage_backend_fs.c in libvirt, when fine-grained Access Control Lists (ACL) are in effect, allows local users with storage_vol:create ACL but not domain:write permission to write to arbitrary files via a .. (dot dot) in a volume name.","state":"PUBLISHED","assigner":"redhat","published_at":"2016-04-11 21:59:04","updated_at":"2026-05-06 22:30:45"},"problem_types":["CWE-22","n/a"],"metrics":[{"version":"3.0","source":"nvd@nist.gov","type":"Primary","score":"2.5","severity":"LOW","vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","data":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","baseScore":2.5,"baseSeverity":"LOW","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE"}},{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"1.9","severity":"","vector":"AV:L/AC:M/Au:N/C:N/I:P/A:N","data":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:N/I:P/A:N","baseScore":1.9,"accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"}}],"references":[{"url":"http://www.securityfocus.com/bid/90913","name":"http://www.securityfocus.com/bid/90913","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"libvirt CVE-2015-5313 Local Directory Traversal Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://security.gentoo.org/glsa/201612-10","name":"https://security.gentoo.org/glsa/201612-10","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"libvirt: Directory traversal (GLSA 201612-10) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://rhn.redhat.com/errata/RHSA-2016-2577.html","name":"http://rhn.redhat.com/errata/RHSA-2016-2577.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"http://libvirt.org/git/?p=libvirt.git%3Ba=commit%3Bh=034e47c338b13a95cf02106a3af912c1c5f818d7","name":"http://libvirt.org/git/?p=libvirt.git%3Ba=commit%3Bh=034e47c338b13a95cf02106a3af912c1c5f818d7","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"libvirt.org Git - libvirt.git/commit","mime":"text/xml","httpstatus":"404","archivestatus":"200"},{"url":"https://www.redhat.com/archives/libvir-list/2015-December/msg00473.html","name":"https://www.redhat.com/archives/libvir-list/2015-December/msg00473.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[libvirt] [PATCH] CVE-2015-5313: storage: don't allow '/' in\tfilesystem","mime":"text/x-diff","httpstatus":"200","archivestatus":"200"},{"url":"http://security.libvirt.org/2015/0004.html","name":"http://security.libvirt.org/2015/0004.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"],"title":"Libvirt Security Notice: LSN-2015-0004","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-December/174404.html","name":"http://lists.fedoraproject.org/pipermail/package-announce/2015-December/174404.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[SECURITY] Fedora 23 Update: libvirt-1.2.18.2-1.fc23","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://libvirt.org/git/?p=libvirt.git;a=commit;h=034e47c338b13a95cf02106a3af912c1c5f818d7","name":"CONFIRM:http://libvirt.org/git/?p=libvirt.git;a=commit;h=034e47c338b13a95cf02106a3af912c1c5f818d7","refsource":"MITRE","tags":[],"title":"libvirt.org Git - libvirt.git/commit","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2016:2577","name":"MISC:https://access.redhat.com/errata/RHSA-2016:2577","refsource":"MITRE","tags":[],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/security/cve/CVE-2015-5313","name":"MISC:https://access.redhat.com/security/cve/CVE-2015-5313","refsource":"MITRE","tags":[],"title":"CVE-2015-5313 - Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1277121","name":"MISC:https://bugzilla.redhat.com/show_bug.cgi?id=1277121","refsource":"MITRE","tags":[],"title":"Bug 1277121 – CVE-2015-5313 libvirt: filesystem storage volume names path traversal flaw","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-5313","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-5313","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2015","cve_id":"5313","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redhat","cpe5":"libvirt","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T06:41:09.347Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://security.libvirt.org/2015/0004.html"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://libvirt.org/git/?p=libvirt.git%3Ba=commit%3Bh=034e47c338b13a95cf02106a3af912c1c5f818d7"},{"name":"90913","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/90913"},{"name":"[libvirt] 20151211 [PATCH] CVE-2015-5313: storage: don't allow '/' in filesystem volume names","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"https://www.redhat.com/archives/libvir-list/2015-December/msg00473.html"},{"name":"FEDORA-2015-30b347dff1","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-December/174404.html"},{"name":"GLSA-201612-10","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"],"url":"https://security.gentoo.org/glsa/201612-10"},{"name":"RHSA-2016:2577","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://rhn.redhat.com/errata/RHSA-2016-2577.html"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2015-12-11T00:00:00.000Z","descriptions":[{"lang":"en","value":"Directory traversal vulnerability in the virStorageBackendFileSystemVolCreate function in storage/storage_backend_fs.c in libvirt, when fine-grained Access Control Lists (ACL) are in effect, allows local users with storage_vol:create ACL but not domain:write permission to write to arbitrary files via a .. (dot dot) in a volume name."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2018-01-04T19:57:01.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","shortName":"redhat"},"references":[{"tags":["x_refsource_CONFIRM"],"url":"http://security.libvirt.org/2015/0004.html"},{"tags":["x_refsource_CONFIRM"],"url":"http://libvirt.org/git/?p=libvirt.git%3Ba=commit%3Bh=034e47c338b13a95cf02106a3af912c1c5f818d7"},{"name":"90913","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/90913"},{"name":"[libvirt] 20151211 [PATCH] CVE-2015-5313: storage: don't allow '/' in filesystem volume names","tags":["mailing-list","x_refsource_MLIST"],"url":"https://www.redhat.com/archives/libvir-list/2015-December/msg00473.html"},{"name":"FEDORA-2015-30b347dff1","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-December/174404.html"},{"name":"GLSA-201612-10","tags":["vendor-advisory","x_refsource_GENTOO"],"url":"https://security.gentoo.org/glsa/201612-10"},{"name":"RHSA-2016:2577","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://rhn.redhat.com/errata/RHSA-2016-2577.html"}]}},"cveMetadata":{"assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","assignerShortName":"redhat","cveId":"CVE-2015-5313","datePublished":"2016-04-11T21:00:00.000Z","dateReserved":"2015-07-01T00:00:00.000Z","dateUpdated":"2024-08-06T06:41:09.347Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2016-04-11 21:59:04","lastModifiedDate":"2026-05-06 22:30:45","problem_types":["CWE-22","n/a"],"metrics":{"cvssMetricV30":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","baseScore":2.5,"baseSeverity":"LOW","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":1,"impactScore":1.4}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:N/I:P/A:N","baseScore":1.9,"accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"},"baseSeverity":"LOW","exploitabilityScore":3.4,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:redhat:libvirt:-:*:*:*:*:*:*:*","matchCriteriaId":"FED07429-2F89-4903-99EF-C153CD0FC59E"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2015","CveId":"5313","Ordinal":"1","Title":"CVE-2015-5313","CVE":"CVE-2015-5313","Year":"2015"},"notes":[{"CveYear":"2015","CveId":"5313","Ordinal":"1","NoteData":"Directory traversal vulnerability in the virStorageBackendFileSystemVolCreate function in storage/storage_backend_fs.c in libvirt, when fine-grained Access Control Lists (ACL) are in effect, allows local users with storage_vol:create ACL but not domain:write permission to write to arbitrary files via a .. (dot dot) in a volume name.","Type":"Description","Title":"CVE-2015-5313"},{"CveYear":"2015","CveId":"5313","Ordinal":"2","NoteData":"2016-04-11","Type":"Other","Title":"Published"},{"CveYear":"2015","CveId":"5313","Ordinal":"3","NoteData":"2018-01-04","Type":"Other","Title":"Modified"}]}}}