NATS nats-server before 2.7.4 allows Directory Traversal (with write access) via an element in a ZIP archive for JetStream streams. nats-streaming-server before 0.24.3 is also affected.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
https://github.com/nats-io/nats-server/releases | third party advisory release notes |
https://github.com/nats-io/nats-server/security/advisories/GHSA-6h3m-36w8-hv68 | third party advisory |
https://advisories.nats.io/CVE/CVE-2022-26652.txt | vendor advisory |
http://www.openwall.com/lists/oss-security/2022/03/10/1 | third party advisory mailing list |