Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.

Conversation

@qiaozha
Copy link
Member

@qiaozha qiaozha commented Nov 3, 2021

to resolve issue #5212

@qiaozha
Copy link
Member Author

qiaozha commented Nov 5, 2021

@ramya-rao-a Could you help review this PR ?

Copy link
Contributor

@ramya-rao-a ramya-rao-a left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good to me

Did you test this with any of the packages to ensure none of the breaking changes in adal-node affect us?

@qiaozha
Copy link
Member Author

qiaozha commented Nov 5, 2021

Changes look good to me

Did you test this with any of the packages to ensure none of the breaking changes in adal-node affect us?

I run npm test in my local and everything looks good. Is it enough ?

@ramya-rao-a
Copy link
Contributor

I run npm test in my local and everything looks good. Is it enough ?

Please test one of the azure-arm-* packages with the changes being made for ms-rest-azure here

@qiaozha
Copy link
Member Author

qiaozha commented Nov 8, 2021

Just realize all the packages azure-arm-* are using "^2.5.5" in their package,json which means non of them will use this package if we release it. Otherwise we will need to bump and release a new package for all the azure-arm-* packages. @ramya-rao-a What should we do ?

@qiaozha
Copy link
Member Author

qiaozha commented Nov 8, 2021

By the way, I tested in for storage and it works fine with this new ms-rest-azure.

@ramya-rao-a
Copy link
Contributor

Just realize all the packages azure-arm-* are using "^2.5.5" in their package,json which means non of them will use this package if we release it. Otherwise we will need to bump and release a new package for all the azure-arm-* packages. @ramya-rao-a What should we do ?

Another option is to create a hotfix for ms-rest-azure with version 2.6.1 where you update the adal-node dependency. Given that we have limited investment in the packages in this repo as they are deprecated, this would be a better option in terms of effort.

@qiaozha
Copy link
Member Author

qiaozha commented Nov 10, 2021

Hi @ramya-rao-a , after discussion, in order not to break our customers and make sure this security issue could be resolve at customer side. we will release both 2.6.1 and 3.0.1 for this change, and 2.6.1 will be changed based on 2.6.0 and 3.0.1 will be changed based on 3.0.0.

@qiaozha qiaozha merged commit aa3277f into master Nov 10, 2021
@ramya-rao-a
Copy link
Contributor

That sounds good to me, thanks @qiaozha!

@ramya-rao-a
Copy link
Contributor

Can you share the link for the PR for 2.6.1?

@qiaozha
Copy link
Member Author

qiaozha commented Nov 10, 2021

Actually, I already release it, just revert this #5101 in my local and bump the adal-node version. I don't think we are going to merge this change in the code ?

@qiaozha qiaozha deleted the resolve-ms-rest-azure-security-issue branch November 10, 2021 06:49
@ramya-rao-a
Copy link
Contributor

don't think we are going to merge this change in the code ?

No, but ideally it would be preferred if a branch was maintained for v2 of ms-rest-azure. What if we had to do another hotfix on top of 2.6.1?

@qiaozha
Copy link
Member Author

qiaozha commented Nov 10, 2021

Okay, I will send out the PR. for the change. Thanks

@qiaozha
Copy link
Member Author

qiaozha commented Nov 11, 2021

@ramya-rao-a here's the PR #5216

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants