Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade firebase-functions from 4.2.1 to 5.0.1 #548

Closed

Conversation

aravindvnair99
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

Snyk has created this PR to upgrade firebase-functions from 4.2.1 to 5.0.1.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

  • The recommended version is 13 versions ahead of your current version.

  • The recommended version was released on a month ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-ANSIREGEX-1583908
292 Proof of Concept
high severity Infinite loop
SNYK-JS-MARKDOWNIT-6483324
292 Proof of Concept
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-SEMVER-3247795
292 Proof of Concept
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-SEMVER-3247795
292 Proof of Concept
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-SEMVER-3247795
292 Proof of Concept
high severity Internal Property Tampering
SNYK-JS-TAFFYDB-2992450
292 Proof of Concept
high severity Improper Input Validation
SNYK-JS-FOLLOWREDIRECTS-6141137
292 Proof of Concept
medium severity Improper Authentication
SNYK-JS-JSONWEBTOKEN-3180022
292 No Known Exploit
medium severity Improper Restriction of Security Token Assignment
SNYK-JS-JSONWEBTOKEN-3180024
292 No Known Exploit
medium severity Use of a Broken or Risky Cryptographic Algorithm
SNYK-JS-JSONWEBTOKEN-3180026
292 No Known Exploit
medium severity Improper Control of Dynamically-Managed Code Resources
SNYK-JS-EJS-6689533
292 No Known Exploit
medium severity Open Redirect
SNYK-JS-EXPRESS-6474509
292 No Known Exploit
medium severity Information Exposure
SNYK-JS-FOLLOWREDIRECTS-6444610
292 Proof of Concept
medium severity Resource Exhaustion
SNYK-JS-JOSE-6419224
292 No Known Exploit
low severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-WORDWRAP-3149973
292 Proof of Concept
low severity Prototype Pollution
SNYK-JS-MINIMIST-2429795
292 Proof of Concept
Release notes
Package name: firebase-functions
  • 5.0.1 - 2024-05-03
    • Fix App fetching for named firestore instances (#1562).
  • 5.0.0 - 2024-05-01
    • Add option to get named firestore instance for v2 firestore functions (#1550).
    • Remove firebase-admin v10 dependency for Firestore triggers multi-DB support (#1555).
  • 4.9.0 - 2024-04-04
    • Add new 2nd gen Firestore auth context triggers. (#1519)
  • 4.8.2 - 2024-03-29

    Fix bug with CORS options for an array of one string (#1544)

  • 4.8.1 - 2024-03-19

    Fix bug where 1st gen functions eventually fail with stack too deep (#1540)
    Make simple CORS options static for improved debugability (#1536)

  • 4.8.0 - 2024-03-08

    Add onInit callback function for global variable initialization (#1531)

  • 4.7.0 - 2024-02-07
    • Fixes access on deeply nested, nonexistent property. (#1432)
    • Add IteratedDataSnapshot interface to match with firebase admin v12 (#1517).
    • Make bucket parameterizeable in storage functions (#1518)
    • Introduce helper library for select and multi-select input (#1518)
  • 4.6.0 - 2024-01-03
    • Wrap 2nd gen onCall functions with trace context. (#1491)
    • Bump peer depdencies for firebase-admin to support 12.0.0. (#1509)
  • 4.5.0 - 2023-11-02
    • Remove HTTP server shutdown message. (#1457)
    • Add features to task queue functions. (#1423)
    • Add traces to V2 Firestore trigger logs. (#1440)
    • Fix incorrectly parsed timestamps in auth blocking functions. (#1472)
    • Add recaptcha verdict support for auth blocking functions (#1458)
  • 4.4.1 - 2023-06-12
    • Update list of supported regions for 2nd Gen Functions. (#1402)
    • Fix bug where log message on structured log was being overwritten (#1416)
    • Fix bug where exists() should return true for falsy values like 0, "" (#1410)
  • 4.4.0 - 2023-05-08
  • 4.3.1 - 2023-04-20
  • 4.3.0 - 2023-04-13
  • 4.2.1 - 2023-02-02
from firebase-functions GitHub release notes

Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade firebase-functions from 4.2.1 to 5.0.1.

See this package in npm:
firebase-functions

See this project in Snyk:
https://app.snyk.io/org/aravindvnair99-github-marketplace/project/3e229b24-b2de-4c21-9d58-eebf425f44fc?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

guardrails bot commented Jun 10, 2024

⚠️ We detected 2 security issues in this pull request:

Insecure File Management (1)
Severity Details Docs
High Title: Path Traversal from user input
path.join(os.tmpdir(), path.basename(req.files.file[0].fieldname)),
📚

More info on how to fix Insecure File Management in JavaScript.


Insecure Use of Crypto (1)
Severity Details Docs
Medium Title: Insecure use of random generator
result += characters.charAt(Math.floor(Math.random() * charactersLength));
📚

More info on how to fix Insecure Use of Crypto in JavaScript.


👉 Go to the dashboard for detailed results.

📥 Happy? Share your feedback with us.

Copy link

sonarcloud bot commented Jun 10, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

stale bot commented Jun 24, 2024

Automatically marked as stale due to lack of recent activity. Will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jun 24, 2024
Copy link

stale bot commented Jul 1, 2024

Automatically closed due to lack of recent activity. Tag @aravindvnair99 to reopen. Thank you for your contributions.

@stale stale bot closed this Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants