CVE-2022-29946
mediumpriority · track · 0OT risk · elevatedEPSS 0.005 · 41 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
- Go github.com/nats-io/nats-streaming-server< 0.24.6osvUSpkg:golang/github.com/nats-io/nats-streaming-server
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-2h2x-8hh2-mfq8NATS Server and Streaming Server fails to enforce negative user permissions, may allow denied subjects2024-07-11ghsa · osvUS
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.
- GO-2024-2980NATS Server and Streaming Server fails to enforce negative user permissions, may allow denied subjects in github.com/nats-io/nats-server2024-07-12vendor · osvUS
NATS Server and Streaming Server fails to enforce negative user permissions, may allow denied subjects in github.com/nats-io/nats-server
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2022-29946cnnvd
- https://cxsecurity.com/cveshow/CVE-2022-29946/cnnvd
- https://github.com/nats-io/advisories/blob/main/CVE/CVE-2022-29946.txtcnnvd
- https://github.com/nats-io/nats-server/releases/tag/v2.10.17Patchcnnvd
- https://github.com/nats-io/advisories/blob/main/CVE/CVE-2022-29946.txtenisa_euvd
- https://github.com/nats-io/advisories/blob/main/CVE/CVE-2022-29946.txtnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan