Vulnerabilities in pkg:npm/lix

PACKAGE
Advisory Identifier: GHSA-q8xg-8xwf-m598
Advisory Summary

CVE-2020-10800 is a HIGH (CVSS 8.1) machine-in-the-middle vulnerability (CWE-544: Missing Standardized Error Handling Mechanism) affecting Lix libraries in the npm ecosystem. The issue involves machine-in-the-middle in lix. Remediation is available in the latest vendor maintenance releases.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/lix

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/lix. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-q8xg-8xwf-m598 CVE-2020-10800 HIGH Machine-In-The-Middle in lix

CVE-2020-10800 at a Glance

CVE Identifier CVE-2020-10800
GHSA Identifier GHSA-q8xg-8xwf-m598
Severity HIGH
CVSS v3.1 Base Score 8.1
CWE Classification CWE-544: Missing Standardized Error Handling Mechanism
Affected Product Lix
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 8.1

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

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2020-10800

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

lix fixed: Latest secure release
npm install lix@Latest secure release
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 lix

How to Check if You Are Affected

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

npm ls lix

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

Note: The npm ls lix 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-544: Missing Standardized Error Handling Mechanism, where the product does not use a standardized method for handling errors throughout the code, which might introduce inconsistent error handling and resultant weaknesses. In Lix, 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

All versions of `lix` are vulnerable to Machine-In-The-Middle. The package accepts downloads with `http` and follows `location` header redirects for package downloads. This allows for an attacker in a privileged network position to intercept a lix package installation and redirect the download to a malicious source. ## Recommendation No fix is currently available. Consider using an alternative package until a fix is made available.

CVE-2020-10800 Affected Lix Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
lix
npm
≤ 15.11.4

References

Frequently Asked Questions

What is CVE-2020-10800?
CVE-2020-10800 is a security vulnerability in Lix involving Machine-In-The-Middle in lix under CWE-544: Missing Standardized Error Handling Mechanism.
Which Lix versions are affected?
Affected versions include releases prior to current release patches across affected packages: lix.
What version fixes CVE-2020-10800?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is lix affected?
Yes, lix is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2020-10800?
CVE-2020-10800 has a CVSS v3.1 base score of 8.1 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2020-10800?
CVE-2020-10800 is classified under CWE-544: Missing Standardized Error Handling Mechanism (The product does not use a standardized method for handling errors throughout the code, which might introduce inconsistent error handling and resultant weaknesses.).
How can I check npm dependencies for CVE-2020-10800?
Run the dependency tree command: 'npm ls lix'. 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-q8xg-8xwf-m598",
  "modified" : "2021-09-16T20:39:54Z",
  "published" : "2020-04-16T03:14:59Z",
  "aliases" : [ "CVE-2020-10800" ],
  "summary" : "Machine-In-The-Middle in lix",
  "details" : "All versions of `lix` are vulnerable to Machine-In-The-Middle. The package accepts downloads with `http` and follows `location` header redirects for package downloads. This allows for an attacker in a privileged network position to intercept a lix package installation and redirect the download to a malicious source.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "lix"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "15.11.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-10800"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/lix-pm/lix.client"
  }, {
    "type" : "WEB",
    "url" : "https://www.npmjs.com/advisories/1306"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-544", "CWE-639" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-04-16T03:10:39Z",
    "nvd_published_at" : "2020-03-21T15:15:00Z"
  }
}