CVE-2022-29946
MEDIUM 6.3CVSS 3.1NATS Server and Streaming Server fails to enforce negative user permissions, may allow denied subjects
NATS.io NATS Server before 2.8.2 and Streaming Server before 0.24.6 could allow a remote attacker to bypass security restrictions, caused by the failure to enforce negative user permissions in one scenario. By using a queue subscription on the wildcard, an attacker could exploit this vulnerability to allow denied subjects.
- Published
- 11 Jul 2024
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Weakness
- CWE-863
- Also known as
- GHSA-2h2x-8hh2-mfq8GO-2024-2980
- Sources
- NVDJSONOSV GHSA-2h2x-8hh2-mfq8JSONOSV GO-2024-2980JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N | |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/nats-io/nats-server/v2 | < 2.8.2 | 2.8.2 |
| OSV | Go | github.com/nats-io/nats-streaming-server | < 0.24.6 | 0.24.6 |
| OSV | Go | github.com/nats-io/nats-server | all versions |
References
- https://github.com/nats-io/advisories/blob/main/CVE/CVE-2022-29946.txt · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-29946 · ADVISORY
- https://github.com/advisories/GHSA-2h2x-8hh2-mfq8 · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 11 Jul 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 12 Jul 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 11 Jul 2024)