Skip to content

[Snyk] Security upgrade undici from 7.29.1 to 7.30.1 - #530

Open
pubnub-snyk-universal-prd[bot] wants to merge 2 commits into
masterfrom
snyk-fix-340dde25feaa67a6de557e7d68527396
Open

pubnub-snyk-universal-prd[bot] wants to merge 2 commits into
masterfrom
snyk-fix-340dde25feaa67a6de557e7d68527396

Conversation

@pubnub-snyk-universal-prd

Copy link
Copy Markdown

snyk-top-banner

Snyk has created this PR to fix 4 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • package.json
  • package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
critical severity Improper Certificate Validation
SNYK-JS-UNDICI-21181005
  741  
critical severity Origin Validation Error
SNYK-JS-UNDICI-21181009
  741  
high severity Uncaught Exception
SNYK-JS-UNDICI-21181013
  721  
high severity Uncaught Exception
SNYK-JS-UNDICI-21185768
  721  

Breaking Change Risk

Merge Risk: Medium

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

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

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Uncaught Exception

@pubnub-snyk-universal-prd

Copy link
Copy Markdown
Author

Merge Risk: Medium

This minor version upgrade for undici contains several security fixes that alter how the client handles specific edge cases and malicious server responses. While no APIs are removed, these changes in error handling and validation constitute a behavioral change that warrants verification.

Key Changes:

  • v7.30.1 Security Fixes: This version introduces multiple security patches to prevent Denial of Service (DoS) and cache poisoning vulnerabilities.
    • The client will no longer crash on certain TLS renegotiation errors, oversized Content-Encoding headers, or during decompression. Instead, these events are handled as per-request errors.
    • Memory usage is now bounded for the EventSource parser to prevent memory exhaustion from malicious servers.
    • A cache poisoning vulnerability related to cross-origin redirects has been fixed.
  • v7.30.0 Fixes: This version includes various bug fixes and performance improvements, such as honoring headersTimeout and better handling of HTTP/2 streams.

Recommendation: While these changes improve security and stability, the new error-handling behavior could affect applications that have logic tied to the previous, less robust error patterns. It is recommended to verify application behavior after the upgrade, particularly in areas involving error handling, decompression, and interaction with cross-origin resources.

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@pubnub-snyk-universal-prd

pubnub-snyk-universal-prd Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Author

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues
✅ Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@coderabbitai

coderabbitai Bot commented Oct 19, 2026

Copy link
Copy Markdown

Important

Review skipped

Ignore keyword(s) in the title.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9f32bdbc-6071-4245-b915-caf85c822d1c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants