Path traversal in nats-server and NATS Streaming System Server - CVE-2022-26652

 

Path traversal in nats-server and NATS Streaming System Server - CVE-2022-26652

Published: June 29, 2022


Vulnerability identifier: #VU64777
CSH Severity: Low
CVSS v4.0: 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/E:U/U:Clear
CVE-ID: CVE-2022-26652
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: NATS - The Cloud Native Messaging System
Affected software:
nats-server
NATS Streaming System Server

Detailed vulnerability description

The vulnerability allows a remote user to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences. A remote user can send a specially crafted element in a ZIP archive for JetStream streams and read arbitrary files on the system.


How to mitigate CVE-2022-26652

Install update from vendor's website.

Sources