Skip to content

Vulnerable transitive dependency: axios 0.21.4 via adal-node (CVE-2023-45857) #318

Description

@rafhermanseco

Title: Vulnerable transitive dependency: axios 0.21.4 via adal-node (CVE-2023-45857)

Body:

The extension (currently latest, v6.8.1) bundles adal-node@0.2.4, which pins
axios: "^0.21.1". This resolves to axios@0.21.4, which is affected by
CVE-2023-45857 (axios leaks the XSRF-TOKEN header to third-party hosts
on cross-origin redirects, fixed in axios 1.6.0).

Path in the installed extension:
node_modules/adal-node/node_modules/axios/package.json → version 0.21.4

Since adal-node is deprecated in favor of MSAL and hasn't been updated
upstream, this can't be resolved by bumping a version range alone.

Could the extension move off adal-node to @azure/msal-node (as Microsoft
recommends for its own deprecated library), or otherwise dedupe/override the
axios version to close this out?

Flagged by our internal security/IT review.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions