{"id":"CVE-2022-46959","aliases":["CVE-2022-46959","GHSA-2x48-p6cq-5xcw","GO-2023-1509"],"related":[],"kind":"vulnerability","state":"published","title":"Path Traversal in github.com/go-sonic/sonic","summary":"An issue in the component /admin/backups/work-dir of Sonic v1.0.4 allows attackers to execute a directory traversal.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue in the component /admin/backups/work-dir of Sonic v1.0.4 allows attackers to execute a directory traversal.","source":"cvelist"},{"lang":"en","text":"Path Traversal in github.com/go-sonic/sonic","format":"markdown","source":"go"},{"lang":"es","text":"Un problema en el componente /admin/backups/work-dir de Sonic v1.0.4 permite a los atacantes ejecutar un directory traversal.","source":"nvd"}],"published":"2023-01-23T00:00:00.000Z","modified":"2026-06-17T05:12:44.110Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.0.5"}],"ecosystem":"Go","package":"github.com/go-sonic/sonic","purl":"pkg:golang/github.com/go-sonic/sonic","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.0.5"}],"ecosystem":"Go","package":"github.com/go-sonic/sonic","purl":"pkg:golang/github.com/go-sonic/sonic","source":"go"},{"ranges":[{"status":"affected","version":"1.0.4"}],"vendor":"sonic_project","product":"sonic","cpe":"cpe:2.3:a:sonic_project:sonic:1.0.4:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/go-sonic/sonic/issues/56","tags":["exploit","issue-tracking","patch","report","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-46959","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/go-sonic/sonic/pull/61/commits/3b00266a13fa69284f4b3f4b37d29be8f8e02f31","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/go-sonic/sonic","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/go-sonic/sonic/releases/tag/v1.0.5","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/advisories/GHSA-2x48-p6cq-5xcw","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-04-03T14:07:10.520Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-46959","url":"https://www.cve.org/CVERecord?id=CVE-2022-46959","licence":"CVE Terms of Use","modified":"2025-04-03T14:11:53.604Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2x48-p6cq-5xcw","url":"https://github.com/advisories/GHSA-2x48-p6cq-5xcw","licence":"CC-BY-4.0","modified":"2024-08-20T20:58:59.460Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2023-1509","url":"https://pkg.go.dev/vuln/GO-2023-1509","licence":"CC-BY-4.0","modified":"2026-03-03T04:53:15.025Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-46959","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-46959","licence":"Public domain","modified":"2026-06-17T05:12:44.110Z"}],"updatedAt":"2026-11-25T22:58:18.275Z","epss":{"score":0.00808,"percentile":0.57995,"date":"2026-12-01T12:00:22.000Z"}}