Vulnerabilities in pkg:npm/xo-web
PACKAGECVE-2021-36383 is a MODERATE (CVSS 4.3) xen orchestra mishandles authorization vulnerability (CWE-863: Incorrect Authorization) affecting Xo web libraries in the npm ecosystem. The issue involves xen orchestra mishandles authorization. Remediation is available in the latest vendor maintenance releases.
pkg:npm/xo-web
Vulnerability advisories affecting package pkg:npm/xo-web. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-grvm-gcqf-gh8q | CVE-2021-36383 | MODERATE | Xen Orchestra Mishandles Authorization |
CVE-2021-36383 at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2021-36383
To remediate this vulnerability, upgrade all affected Xo web 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 xo-web@Latest secure release
npm install xo-server@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls xo-web
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2021-36383, inspect your project dependencies using npm:
npm ls xo-web
Analyze the terminal output to locate any version of Xo web 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 xo-web 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-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In Xo web, 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-2021-36383 Affected Xo web Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
xo-web
|
npm |
≤ 5.80.0
|
|
|
xo-server
|
npm |
≤ 5.84.0
|
|
References
Frequently Asked Questions
What is CVE-2021-36383?
Which Xo web versions are affected?
What version fixes CVE-2021-36383?
Is xo-web affected?
Is xo-server affected?
What is the CVSS score of CVE-2021-36383?
What CWE is associated with CVE-2021-36383?
How can I check npm dependencies for CVE-2021-36383?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-grvm-gcqf-gh8q",
"modified" : "2023-10-19T18:34:45Z",
"published" : "2022-05-24T19:07:30Z",
"aliases" : [ "CVE-2021-36383" ],
"summary" : "Xen Orchestra Mishandles Authorization",
"details" : "Xen Orchestra (with xo-web through 5.80.0 and xo-server through 5.84.0) mishandles authorization, as demonstrated by modified WebSocket `resourceSet.getAll` data is which the attacker changes the permission field from none to admin. The attacker gains access to data sets such as VMs, Backups, Audit, Users, and Groups.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "xo-web"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "5.80.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "xo-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "5.84.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-36383"
}, {
"type" : "WEB",
"url" : "https://github.com/vatesfr/xen-orchestra/issues/5712"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/vatesfr/xen-orchestra"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-863" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-10-19T18:34:45Z",
"nvd_published_at" : "2021-07-12T14:15:00Z"
}
}