—
GO-2022-0351
Arbitrary file write in nats-server in github.com/nats-io/nats-server
Quick fix
GO-2022-0351 — github.com/nats-io/nats-server/v2: upgrade to the fixed version with the command below.
go get github.com/nats-io/nats-server/v2@v2.7.4Details
Arbitrary file write in nats-server in github.com/nats-io/nats-server
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/nats-io/nats-server
Introduced in:
0No fixed version published yet for github.com/nats-io/nats-server (go modules). Pin to a known-safe version or switch to an alternative.
Go/github.com/nats-io/nats-server/v2
Introduced in:
2.2.0Fixed in: 2.7.4Fix
go get github.com/nats-io/nats-server/v2@v2.7.4Go/github.com/nats-io/nats-streaming-server
Introduced in:
0.15.0Fixed in: 0.24.3Fix
go get github.com/nats-io/nats-streaming-server@v0.24.3References
- https://github.com/nats-io/nats-server/security/advisories/GHSA-6h3m-36w8-hv68[ADVISORY]
- https://nvd.nist.gov/vuln/detail/CVE-2022-26652[ADVISORY]
- https://github.com/nats-io/nats-server/pull/2917[FIX]
- http://www.openwall.com/lists/oss-security/2022/03/10/1[WEB]
- https://advisories.nats.io/CVE/CVE-2022-26652.txt[WEB]
- https://github.com/nats-io/nats-server/releases[WEB]
- https://github.com/nats-io/nats-server/releases/tag/v2.7.4[WEB]
- https://github.com/nats-io/nats-streaming-server/releases/tag/v0.24.3[WEB]