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.

Severity (CVSS 3.1)2.6Low
Exploit odds (30 days)0.1%top 97.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Gogithub.com/firebase/firebase-toolsno fix listedGO-2024-2808
npmfirebase-tools13.6.0GHSA-rcm2-22f3-pqv3

Affected products (as reported)

VendorProductVersions
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

References