Description
ritp is a static web server. ritp is vulnerable to a directory traversal issue whereby an attacker can gain access to the file system by placing ../ in the URL. Access is restricted to files with a file extension, so files such as /etc/passwd are not accessible.
Remediation
References
https://nodesecurity.io/advisories/432
https://github.com/JacksonGL/NPM-Vuln-PoC/blob/master/directory-traversal/ritp
Related Vulnerabilities
CVE-2022-0155 Vulnerability in npm package follow-redirects
CVE-2020-7646 Vulnerability in npm package curlrequest
CVE-2020-7767 Vulnerability in npm package express-validators
CVE-2021-21351 Vulnerability in maven package com.thoughtworks.xstream:xstream
CVE-2019-10407 Vulnerability in maven package hudson.plugins:project-inheritance