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

Address vulnerable jwt-go dependency #568

Closed
xntrik opened this issue Oct 5, 2020 · 3 comments
Closed

Address vulnerable jwt-go dependency #568

xntrik opened this issue Oct 5, 2020 · 3 comments

Comments

@xntrik
Copy link

xntrik commented Oct 5, 2020

Hi folks,

This package currently depends on https://github.com/dgrijalva/ that has an un-patched security vulnerability. There are more details in:

I'm wondering whether it's possible to update adal to use another package (it seems a few places are moving to https://github.com/square/go-jose), or perhaps a fixed fork of jwt-go (https://github.com/form3tech-oss/jwt-go/)

Thanks!

@jhendrixMSFT
Copy link
Member

Thanks for bringing this to my attention.

I looked at our usage of jwt-go, we only use it for signing a JWT with a certificate's private key so I believe we're not affected by this issue.

Given our limited reliance on this package it might be better to simply remove it entirely (that's what we did for track 2). I'm looking into this.

@xntrik
Copy link
Author

xntrik commented Oct 5, 2020

Awesome @jhendrixMSFT - thank you so much for the response

@jhendrixMSFT
Copy link
Member

Fixed in module autorest/adal/v0.9.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants