fix(security): fix #460 npm dependency vulnerabilities remediation - #781
Open
Owolabenjade wants to merge 11 commits into
Open
fix(security): fix #460 npm dependency vulnerabilities remediation#781Owolabenjade wants to merge 11 commits into
Owolabenjade wants to merge 11 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Deployment failed with the following error: Learn More: https://vercel.com/docs/concepts/projects/project-configuration |
…sues # Conflicts: # docs/deployment.md # package-lock.json # package.json
|
@Owolabenjade Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
…encies and filtering CLI nodes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Background & What Was Fixed
Prior to this fix, the automated security audit flagged multiple critical and high severity vulnerabilities across core framework, telemetry, transport, and parsing dependencies in issue #460:
@stellar/stellar-sdkrelied on vulnerable versions ofaxiossusceptible to prototype pollution gadgets (validateStatusmerge strategy andparseReviverresponse tampering),NO_PROXYloopback bypasses (RFC 1122127.0.0.0/8and0.0.0.0), CRLF injection, and credential theft vectors.@opentelemetry/auto-instrumentations-node,@opentelemetry/sdk-node, and@opentelemetry/exporter-prometheuscontained unhandled header exceptions and malformed HTTP request process crash vectors inJaegerPropagator.nextandpostcssinapps/webcontained App Router middleware/proxy bypasses, Server Actions SSRF/DoS, response cache confusion, SVG image optimization DoS, and CSS stringify XSS.brace-expansion,shell-quote,fast-uri,form-data,js-yaml,picomatch, andtarwere vulnerable to quadratic CPU consumption ($O(N^2)$), exponential process hang DoS ($O(2^N)$), and PAX header file smuggling.How the Flow Works Now
package.jsonnow defines centralizedoverridesthat enforce safe patched versions for transitive dependencies without introducing redundant wrapper code.package.jsonmanifests inapps/api,apps/web, andpackages/sdkexplicitly reference non-vulnerable minor and patch releases.Why This Change Matters
Securing dependency boundaries protects the customs-bond collateral rail against remote code execution, credential theft, server-side request forgery, and denial-of-service vectors under malicious or malformed network traffic.
Changed
overridesfor transitive security patches (axios,brace-expansion,fast-uri,form-data,js-yaml,picomatch,postcss,sharp,shell-quote,tar).@opentelemetry/auto-instrumentations-node,@opentelemetry/exporter-trace-otlp-http,@opentelemetry/resources,@opentelemetry/sdk-node, and@stellar/stellar-sdk.nextandpostcssto non-vulnerable patch versions.@stellar/stellar-sdkdependency to^15.1.0.Testing