{"schemaVersion":3,"id":"CVE-2022-47952","aliases":["ALPINE-CVE-2022-47952","openSUSE-SU-2024:0342-1","UBUNTU-CVE-2022-47952","DEBIAN-CVE-2022-47952","DLA-3533-1","openSUSE-SU-2024:12935-1"],"status":"published","duplicateOf":null,"title":null,"description":"lxc-user-nic in lxc through 5.0.1 is installed setuid root, and may allow local users to infer whether any file exists, even within a protected directory tree, because \"Failed to open\" often indicates that a file does not exist, whereas \"does not refer to a network namespace path\" often indicates that a file exists. NOTE: this is different from CVE-2018-6556 because the CVE-2018-6556 fix design was based on the premise that \"we will report back to the user that the open() failed but the user has no way of knowing why it failed\"; however, in many realistic cases, there are no plausible reasons for failing except that the file does not exist.","dates":{"published":"2023-01-01T00:00:00.000Z","modified":"2025-04-10T19:16:28.295Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":3.3,"severity":"low","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.3,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":3.3,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":4.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":3.3,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":4.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":3.3,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":4.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":3.3,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00722,"percentile":0.5338,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.019999999999999966,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00702},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00722,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00722,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00722,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00722,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00722,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00722,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00722,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00722,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00722,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00722,"percentile":0.5338}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00722,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00722,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00722,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00722,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00722,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00722,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00722,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00722,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00722,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00722,"percentile":0.5338}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-203","name":"Observable Discrepancy","description":"The product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/203.html"}],"affected":[{"vendor":"alpine","product":"lxc","name":"lxc","label":"lxc","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/lxc","purlType":"apk","versions":[{"text":"< 4.0.10-r2","noFixRecorded":false,"fixedIn":null},{"text":"< 4.0.12-r2","noFixRecorded":false,"fixedIn":null},{"text":"< 5.0.1-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.10-r2 | < 4.0.12-r2 | < 5.0.1-r2","eol":null,"hubHref":null},{"vendor":"debian","product":"lxc","name":"lxc","label":"lxc","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/lxc","purlType":"deb","versions":[{"text":"< 1:3.1.0+really3.0.3-8+deb10u1","noFixRecorded":false,"fixedIn":null},{"text":"< 1:5.0.2-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:3.1.0+really3.0.3-8+deb10u1 | < 1:5.0.2-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"lxc","name":"lxc","label":"lxc","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/lxc","purlType":"deb","versions":[{"text":"< 3.0.3-0ubuntu1~18.04.3+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1:4.0.12-0ubuntu1~20.04.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1:5.0.3-2ubuntu7.3+esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.0.3-0ubuntu1~18.04.3+esm1 | < 1:4.0.12-0ubuntu1~20.04.1+esm1 | < 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1 | < 1:5.0.3-2ubuntu7.3+esm1","eol":null,"hubHref":null},{"vendor":"linuxcontainers","product":"lxc","name":"lxc","label":"lxc","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 5.0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 5.0.1","eol":null,"hubHref":"/vendor/linuxcontainers/lxc"},{"vendor":"opensuse","product":"lxc&distro=openSUSE Leap 15.5","name":"lxc","label":"lxc&distro=openSUSE Leap 15.5","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/lxc&distro=openSUSE Leap 15.5","purlType":"rpm","versions":[{"text":"< 6.0.2-bp156.2.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.0.2-bp156.2.3.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"lxc&distro=openSUSE Leap 15.6","name":"lxc","label":"lxc&distro=openSUSE Leap 15.6","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/lxc&distro=openSUSE Leap 15.6","purlType":"rpm","versions":[{"text":"< 6.0.2-bp156.2.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.0.2-bp156.2.3.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"lxc&distro=openSUSE Tumbleweed","name":"lxc","label":"lxc&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/lxc&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 5.0.2-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.0.2-1.1","eol":null,"hubHref":null},{"vendor":"suse","product":"lxc&distro=SUSE Package Hub 15 SP5","name":"lxc","label":"lxc&distro=SUSE Package Hub 15 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/lxc&distro=SUSE Package Hub 15 SP5","purlType":"rpm","versions":[{"text":"< 6.0.2-bp156.2.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.0.2-bp156.2.3.1","eol":null,"hubHref":null},{"vendor":"suse","product":"lxc&distro=SUSE Package Hub 15 SP6","name":"lxc","label":"lxc&distro=SUSE Package Hub 15 SP6","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/lxc&distro=SUSE Package Hub 15 SP6","purlType":"rpm","versions":[{"text":"< 6.0.2-bp156.2.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.0.2-bp156.2.3.1","eol":null,"hubHref":null}],"affectedCount":9,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/lxc/lxc/blob/0b83d71c2c8f3bac9503f894cd84584f79258bb3/lxc.spec.in#L274","label":"github.com/lxc/lxc/blob/0b83d71c2c8f3bac9503f894cd84584f79258bb3/lxc.spec.in","hostname":"github.com","tags":["REPORT","Third Party Advisory"]},{"url":"https://github.com/lxc/lxc/blob/0b83d71c2c8f3bac9503f894cd84584f79258bb3/src/lxc/cmd/lxc_user_nic.c#L1085-L1104","label":"github.com/lxc/lxc/blob/0b83d71c2c8f3bac9503f894cd84584f79258bb3/src/lxc/cmd/lxc_user_nic.c","hostname":"github.com","tags":["REPORT","Third Party Advisory"]},{"url":"https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1783591/comments/45","label":"bugs.launchpad.net/ubuntu/+source/lxc/+bug/1783591/comments/45","hostname":"bugs.launchpad.net","tags":["Issue Tracking","Vendor Advisory"]},{"url":"https://github.com/MaherAzzouzi/CVE-2022-47952","label":"github.com/MaherAzzouzi/CVE-2022-47952","hostname":"github.com","tags":["REPORT","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/08/msg00025.html","label":"lists.debian.org/debian-lts-announce/2023/08/msg00025.html","hostname":"lists.debian.org","tags":["Mailing List"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2022-47952","label":"security.alpinelinux.org/vuln/CVE-2022-47952","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/OOSMXYJMF3W5N7MDXO2O3PADSGDX4HXP/","label":"lists.opensuse.org/archives/…","hostname":"lists.opensuse.org","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1204842","label":"bugzilla.suse.com/1204842","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://bugzilla.suse.com/1206779","label":"bugzilla.suse.com/1206779","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2022-47952","label":"www.suse.com/security/cve/CVE-2022-47952","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2022-47952","label":"ubuntu.com/security/CVE-2022-47952","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-47952","label":"www.cve.org/CVERecord?id=CVE-2022-47952","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8826-1","label":"ubuntu.com/security/notices/USN-8826-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-47952","label":"security-tracker.debian.org/tracker/CVE-2022-47952","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["USN-8826-1"],"duplicates":[],"related":["USN-8826-1"]},"timeline":[{"kind":"published","date":"2023-01-01T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-10T19:16:28.295Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":13,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T21:37:17.703Z","stale":false,"partial":false}}