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

EcosystemPackageFixed inAdvisory
Gogithub.com/nats-io/nats-server2.7.4GHSA-vpjc-4jcv-jc29
Gogithub.com/nats-io/nats-serverno fix listedGO-2023-2066
Gogithub.com/nats-io/nats-server/v22.7.4GO-2023-2066
Ubuntu:24.04:LTSnats-serverno fix listedUBUNTU-CVE-2022-28357
Ubuntu:25.10nats-serverno fix listedUBUNTU-CVE-2022-28357
Ubuntu:26.10nats-serverno fix listedUBUNTU-CVE-2022-28357

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References