{"schemaVersion":3,"id":"CVE-2022-3592","aliases":["ALPINE-CVE-2022-3592"],"status":"published","duplicateOf":null,"title":null,"description":"A symlink following vulnerability was found in Samba, where a user can create a symbolic link that will make 'smbd' escape the configured share path. This flaw allows a remote user with access to the exported part of the file system under a share via SMB1 unix extensions or NFS to create symlinks to files outside the 'smbd' configured share path and gain access to another restricted server's filesystem.","dates":{"published":"2023-01-12T00:00:00.000Z","modified":"2025-04-08T15:14:28.686Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02593,"percentile":0.85095,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.02593},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02451,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02451,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02451,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02451,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02593,"percentile":0.85095}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02593,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02593,"percentile":0.85095}]},"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-61","name":"UNIX Symbolic Link (Symlink) Following","description":"The product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. This could allow an attacker to cause the product to operate on unauthorized files.","type":"weakness","status":"Incomplete","abstraction":"Compound","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/61.html"},{"id":"CWE-59","name":"Improper Link Resolution Before File Access ('Link Following')","description":"The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/59.html"}],"affected":[{"vendor":"alpine","product":"samba","name":"samba","label":"samba","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/samba","purlType":"apk","versions":[{"text":"≥ 4.17.0, < 4.15.12-r0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.17.0, < 4.16.6-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.17.0, < 4.15.12-r0 | ≥ 4.17.0, < 4.16.6-r0","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"samba","label":"Samba","category":"server-app"}},"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"36","noFixRecorded":false,"fixedIn":null},{"text":"37","noFixRecorded":false,"fixedIn":null}],"versionsText":"36 | 37","eol":{"isEol":true,"eolDate":"2023-05-16T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"36","label":"36","eolFrom":"2023-05-16T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"samba","product":"samba","name":"Samba","label":"samba","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.17.0, < 4.17.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.17.0, < 4.17.2","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"samba","label":"Samba","category":"server-app"}},"hubHref":"/vendor/samba/samba"}],"affectedCount":3,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2137776","label":"bugzilla.redhat.com/show_bug.cgi?id=2137776","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","Third Party Advisory"]},{"url":"https://www.samba.org/samba/security/CVE-2022-3592.html","label":"www.samba.org/samba/security/CVE-2022-3592.html","hostname":"www.samba.org","tags":["Vendor Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-3592","label":"access.redhat.com/security/cve/CVE-2022-3592","hostname":"access.redhat.com","tags":["Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202309-06","label":"security.gentoo.org/glsa/202309-06","hostname":"security.gentoo.org","tags":["Vendor Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2022-3592","label":"security.alpinelinux.org/vuln/CVE-2022-3592","hostname":"security.alpinelinux.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2023-0010","OPENSUSE-SU-2024:12454-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:12454-1"]},"timeline":[{"kind":"published","date":"2023-01-12T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-08T15:14:28.686Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":27,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T20:36:34.864Z","stale":false,"partial":false}}