CVE-2018-3743: Hekto Open Redirect Vulnerability

MODERATE
Advisory Identifier: GHSA-qmm9-x5gr-4gfm
CVSS 6.1
CWE-601
Published
Advisory Summary

CVE-2018-3743 is a MODERATE (CVSS 6.1) open redirect vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Hekto libraries in the npm ecosystem. The issue involves open redirect in hekto. Remediation is available by upgrading affected packages to version 0.2.4.

CVE-2018-3743 at a Glance

CVE Identifier CVE-2018-3743
GHSA Identifier GHSA-qmm9-x5gr-4gfm
Severity MODERATE
CVSS v3.1 Base Score 6.1
CWE Classification CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
Affected Product Hekto
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 6.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2018-3743

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

hekto fixed: 0.2.4
npm install hekto@0.2.4
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 hekto

How to Check if You Are Affected

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

npm ls hekto

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

Note: The npm ls hekto 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-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In Hekto, 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

Versions of `hekto` before 0.2.4 are vulnerable to open redirect when a domain name is used as part of the `.html` filename. ## Recommendation Update to version 0.2.4 or later.

CVE-2018-3743 Affected Hekto Versions

1 component(s)
Fixed Versions:
0.2.4
Product / Package Ecosystem Affected Versions Fixed Version
hekto
npm
< 0.2.4
0.2.4

References

Frequently Asked Questions

What is CVE-2018-3743?
CVE-2018-3743 is a security vulnerability in Hekto involving Open Redirect in hekto under CWE-601: URL Redirection to Untrusted Site ('Open Redirect').
Which Hekto versions are affected?
Affected versions include releases prior to 0.2.4 across affected packages: hekto.
What version fixes CVE-2018-3743?
Upgrading to 0.2.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is hekto affected?
Yes, hekto is affected in releases prior to 0.2.4. Upgrade your dependency to 0.2.4 or later.
What is the CVSS score of CVE-2018-3743?
CVE-2018-3743 has a CVSS v3.1 base score of 6.1 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2018-3743?
CVE-2018-3743 is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect') (The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.).
How can I check npm dependencies for CVE-2018-3743?
Run the dependency tree command: 'npm ls hekto'. 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-qmm9-x5gr-4gfm",
  "modified" : "2023-01-31T01:42:14Z",
  "published" : "2018-07-18T21:20:12Z",
  "aliases" : [ "CVE-2018-3743" ],
  "summary" : "Open Redirect in hekto",
  "details" : "Versions of `hekto` before 0.2.4 are vulnerable to open redirect when a domain name is used as part of the `.html` filename.\n\n\n## Recommendation\n\nUpdate to version 0.2.4 or later.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "hekto"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.2.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-3743"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/herber/hekto/pull/3"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/herber/hekto/commit/1e5c75f8259ba0daf9b2600db3c246cda1934c46"
  }, {
    "type" : "WEB",
    "url" : "https://hackerone.com/reports/320693"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-qmm9-x5gr-4gfm"
  }, {
    "type" : "WEB",
    "url" : "https://www.npmjs.com/advisories/669"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-601" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T21:52:21Z",
    "nvd_published_at" : "2018-06-01T17:29:00Z"
  }
}