CVE-2022-24450Linuxfoundation Nats-server
High 8.8
Follow: this CVE · Linuxfoundation · Linuxfoundation Nats-server We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 69
- Auth required
- Yes
- Published
- Feb 8, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-862
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
NATS nats-server before 2.7.2 has Incorrect Access Control. Any authenticated user can obtain the privileges of the System account by misusing the "dynamically provisioned sandbox accounts" feature.
What to do
- Apply the vendor's security update for Nats-server.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/nats-io/nats-server |
all |
no fixed version | — |
| Go | github.com/nats-io/nats-server/v2 |
≥ 2.0.0 < 2.7.2 |
2.7.2 |
go get github.com/nats-io/nats-server/v2@v2.7.2 |
| Go | github.com/nats-io/nats-server/v2 |
≥ 2.0.0 < 2.7.2 |
2.7.2 |
go get github.com/nats-io/nats-server/v2@v2.7.2 |
| Go | github.com/nats-io/nats-streaming-server |
≥ 0.15.0 < 0.24.1 |
0.24.1 |
go get github.com/nats-io/nats-streaming-server@v0.24.1 |
| Go | github.com/nats-io/nats-streaming-server |
≥ 0.15.0 < 0.24.1 |
0.24.1 |
go get github.com/nats-io/nats-streaming-server@v0.24.1 |
Per OSV / GitHub Advisories (GO-2022-0307, GHSA-g6w6-r76c-28j7). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linuxfoundation | nats-server | ≥ 2.0.0 < 2.7.2 |
| nats | nats_streaming_server | ≥ 0.15.0 < 0.24.1 |
Official sources
References
Links published by the sources. Open them with care.
- advisories.nats.io Vendor Advisory
- github.com Release Notes Third Party Advisory