Vulnerability · Published Jul 11, 2024 · Assigned by mitre
CVE-2022-29946
Medium 6.3
In plain English
A medium-severity security flaw in the nats-server package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)6.3Medium
Exploit odds (30 days)0.5%top 58.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | nats-server | 2.9.8-1 | DEBIAN-CVE-2022-29946 |
| Debian:13 | nats-server | 2.9.8-1 | DEBIAN-CVE-2022-29946 |
| Debian:14 | nats-server | 2.9.8-1 | DEBIAN-CVE-2022-29946 |
| Go | github.com/nats-io/nats-server | no fix listed | GO-2024-2980 |
| Go | github.com/nats-io/nats-server/v2 | 2.8.2 | GO-2024-2980 |
| Go | github.com/nats-io/nats-server/v2 | 2.8.2 | GHSA-2h2x-8hh2-mfq8 |
| Go | github.com/nats-io/nats-streaming-server | 0.24.6 | GHSA-2h2x-8hh2-mfq8 |
| Go | github.com/nats-io/nats-streaming-server | 0.24.6 | GO-2024-2980 |
| Ubuntu:24.04:LTS | nats-server | 2.10.7-1 | UBUNTU-CVE-2022-29946 |