Resource exhaustion in nats-server - CVE-2020-28466
Published: June 29, 2022 / Updated: June 30, 2026
Vulnerability identifier: #VU64781
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2020-28466
CWE-ID: CWE-400
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: NATS - The Cloud Native Messaging System
Affected software:
nats-server
nats-server
Detailed vulnerability description
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to application does not properly control consumption of internal resources. A remote attacker can perform a denial of service attack using configs that represent a service export/import cycles.
How to mitigate CVE-2020-28466
Install updates from vendor's website.
Sources
- http://www.openwall.com/lists/oss-security/2021/03/16/1
- http://www.openwall.com/lists/oss-security/2021/03/16/2
- https://github.com/nats-io/nats-server/pull/1731
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMNATSIONATSSERVERSERVER-1042967
- https://github.com/nats-io/nats-server/security/advisories/GHSA-gwj5-3vfq-q992