CVE-2024-45815: @backstage/plugin catalog backend @backstage/plugin-catalog-backend Prototype Pollution Vulnerability Vulnerability
HIGHCVE-2024-45815 is a HIGH (CVSS 6.5) @backstage/plugin-catalog-backend prototype pollution vulnerability vulnerability (CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')) affecting @backstage/plugin catalog backend libraries in the npm ecosystem. The issue involves @backstage/plugin-catalog-backend prototype pollution vulnerability. Remediation is available by upgrading affected packages to version 1.26.0.
CVE-2024-45815 at a Glance
Security Impact
CVSS: 6.5
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:N/I:N/A:H).
How to Fix CVE-2024-45815
To remediate this vulnerability, upgrade all affected @backstage/plugin catalog backend 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 @backstage/plugin-catalog-backend@1.26.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @backstage/plugin-catalog-backend
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2024-45815, inspect your project dependencies using npm:
npm ls @backstage/plugin-catalog-backend
Analyze the terminal output to locate any version of @backstage/plugin catalog backend in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.26.0), your application is affected.
Note: The npm ls @backstage/plugin-catalog-backend 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-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution'), where the product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype. In @backstage/plugin catalog backend, 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-2024-45815 Affected @backstage/plugin catalog backend Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@backstage/plugin-catalog-backend
|
npm |
< 1.26.0
|
1.26.0
|
References
Frequently Asked Questions
What is CVE-2024-45815?
Which @backstage/plugin catalog backend versions are affected?
What version fixes CVE-2024-45815?
Is @backstage/plugin-catalog-backend affected?
What is the CVSS score of CVE-2024-45815?
What CWE is associated with CVE-2024-45815?
How can I check npm dependencies for CVE-2024-45815?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3x3f-jcp3-g22j",
"modified" : "2024-11-18T16:27:13Z",
"published" : "2024-09-17T21:29:49Z",
"aliases" : [ "CVE-2024-45815" ],
"summary" : "@backstage/plugin-catalog-backend Prototype Pollution vulnerability",
"details" : "### Impact\n\nA malicious actor with authenticated access to a Backstage instance with the catalog backend plugin installed is able to interrupt the service using a specially crafted query to the catalog API.\n\n### Patches\n\nThis has been fixed in the `1.26.0` release of the `@backstage/plugin-catalog-backend` package.\n\n### References\n\nIf you have any questions or comments about this advisory:\n\nOpen an issue in the [Backstage repository](https://github.com/backstage/backstage)\nVisit our Discord, linked to in [Backstage README](https://github.com/backstage/backstage)\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@backstage/plugin-catalog-backend"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.26.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/backstage/backstage/security/advisories/GHSA-3x3f-jcp3-g22j"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-45815"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/backstage/backstage"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1321" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-09-17T21:29:49Z",
"nvd_published_at" : "2024-09-17T21:15:12Z"
}
}