Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/go-sonic/sonic
  4. ›
  5. CVE-2022-46959

CVE-2022-46959: Path Traversal in github.com/go-sonic/sonic

January 23, 2023

An issue in the component /admin/backups/work-dir of Sonic v1.0.4 allows attackers to execute a directory traversal.

References

  • github.com/advisories/GHSA-2x48-p6cq-5xcw
  • github.com/go-sonic/sonic/issues/56
  • github.com/go-sonic/sonic/pull/61/commits/3b00266a13fa69284f4b3f4b37d29be8f8e02f31
  • github.com/go-sonic/sonic/releases/tag/v1.0.5
  • nvd.nist.gov/vuln/detail/CVE-2022-46959

Code Behaviors & Features

Detect and mitigate CVE-2022-46959 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.0.5

Fixed versions

  • v1.0.5

Solution

Upgrade to version 1.0.5 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Source file

go/github.com/go-sonic/sonic/CVE-2022-46959.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:17 +0000.