{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-29946","id":"CVE-2022-29946","title":"NATS Server and Streaming Server fails to enforce negative user permissions, may allow denied subjects","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.","descriptionLong":"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":"2024-07-11T00:00:00.000Z","updated":"2026-06-17T04:41:00.913Z","reserved":"2022-04-29T00:00:00.000Z","status":"Deferred","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"CISA-ADP"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"medium","source":"GitHub"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/nats-io/nats-server/v2","purl":"pkg:golang/github.com/nats-io/nats-server/v2","ranges":["<2.8.2"],"fixed":["2.8.2"],"advisory":"GHSA-2h2x-8hh2-mfq8"},{"ecosystem":"Go","name":"github.com/nats-io/nats-streaming-server","purl":"pkg:golang/github.com/nats-io/nats-streaming-server","ranges":["<0.24.6"],"fixed":["0.24.6"],"advisory":"GHSA-2h2x-8hh2-mfq8"},{"ecosystem":"Go","name":"github.com/nats-io/nats-server","purl":"pkg:golang/github.com/nats-io/nats-server","ranges":["all versions"],"fixed":[],"advisory":"GO-2024-2980"}],"cwes":["CWE-863"],"aliases":["GHSA-2h2x-8hh2-mfq8","GO-2024-2980"],"references":[{"url":"https://github.com/nats-io/advisories/blob/main/CVE/CVE-2022-29946.txt","tags":["x_transferred","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29946","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-2h2x-8hh2-mfq8","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00478,"epssPercentile":0.42041,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-29946","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29946","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-29946","ok":true,"note":"3 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2h2x-8hh2-mfq8","ok":true,"note":"GHSA-2h2x-8hh2-mfq8"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-29946","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}