CVE-2023-5573: @vrite/sdk Remote Code Execution Vulnerability
MODERATECVE-2023-5573 is a MODERATE (CVSS 4.7) remote code execution vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting @vrite/sdk libraries in the npm ecosystem. The issue involves allocation of resources without limits or throttling in vriteio/vrite. Remediation is available by upgrading affected packages to version 0.3.0.
CVE-2023-5573 at a Glance
Security Impact
CVSS: 4.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L).
How to Fix CVE-2023-5573
To remediate this vulnerability, upgrade all affected @vrite/sdk 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 @vrite/sdk@0.3.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @vrite/sdk
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2023-5573, inspect your project dependencies using npm:
npm ls @vrite/sdk
Analyze the terminal output to locate any version of @vrite/sdk in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.3.0), your application is affected.
Note: The npm ls @vrite/sdk 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-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In @vrite/sdk, 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-2023-5573 Affected @vrite/sdk Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@vrite/sdk
|
npm |
< 0.3.0
|
0.3.0
|
References
Frequently Asked Questions
What is CVE-2023-5573?
Which @vrite/sdk versions are affected?
What version fixes CVE-2023-5573?
Is @vrite/sdk affected?
What is the CVSS score of CVE-2023-5573?
What CWE is associated with CVE-2023-5573?
How can I check npm dependencies for CVE-2023-5573?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5ghm-h2wq-g3mh",
"modified" : "2023-10-13T19:24:51Z",
"published" : "2023-10-13T12:30:16Z",
"aliases" : [ "CVE-2023-5573" ],
"summary" : "Allocation of Resources Without Limits or Throttling in vriteio/vrite",
"details" : "Allocation of Resources Without Limits or Throttling in GitHub repository vriteio/vrite prior to 0.3.0.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@vrite/sdk"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.3.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-5573"
}, {
"type" : "WEB",
"url" : "https://github.com/vriteio/vrite/commit/1877683b932bb33fb20d688e476284b70bb9fe23"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/vriteio/vrite"
}, {
"type" : "WEB",
"url" : "https://huntr.dev/bounties/46a2bb2c-712a-4008-a147-b862e3af7d72"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-770" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-10-13T19:24:51Z",
"nvd_published_at" : "2023-10-13T10:15:10Z"
}
}