CVE-2024-4128: Firebase tools Firebase Vulnerable To CRSF Attack Vulnerability
LOWCVE-2024-4128 is a LOW (CVSS 2.6) firebase vulnerable to crsf attack vulnerability (CWE-352: Cross-Site Request Forgery (CSRF)) affecting Firebase tools libraries in the npm ecosystem. The issue involves firebase vulnerable to crsf attack. Remediation is available by upgrading affected packages to version 13.6.0.
CVE-2024-4128 at a Glance
Security Impact
CVSS: 2.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N).
How to Fix CVE-2024-4128
To remediate this vulnerability, upgrade all affected Firebase tools 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 firebase-tools@13.6.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls firebase-tools
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2024-4128, inspect your project dependencies using npm:
npm ls firebase-tools
Analyze the terminal output to locate any version of Firebase tools in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 13.6.0), your application is affected.
Note: The npm ls firebase-tools 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-352: Cross-Site Request Forgery (CSRF), where the web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor. In Firebase tools, 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-4128 Affected Firebase tools Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
firebase-tools
|
npm |
< 13.6.0
|
13.6.0
|
References
Frequently Asked Questions
What is CVE-2024-4128?
Which Firebase tools versions are affected?
What version fixes CVE-2024-4128?
Is firebase-tools affected?
What is the CVSS score of CVE-2024-4128?
What CWE is associated with CVE-2024-4128?
How can I check npm dependencies for CVE-2024-4128?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rcm2-22f3-pqv3",
"modified" : "2025-07-22T21:41:39Z",
"published" : "2024-05-02T15:30:35Z",
"aliases" : [ "CVE-2024-4128" ],
"summary" : "Firebase vulnerable to CRSF attack",
"details" : "This vulnerability was a potential CSRF attack. When running the Firebase emulator suite, there is an export endpoint that is used normally to export data from running emulators. If a user was running the emulator and navigated to a malicious website with the exploit on a browser that allowed calls to localhost (ie Chrome before v94), the website could exfiltrate emulator data. We recommend upgrading past version 13.6.0 or [commit 068a2b08dc308c7ab4b569617f5fc8821237e3a0](https://github.com/firebase/firebase-tools/commit/068a2b08dc308c7ab4b569617f5fc8821237e3a0).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "firebase-tools"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "13.6.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-4128"
}, {
"type" : "WEB",
"url" : "https://github.com/firebase/firebase-tools/pull/6944"
}, {
"type" : "WEB",
"url" : "https://github.com/firebase/firebase-tools/commit/068a2b08dc308c7ab4b569617f5fc8821237e3a0"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/firebase/firebase-tools"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-352" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-03T20:01:45Z",
"nvd_published_at" : "2024-05-02T14:15:10Z"
}
}