Live threats

All CVEs

CVE-2022-29946

Medium 6.3

Priority
38
CVSS 3.1
6.3
EPSS
0.8%
probability of exploitation in 30 days · percentile 55
Auth required
Yes
Published
Jul 11, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

What happens

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.

Original NVD text.

What to do

  1. Check whether you run any of the affected products and follow the vendor advisory.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/nats-io/nats-server all no fixed version —
Go github.com/nats-io/nats-server/v2 < 2.8.2 2.8.2 go get github.com/nats-io/nats-server/v2@v2.8.2
Go github.com/nats-io/nats-server/v2 < 2.8.2 2.8.2 go get github.com/nats-io/nats-server/v2@v2.8.2
Go github.com/nats-io/nats-streaming-server < 0.24.6 0.24.6 go get github.com/nats-io/nats-streaming-server@v0.24.6
Go github.com/nats-io/nats-streaming-server < 0.24.6 0.24.6 go get github.com/nats-io/nats-streaming-server@v0.24.6

Per OSV / GitHub Advisories (GO-2024-2980, GHSA-2h2x-8hh2-mfq8). Check the version in your lockfile before upgrading.

Official sources

References

Links published by the sources. Open them with care.