{"id":"CVE-2022-29946","aliases":["DEBIAN-CVE-2022-29946","EUVD-2024-2224","GHSA-2h2x-8hh2-mfq8","GO-2024-2980","UBUNTU-CVE-2022-29946"],"status":"published","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.","severity":{"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","level":"medium","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-09","score":0.00478,"percentile":0.41547,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-863"],"published":"2024-07-11T00:00:00Z","modified":"2026-10-15T08:02:37Z","fixes":[{"ecosystem":"Go","package":"github.com/nats-io/nats-server/v2","fixed_in":["2.8.2"],"sources":["ghsa","osv"]},{"ecosystem":"Go","package":"github.com/nats-io/nats-streaming-server","fixed_in":["0.24.6"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"nats-server","fixed_in":["2.9.8-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"nats-server","fixed_in":["2.9.8-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"nats-server","fixed_in":["2.9.8-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/nats-io/nats-server/v2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.2"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/nats-io/nats-streaming-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.24.6"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"nats-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.8-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"nats-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.8-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"nats-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.8-1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/nats-io/nats-server/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.8.2"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/nats-io/nats-streaming-server","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.24.6"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/nats-io/nats-server","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/nats-io/nats-server/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.8.2"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/nats-io/nats-streaming-server","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.24.6"}]}]}],"references":[{"url":"https://github.com/nats-io/advisories/blob/main/CVE/CVE-2022-29946.txt","tags":["x_transferred","advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29946","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-2h2x-8hh2-mfq8","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-29946","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-29946","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-29946","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-29946","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.","status":"published","published":"2024-07-11T00:00:00Z","modified":"2024-10-30T14:43:56.23Z","cvss":[{"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","level":"medium","assessor":"adp"}],"updated_at":"2026-11-02T14:34:35.945659Z"}],"euvd":[{"id":"EUVD-2024-2224","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.","status":"published","published":"2024-07-11T00:00:00Z","modified":"2024-10-30T14:43:56Z","cvss":[{"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","level":"medium"}],"updated_at":"2026-11-03T00:05:14.330068Z"}],"ghsa":[{"id":"GHSA-2h2x-8hh2-mfq8","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.","status":"published","published":"2024-07-11T21:31:12Z","modified":"2024-10-30T18:50:04Z","cvss":[{"version":"4.0","score":7.1,"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","level":"high"},{"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","level":"medium"}],"cwes":["CWE-863"],"updated_at":"2026-11-02T14:38:14.769863Z"}],"nvd":[{"id":"CVE-2022-29946","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.","status":"published","published":"2024-07-11T21:15:10.48Z","modified":"2026-06-17T04:41:00.913Z","cvss":[{"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","level":"medium","assessor":"secondary"}],"updated_at":"2026-11-02T14:07:40.49892Z"}],"osv":[{"id":"DEBIAN-CVE-2022-29946","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.","status":"published","published":"2024-07-11T21:15:10.48Z","modified":"2026-11-03T08:04:07.678215027Z","cvss":[{"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","level":"medium"}],"updated_at":"2026-11-03T08:23:07.763774Z"},{"id":"GHSA-2h2x-8hh2-mfq8","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.","status":"published","published":"2024-07-11T21:31:12Z","modified":"2024-10-30T18:50:03Z","cvss":[{"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","level":"medium"},{"version":"4.0","score":7.1,"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","level":"high"}],"cwes":["CWE-863"],"updated_at":"2026-11-02T15:46:34.338541Z"},{"id":"UBUNTU-CVE-2022-29946","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.","status":"withdrawn","published":"2024-07-11T21:15:00Z","modified":"2025-07-16T07:20:19.963039Z","cvss":[{"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","level":"medium"}],"updated_at":"2026-11-02T16:53:53.899276Z"},{"id":"CVE-2022-29946","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.","status":"published","published":"2024-07-11T21:15:10Z","modified":"2026-04-10T04:47:25.901275Z","updated_at":"2026-11-02T15:44:25.516981Z"},{"id":"GO-2024-2980","title":"NATS Server and Streaming Server fails to enforce negative user permissions, may allow denied subjects in github.com/nats-io/nats-server","description":"NATS Server and Streaming Server fails to enforce negative user permissions, may allow denied subjects in github.com/nats-io/nats-server","status":"published","published":"2024-07-12T16:45:14Z","modified":"2026-03-03T04:55:32.473187Z","updated_at":"2026-11-02T15:47:01.453823Z"}]}}
