PT-2020-16435

CVE-2020-26521

·

Published

2020-11-06

·

Updated

2022-07-01

Description by

CVSS 3.1
7.5
High
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions NATS Server versions 2 prior to 2.1.9 JWT library versions prior to 1.1.0
Description A malicious account can create and sign a User JWT with a state not created by the normal tooling, such that decoding by the NATS JWT library would attempt a nil dereference, aborting execution. This can cause a Denial of Service due to process termination in the NATS Server. The issue is related to the NATS account system, where an Operator trusted by the servers signs Accounts, and each Account can then create and sign Users within their account.
Recommendations Upgrade the NATS server to version 2.1.9 or later if using NATS Accounts. Upgrade the JWT dependency in any application using it to version 1.1.0 or later. If your NATS servers do not trust any accounts which are managed by untrusted entities, then malformed User credentials are unlikely to be encountered, and you may not need to take immediate action. However, upgrading is still recommended to prevent potential issues.
Exploitability
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-H2FG-54X9-5QHQ
GHSA-HMM9-R2M2-QG9W
GO-2022-0402
Found an issue in the description? Have something to add? Feel free to write us 👾