Improper input validation Affecting call package, versions >=2.0.1 <3.0.2


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.13% (50th 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 Improper input validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDnpm:call:20160705
  • published5 Jul 2016
  • disclosed5 Jul 2016
  • creditNicolas Morel

Introduced: 5 Jul 2016

CVE-2016-10543  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade to version 3.0.2 or higher.

Overview

call is the primary HTTP router of the hapi framework.

The vulnerability arise from undefined values inside a path (last segment being an exception) making their way into components that do not care for values being undefined (eg. the database layer).

For example, the request URI /delete/company// may incorrectly match a route looking for /delete/company/{company}/. By itself, the bad match is not a vulnerability. However, depending on the remaining logic in the application, such a bad match may result in skipping a protection mechanisms. In the above example, if the route translates to a DB delete command, it might delete all the companies from the db.

CVSS Scores

version 3.1