Directory Traversal Affecting larvitbase-api package, versions <0.5.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.1% (42nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-LARVITBASEAPI-459899
  • published20 Aug 2019
  • disclosed20 Aug 2019
  • creditVasiliy Ermilov

Introduced: 20 Aug 2019

CVE-2019-5479  (opens in a new tab)
CWE-23  (opens in a new tab)

How to fix?

Upgrade larvitbase-api to version 0.5.5 or higher.

Overview

larvitbase-api is a part of larbitbase - a scaled down version of Express.

Affected versions of this package are vulnerable to Directory Traversal. The server dynamically loads some parts of the code. As long as the path to required module is partially depend on the URL, an attacker can cause code to load that was not intended to run on the server.

CVSS Scores

version 3.1