Vulnerabilities in pkg:npm/centra
PACKAGEGHSA-v6cj-r88p-92rm is a HIGH (CVSS 7.3) buffer overflow vulnerability (CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer) affecting Centra libraries in the npm ecosystem. The issue involves buffer overflow in centra. Remediation is available by upgrading affected packages to version 2.4.0.
pkg:npm/centra
Vulnerability advisories affecting package pkg:npm/centra. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-v6cj-r88p-92rm | - | HIGH | Buffer Overflow in centra |
GHSA-v6cj-r88p-92rm at a Glance
Security Impact
CVSS: 7.3
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:N/S:U/C:L/I:L/A:L).
How to Fix GHSA-v6cj-r88p-92rm
To remediate this vulnerability, upgrade all affected Centra 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 centra@2.4.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls centra
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-v6cj-r88p-92rm, inspect your project dependencies using npm:
npm ls centra
Analyze the terminal output to locate any version of Centra in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.4.0), your application is affected.
Note: The npm ls centra 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-119: Improper Restriction of Operations within the Bounds of a Memory Buffer, where the product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. this may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. In Centra, 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
GHSA-v6cj-r88p-92rm Affected Centra Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
centra
|
npm |
< 2.4.0
|
2.4.0
|
References
Frequently Asked Questions
What is GHSA-v6cj-r88p-92rm?
Which Centra versions are affected?
What version fixes GHSA-v6cj-r88p-92rm?
Is centra affected?
What is the CVSS score of GHSA-v6cj-r88p-92rm?
What CWE is associated with GHSA-v6cj-r88p-92rm?
How can I check npm dependencies for GHSA-v6cj-r88p-92rm?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-v6cj-r88p-92rm",
"modified" : "2021-09-20T15:40:54Z",
"published" : "2019-09-30T19:31:59Z",
"aliases" : [ ],
"summary" : "Buffer Overflow in centra",
"details" : "## Denial of Service\n\n### Impact\n\nAffected Centra versions will, when not in stream mode, buffer responses to requests into memory with no size limit. This issue affects anyone requesting content from untrusted sources.\n\n### Patches\n\nVersion 2.4.0 resolves the issue by limiting the size of buffered response body.\n\n### Workarounds\n\nAttempting workarounds isn't recommended. Updating is preferred.\n\n### For more information\n\nIf you have any questions or comments about this advisory, open an issue in [ethanent/centra](https://github.com/ethanent/centra).\n\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "centra"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.4.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/ethanent/centra/security/advisories/GHSA-v6cj-r88p-92rm"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-v6cj-r88p-92rm"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ethanent/centra"
}, {
"type" : "WEB",
"url" : "https://snyk.io/vuln/SNYK-JS-CENTRA-536073"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-119" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:57:00Z",
"nvd_published_at" : null
}
}