Vulnerability · Published Mar 10, 2022 · Assigned by mitre
CVE-2022-26652
Medium 6.5
In plain English
A medium-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 2.3% (higher than 84% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)2.3%top 16.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
NATS nats-server before 2.7.4 allows Directory Traversal (with write access) via an element in a ZIP archive for JetStream streams. nats-streaming-server before 0.24.3 is also affected.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/nats-io/nats-server | no fix listed | GO-2022-0351 |
| Go | github.com/nats-io/nats-server/v2 | 2.7.4 | GHSA-6h3m-36w8-hv68 |
| Go | github.com/nats-io/nats-server/v2 | 2.7.4 | GO-2022-0351 |
| Go | github.com/nats-io/nats-streaming-server | 0.24.3 | GHSA-6h3m-36w8-hv68 |
| Go | github.com/nats-io/nats-streaming-server | 0.24.3 | GO-2022-0351 |
Affected products (as reported)
References
- https://github.com/nats-io/nats-server/releases x_refsource_MISC
- https://github.com/nats-io/nats-server/security/advisories/GHSA-6h3m-36w8-hv68 x_refsource_CONFIRM
- https://advisories.nats.io/CVE/CVE-2022-26652.txt x_refsource_CONFIRM
- [oss-security] 20220309 CVE-2022-26652: nats-server arbitrary file write mailing-list, x_refsource_MLIST