Giter VIP home page Giter VIP logo

Comments (2)

DavidWells avatar DavidWells commented on May 29, 2024

Released updated analytics-node package via @analytics/[email protected]

This is breaking change as analytics-node has changed since previous versions. New settings listed here: https://github.com/segmentio/analytics-next/blob/72dc35a46d7ba8ab90cab7a5190e9820c7dd0765/packages/node/src/app/settings.ts#L4C36-L43C2

from analytics.

lleger avatar lleger commented on May 29, 2024

@DavidWells This doesn't resolve the vulnerability as far as I can tell because @analytics/[email protected] still depends on analytics-node ^6.2.0 which has a vulnerable axios version pinned. But it's deprecated, so it looks like @analytics/segment needs to upgrade to the successor @segment/analytics-node.

See below for yarn.lock:

"@analytics/[email protected]":
  version "2.0.0"
  resolved "https://registry.yarnpkg.com/@analytics/segment/-/segment-2.0.0.tgz#185bf2d073fd8d6b89943b0efd7c5e6ddf7e3cda"
  integrity sha512-Od86K85MNe/IOKnlAx26fl7mKG9hkPUn/Xx8lpqztRuoaR9+DgVJV3nKeDJJ6bbu6SvpSF0qmfsnQw0F0uisqg==
  dependencies:
    analytics-node "^6.2.0"

See below for yarn audit:

┌───────────────┬──────────────────────────────────────────────────────────────┐
│ moderate      │ Axios Cross-Site Request Forgery Vulnerability               │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ axios                                                        │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=1.6.0                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ @analytics/segment                                           │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ @analytics/segment > analytics-node > axios                  │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://www.npmjs.com/advisories/1094889                     │
└───────────────┴──────────────────────────────────────────────────────────────┘

from analytics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.