CVE-2020-10800: Lix Machine-In-The-Middle Vulnerability
HIGHCVE-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.
CVE-2020-10800 at a Glance
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).
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.
npm install lix@Latest secure release
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
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?
Which Lix versions are affected?
What version fixes CVE-2020-10800?
Is lix affected?
What is the CVSS score of CVE-2020-10800?
What CWE is associated with CVE-2020-10800?
How can I check npm dependencies for CVE-2020-10800?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}