Git Product home page Git Product logo

Comments (20)

dutta-arnab1 avatar dutta-arnab1 commented on June 12, 2024 3

any updates please?

from openapi-generator-cli.

wvanderdeijl avatar wvanderdeijl commented on June 12, 2024 1

AFAIK upgrading to 2.0.0 is not enough and we need nestjs/axios 3.0.1 to get the fix. I tried to make a PR, but can't even run yarn install on Apple Sillicon running macOS 14.1. It fails trying to run node-gyp to compile fsevents. I do not have access to an intel machine.

from openapi-generator-cli.

alexan avatar alexan commented on June 12, 2024 1

@kay-schecker what is missing for this to be adressed?

from openapi-generator-cli.

sergecpelletier avatar sergecpelletier commented on June 12, 2024 1

Do we have an ETA as to when this will be fixed?

from openapi-generator-cli.

dutta-arnab1 avatar dutta-arnab1 commented on June 12, 2024 1

Hi @wing328 , @axtx4869, I just had a look at the PR and it seems a node upgrade is required as well. A quick fix would be to update the node-version from 17.x to 18.x in the build.yaml file. However a more robust fix would be to fix all the node version inconsistencies across the project.

I can see the project now have a mixture of different node versions.

  • Node 12 - through nrwl/nx
  • Node 16 - through @types/node and e2e environment in build.yaml
  • Node 17 - build environment in build.yaml

A quick and less impactful fix would be to upgrade the node version of both build and e2e environments in the build.yaml to node 18.

from openapi-generator-cli.

wing328 avatar wing328 commented on June 12, 2024 1

thanks for reviewing

agreed with updating the build to node 18

from openapi-generator-cli.

UR-deR avatar UR-deR commented on June 12, 2024 1

thanks for advice
let me do this tonight

A quick and less impactful fix would be to upgrade the node version of both build and e2e environments in the build.yaml to node 18.

from openapi-generator-cli.

alexan avatar alexan commented on June 12, 2024 1

maybe this is missing: https://github.com/ndrsg/openapi-generator-cli/blob/feat/update-nestjs-axios/jest.config.js#L10

from openapi-generator-cli.

elmarbeckmann avatar elmarbeckmann commented on June 12, 2024 1

Any news here? Love to see it updated. Hope @wing328 can say something about this?
Thank you so much for all your work @wing328!

from openapi-generator-cli.

wvanderdeijl avatar wvanderdeijl commented on June 12, 2024

The upgrade to axios v1.6.0 (the first version with the fixed vulnerability) was incorporated in nestjs/axios in version 3.0.1: https://github.com/nestjs/axios/releases/tag/3.0.1 through PR nestjs/axios@4cdd3f0
I am not sure how much work it would be for openapi-generator-cli to jump from nestjs/axios 0.1.0 to 3.0.1

from openapi-generator-cli.

wvanderdeijl avatar wvanderdeijl commented on June 12, 2024

Same issue as #715

from openapi-generator-cli.

dutta-arnab1 avatar dutta-arnab1 commented on June 12, 2024

Hi @wvanderdeijl, do you have plans to make this upgrade and release a version? This is a vulnerability of moderate severity and we would like to have it fixed sooner than later.

from openapi-generator-cli.

alexan avatar alexan commented on June 12, 2024

there is already a PR updating nestjs/axios to 2.0.0 #704

from openapi-generator-cli.

dutta-arnab1 avatar dutta-arnab1 commented on June 12, 2024

Thanks @alexan for the update. Would it address the mentioned axios vulnerability? I can see there are fixed axios dependency on versions <1.6.0 in both this repo and @nestjs/axios repo.

from openapi-generator-cli.

dmccoy-NL avatar dmccoy-NL commented on June 12, 2024

Any idea when this will be addressed?

from openapi-generator-cli.

dutta-arnab1 avatar dutta-arnab1 commented on June 12, 2024

Any update on the release date?

from openapi-generator-cli.

wing328 avatar wing328 commented on June 12, 2024

please help test #722

the CI tests still failed, which is the last remaining issue to address.

if anyone has time to contribute a fix, please kindly reply to the PR

from openapi-generator-cli.

wing328 avatar wing328 commented on June 12, 2024

@dutta-arnab1 updated the workflow to use node 18 but tests still failed. I wonder if you can take another look when you've time.

from openapi-generator-cli.

dutta-arnab1 avatar dutta-arnab1 commented on June 12, 2024

@wing328 sorry I was out for the rest of last year. What @alexan has pointed out seems to be the right solution, has this been incorporated? @axtx4869

from openapi-generator-cli.

wing328 avatar wing328 commented on June 12, 2024

PR merged. Thanks @elmarbeckmann.

from openapi-generator-cli.

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.