firebase-admin-node
firebase-admin-node copied to clipboard
Vulnerability in jose subdependency
Environment:
- Operating System version: _____
- Firebase SDK version: 12.0.0
- Firebase Product:Top-level idk (auth, database, storage, etc)
- Node.js version: n/a
- NPM version: n/a
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
- Create a npm project and install the firebase-admin package.
- Perform an security analysis of the dependencies using OWASP dependency-check plugin
- The analysis fails due to a known vulnerability in the jose package.
- With
npm ls josewe can find out where the dependency comes from:
Vulnerability: https://github.com/panva/jose/security/advisories/GHSA-hhhv-q57g-882q https://nvd.nist.gov/vuln/detail/CVE-2024-28176
I found a few problems with this issue:
- I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
- This issue does not seem to follow the issue template. Make sure you provide all the required information.
Thanks for filing this issue. Since the vulnerability is in a dependency of jwks-rsa the fix should be addressed in that package. It also doesn't look like jwks-rsa pins to a specific version of jose so you might be able to upgrade jose to v4.15.5 (which includes the fix) in your environment. See https://github.com/auth0/node-jwks-rsa/issues/403
Okay we will upgrade on our environment.