Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/nats-io/nats-server
  4. ›
  5. CVE-2022-28357

CVE-2022-28357: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

September 19, 2023 (updated September 21, 2023)

NATS nats-server 2.2.0 through 2.7.4 allows directory traversal because of an unintended path to a management action from a management account.

References

  • advisories.nats.io/CVE/CVE-2022-28357.txt
  • github.com/advisories/GHSA-vpjc-4jcv-jc29
  • github.com/nats-io/nats-server/releases/tag/v2.7.4
  • nvd.nist.gov/vuln/detail/CVE-2022-28357

Code Behaviors & Features

Detect and mitigate CVE-2022-28357 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 starting from 2.2.0 before 2.7.4

Fixed versions

  • v2.7.4

Solution

Upgrade to version 2.7.4 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/github.com/nats-io/nats-server/CVE-2022-28357.yml

Spotted a mistake? Edit the file on GitLab.

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

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