Arbitrary file write in nats-server
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/nats-io/nats-server/v2 Go |
|
|
| github.com/nats-io/nats-streaming-server Go |
|
|
| github.com/nats-io/nats-server |
| Product | Affected | Fixed in |
|---|---|---|
| github.com/nats-io/nats-server/v2 Go |
|
|
| github.com/nats-io/nats-streaming-server Go |
|
|
| github.com/nats-io/nats-server |
|
| No fix yet |
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.
From the CVE record · mitre
NATS nats-server before 2.7.4 and nats-streaming-server before 0.24.3 are affected by directory traversal through an element in a ZIP archive for JetStream streams. An attacker can gain write access through that archive element; the input does not specify authentication requirements or user interaction.
Check deployments using Go github.com/nats-io/nats-server/v2 versions >=2.2.0 and <2.7.4, github.com/nats-io/nats-streaming-server versions >=0.15.0 and <0.24.3, or github.com/nats-io/nats-server, for which all versions are listed as affected.