Vulnerability · Published May 2, 2024 · Assigned by Google
CVE-2024-4128CSRF in firebase-tools emulator suite
Low 2.6
In plain English
A low-severity cross-site request forgery in firebase-tools from Firebase. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/firebase/firebase-tools | no fix listed | GO-2024-2808 |
| npm | firebase-tools | 13.6.0 | GHSA-rcm2-22f3-pqv3 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Firebase | firebase-tools | 0 – through 13.6.0 |
Weakness: CWE-352 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N