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 high sev security issue #8471

Merged
merged 12 commits into from
Jun 20, 2024
Merged

Fix high sev security issue #8471

merged 12 commits into from
Jun 20, 2024

Conversation

@wanlwanl wanlwanl requested review from qiaozha and MaryGao as code owners June 19, 2024 03:54
@raych1
Copy link
Member

raych1 commented Jun 19, 2024

@wanlwanl , I don't see the lodash related upgrade. Was it removed?

Can you add yourself to the owner of js-sdk-release-tools path in ./github/CODEOWNERS file?

@wanlwanl
Copy link
Member Author

wanlwanl commented Jun 19, 2024

@wanlwanl , I don't see the lodash related upgrade. Was it removed?

Can you add yourself to the owner of js-sdk-release-tools path in ./github/CODEOWNERS file?

@raych1
Yes, upgrade the package use lodash originally, the package doesn't depend on lodash anymore

@raych1
Copy link
Member

raych1 commented Jun 19, 2024

@wanlwanl , you need to join public Azure org to resolve the codeowner CI failures.

@wanlwanl
Copy link
Member Author

wanlwanl commented Jun 20, 2024

@wanlwanl , you need to join public Azure org to resolve the codeowner CI failures.
@raych1
I am already member of public azure org, check it out:https://github.com/orgs/Azure/people?query=wanpeng

@wanlwanl wanlwanl enabled auto-merge (squash) June 20, 2024 01:26
@wanlwanl wanlwanl requested a review from a team as a code owner June 20, 2024 02:48
Copy link
Member

@qiaozha qiaozha left a comment

Choose a reason for hiding this comment

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

LGTM

@qiaozha
Copy link
Member

qiaozha commented Jun 20, 2024

/check-enforcer override

@wanlwanl wanlwanl merged commit c43f0da into Azure:main Jun 20, 2024
6 checks passed
@weshaggard
Copy link
Member

Let's avoid overriding check-enforcer. The ci job should have ran but was disabled because of lack of running. I've re-enabled it so it should trigger on future changes.

@@ -0,0 +1,3 @@
[submodule "tools/js-sdk-release-tools/deps/azure-js-dev-tools"]
Copy link
Member

Choose a reason for hiding this comment

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

Why are we using a submodule? Submodules cause all sorts of issues and we generally avoid them. If you need this dependency then we should publish the package instead of using a submodule.

Copy link
Member

@weshaggard weshaggard Jun 20, 2024

Choose a reason for hiding this comment

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

Copy link
Member Author

@wanlwanl wanlwanl Jun 21, 2024

Choose a reason for hiding this comment

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

Thanks @weshaggard for checking it and kindly share the guidance.

Previous tool owner used a package https://www.npmjs.com/package/@ts-common/azure-js-dev-tools
but looks like no one maintain it any more, latest version still has the same security issue. So I add submodule to update the braces package. We will definitely avoid to use packages out of maintainence in the future.

No worries, I'll downgrade the package to resolve security issue.

weshaggard added a commit that referenced this pull request Jun 20, 2024
weshaggard added a commit that referenced this pull request Jun 20, 2024
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

Successfully merging this pull request may close these issues.

4 participants