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

fix: Resolve vulnerabilities in axios #12470

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

terrytangyuan
Copy link
Member

@terrytangyuan terrytangyuan commented Jan 5, 2024

CI failed during Snyk scan:

Issues with no direct upgrade or patch:
  ✗ Prototype Pollution [High Severity][https://security.snyk.io/vuln/SNYK-JS-AXIOS-6144788] in axios@1.6.2
    introduced by swagger-ui-react@4.19.1 > swagger-client@3.24.6 > @swagger-api/apidom-reference@0.89.0 > axios@1.6.2
  This issue was fixed in versions: 1.6.4
  ✗ Improper Input Validation [High Severity][https://security.snyk.io/vuln/SNYK-JS-FOLLOWREDIRECTS-6141137] in follow-redirects@1.15.3
    introduced by swagger-ui-react@4.19.1 > swagger-client@3.24.6 > @swagger-api/apidom-reference@0.89.0 > axios@1.6.2 > follow-redirects@1.15.3
  This issue was fixed in versions: 1.15.4

Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
@terrytangyuan terrytangyuan merged commit 11ee342 into argoproj:main Jan 5, 2024
17 checks passed
@terrytangyuan terrytangyuan deleted the fix-vul branch January 5, 2024 20:00
@agilgur5 agilgur5 added type/dependencies PRs and issues specific to updating dependencies javascript Pull requests that update Javascript dependencies type/security Security related labels Jan 6, 2024
@agilgur5
Copy link
Member

agilgur5 commented Jan 6, 2024

For reference from https://security.snyk.io/vuln/SNYK-JS-AXIOS-6144788, we don't actually use the formDataToJSON function. Not as sure about https://security.snyk.io/vuln/SNYK-JS-FOLLOWREDIRECTS-6141137, since that's deep within swagger-ui.

I am curious, is Snyk just failing earlier than dependabot has a chance to upgrade?

Also glad to see you've gotten the hang of modifying / manipulating the yarn.lock file 🙂

sarabala1979 pushed a commit that referenced this pull request Jan 12, 2024
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Saravanan Balasubramanian <sarabala1979@gmail.com>
sarabala1979 pushed a commit that referenced this pull request Jan 13, 2024
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Saravanan Balasubramanian <sarabala1979@gmail.com>
terrytangyuan added a commit that referenced this pull request Jan 14, 2024
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
dpadhiar pushed a commit to dpadhiar/argo-workflows that referenced this pull request May 9, 2024
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Saravanan Balasubramanian <sarabala1979@gmail.com>
Signed-off-by: Dillen Padhiar <dillen_padhiar@intuit.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
javascript Pull requests that update Javascript dependencies prioritized-review For members of the Sustainability Effort type/dependencies PRs and issues specific to updating dependencies type/security Security related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants