CVE-2016-10543: Call Route Validation Bypass Vulnerability

MODERATE
Advisory Identifier: GHSA-84fv-prrc-5ggr
CWE-20
Published
Advisory Summary

CVE-2016-10543 is a MODERATE route validation bypass vulnerability (CWE-20: Improper Input Validation) affecting Call libraries in the npm ecosystem. The issue involves route validation bypass in call. Remediation is available by upgrading affected packages to version 3.0.2.

CVE-2016-10543 at a Glance

CVE Identifier CVE-2016-10543
GHSA Identifier GHSA-84fv-prrc-5ggr
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-20: Improper Input Validation
Affected Product Call
Package Ecosystem npm
Published Date
Last Updated

How to Fix CVE-2016-10543

To remediate this vulnerability, upgrade all affected Call dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

call fixed: 3.0.2
npm install call@3.0.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls call

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2016-10543, inspect your project dependencies using npm:

npm ls call

Analyze the terminal output to locate any version of Call in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.2), your application is affected.

Note: The npm ls call command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Call, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Affected versions of `call` do not validate empty parameters, which may result in a bypass of route validation rules. ## Proof of Concept Routing Scheme: ``` /api/{param}/{param2}/details ``` Triggering Request Path: ``` /api/// ``` ## Recommendation Update to version 3.0.2 or later.

CVE-2016-10543 Affected Call Versions

1 component(s)
Fixed Versions:
3.0.2
Product / Package Ecosystem Affected Versions Fixed Version
call
npm
≥ 2.0.1
< 3.0.2
3.0.2

References

Frequently Asked Questions

What is CVE-2016-10543?
CVE-2016-10543 is a security vulnerability in Call involving Route Validation Bypass in call under CWE-20: Improper Input Validation.
Which Call versions are affected?
Affected versions include releases prior to 3.0.2 across affected packages: call.
What version fixes CVE-2016-10543?
Upgrading to 3.0.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is call affected?
Yes, call is affected in releases prior to 3.0.2. Upgrade your dependency to 3.0.2 or later.
What CWE is associated with CVE-2016-10543?
CVE-2016-10543 is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check npm dependencies for CVE-2016-10543?
Run the dependency tree command: 'npm ls call'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-84fv-prrc-5ggr",
  "modified" : "2020-08-31T18:11:30Z",
  "published" : "2019-02-18T23:40:04Z",
  "aliases" : [ "CVE-2016-10543" ],
  "summary" : "Route Validation Bypass in call",
  "details" : "Affected versions of `call` do not validate empty parameters, which may result in a bypass of route validation rules. \n\n## Proof of Concept\n\nRouting Scheme:\n```\n/api/{param}/{param2}/details\n```\nTriggering Request Path:\n```\n/api///\n```\n\n\n## Recommendation\n\nUpdate to version 3.0.2 or later.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "call"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.1"
      }, {
        "fixed" : "3.0.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-10543"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/hapijs/hapi/issues/3228"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-84fv-prrc-5ggr"
  }, {
    "type" : "WEB",
    "url" : "https://www.npmjs.com/advisories/121"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T21:24:17Z",
    "nvd_published_at" : null
  }
}