NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2022-29946: NATS Server and Streaming Server fails to enforce negative user permissions, may allow denied subjects

highCVSS 4.0 7.1 · 3.1 6.5GHSA-2h2x-8hh2-mfq8

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 Jul 11, 2024 · Updated Oct 30, 2024

Affected packages

github.com/nats-io/nats-server/v2

Ecosystem
Go
Affected
< 2.8.2
Fixed in
2.8.2
Check
go list -m github.com/nats-io/nats-server/v2

github.com/nats-io/nats-streaming-server

Ecosystem
Go
Affected
< 0.24.6
Fixed in
0.24.6
Check
go list -m github.com/nats-io/nats-streaming-server

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries