{"id":"GHSA-2h2x-8hh2-mfq8","summary":"NATS Server and Streaming Server fails to enforce negative user permissions, may allow denied subjects","details":"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.","aliases":["CVE-2022-29946","GO-2024-2980"],"modified":"2024-10-30T18:50:03Z","published":"2024-07-11T21:31:12Z","database_specific":{"nvd_published_at":"2024-07-11T21:15:10Z","cwe_ids":["CWE-863"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2024-07-12T14:01:30Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29946"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-2h2x-8hh2-mfq8"},{"type":"WEB","url":"https://github.com/nats-io/advisories/blob/main/CVE/CVE-2022-29946.txt"}],"affected":[{"package":{"name":"github.com/nats-io/nats-server/v2","ecosystem":"Go","purl":"pkg:golang/github.com/nats-io/nats-server/v2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.8.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/07/GHSA-2h2x-8hh2-mfq8/GHSA-2h2x-8hh2-mfq8.json"}},{"package":{"name":"github.com/nats-io/nats-streaming-server","ecosystem":"Go","purl":"pkg:golang/github.com/nats-io/nats-streaming-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.24.6"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/07/GHSA-2h2x-8hh2-mfq8/GHSA-2h2x-8hh2-mfq8.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"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"}]}