SCA: security update for github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2 (GHSA-m4jx-6526-vvhm)

high Tenable Self-Hosted Container Security Plugin ID 416725

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- This affects all versions of package github.com/nats-io/nats-server/server. Untrusted accounts are able to
crash the server using configs that represent a service export/import cycles. Disclaimer from the
maintainers: Running a NATS service which is exposed to untrusted users presents a heightened risk. Any
remote execution flaw or equivalent seriousness, or denial-of-service by unauthenticated users, will lead
to prompt releases by the NATS maintainers. Fixes for denial of service issues with no threat of remote
execution, when limited to account holders, are likely to just be committed to the main development branch
with no special attention. Those who are running such services are encouraged to build regularly from git.
(CVE-2020-28466)

Solution

Update the github.com/nats-io/nats-server library and its related packages to version 2.2.0 or later.

See Also

https://github.com/advisories/GHSA-m4jx-6526-vvhm

Plugin Details

Severity: High

ID: 416725

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.18

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

CVSS Score Source: CVE-2020-28466

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 2/15/2022

Vulnerability Publication Date: 3/7/2021

Reference Information

CVE: CVE-2020-28466

cwe: CWE-400