GitHub Advisoryadvisory · Go
GHSA-2h2x-8hh2-mfq8 NATS Server and Streaming Server fails to enforce negative user permissions, may allow denied subjects
HIGH
Official page ↗
- Aliases
- CVE-2022-29946
- Ecosystem
- Go
- Packages
- github.com/nats-io/nats-server/v2, github.com/nats-io/nats-streaming-server
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-863
- Reviewed
- 2024-07-12
Affected packages
• Go github.com/nats-io/nats-server/v2: < 2.8.2 → fixed in 2.8.2
• Go github.com/nats-io/nats-streaming-server: < 0.24.6 → fixed in 0.24.6
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.
Related
Alias · CVE (1)
- CVE-2022-29946 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… vulnerability
Weakness · CWE (1)
- CWE-863 Incorrect Authorization weakness