NATS-Server
cpe:2.3:a:nats:nats_server:*:*:*:*:*:*:*
- <= 2.12.5
- <= 2.11.14
A vulnerability exists in NATS-Server versions prior to 2.11.15 and 2.12.6, where static credentials provided via command-line arguments are exposed to users who can access the monitoring port. The '/debug/vars' endpoint reveals an unredacted copy of the command-line arguments, including sensitive credentials, if the monitoring port is enabled.
Exposing static credentials via the monitoring port can lead to unauthorized access or actions on behalf of the credentialed user.
Users can upgrade to NATS-Server versions 2.12.6 or 2.11.15. As a workaround, configure credentials in a configuration file instead of via command-line arguments, and avoid enabling the monitoring port if secrets are included in the arguments. It is also recommended not to expose the monitoring port to the Internet or untrusted networks.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.