CVEfocus › CVE database › CVE-2022-29946

CVE-2022-29946

CVSS 6.3 MediumEPSS 0.8% (higher than 55% of CVEs)Published 2024-07-11Updated 2024-10-30Assigner: mitre

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.

What to do

Fixed builds are available from Debian, Go: see the table below for the fixed version per release.

Go has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
1Fix pending
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04nats-serverNot affected
vulnerable_code_not_present
Debian 14nats-serverFixed2.9.8-1DEBIAN-CVE-2022-29946
Debian 13nats-serverFixed2.9.8-1DEBIAN-CVE-2022-29946
Debian 12nats-serverFixed2.9.8-1DEBIAN-CVE-2022-29946
Go librarygithub.com/nats-io/nats-serverFix pendingGO-2024-2980
Go librarygithub.com/nats-io/nats-server/v2Fixed2.8.2GHSA-2h2x-8hh2-mfq8
Go librarygithub.com/nats-io/nats-streaming-serverFixed0.24.6GO-2024-2980

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.