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

EcosystemPackageFixed inAdvisory
Debian:12nats-server2.9.8-1DEBIAN-CVE-2022-29946
Debian:13nats-server2.9.8-1DEBIAN-CVE-2022-29946
Debian:14nats-server2.9.8-1DEBIAN-CVE-2022-29946
Gogithub.com/nats-io/nats-serverno fix listedGO-2024-2980
Gogithub.com/nats-io/nats-server/v22.8.2GO-2024-2980
Gogithub.com/nats-io/nats-server/v22.8.2GHSA-2h2x-8hh2-mfq8
Gogithub.com/nats-io/nats-streaming-server0.24.6GHSA-2h2x-8hh2-mfq8
Gogithub.com/nats-io/nats-streaming-server0.24.6GO-2024-2980
Ubuntu:24.04:LTSnats-server2.10.7-1UBUNTU-CVE-2022-29946

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References