#VU64777 Path traversal in nats-server and NATS Streaming System Server


Published: 2022-06-29

Vulnerability identifier: #VU64777

Vulnerability risk: Low

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-26652

CWE-ID: CWE-22

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
nats-server
Server applications / Other server solutions
NATS Streaming System Server
Other software / Other software solutions

Vendor: NATS - The Cloud Native Messaging System

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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

nats-server: 2.2.0 - 2.7.3

NATS Streaming System Server: 0.15.0 - 0.24.2


External links
http://github.com/nats-io/nats-server/security/advisories/GHSA-6h3m-36w8-hv68
http://github.com/nats-io/nats-server/releases
http://advisories.nats.io/CVE/CVE-2022-26652.txt
http://www.openwall.com/lists/oss-security/2022/03/10/1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability