Vulnerability · Published Sep 19, 2023 · Assigned by mitre
CVE-2022-28357
Critical 9.8
In plain English
A critical-severity security flaw in the github.com/nats-io/nats-server package (Go). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 67% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)1.2%top 32.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/nats-io/nats-server | 2.7.4 | GHSA-vpjc-4jcv-jc29 |
| Go | github.com/nats-io/nats-server | no fix listed | GO-2023-2066 |
| Go | github.com/nats-io/nats-server/v2 | 2.7.4 | GO-2023-2066 |
| Ubuntu:24.04:LTS | nats-server | no fix listed | UBUNTU-CVE-2022-28357 |
| Ubuntu:25.10 | nats-server | no fix listed | UBUNTU-CVE-2022-28357 |
| Ubuntu:26.10 | nats-server | no fix listed | UBUNTU-CVE-2022-28357 |