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

UI: pin xmldom version in resolutions #26333

Closed
wants to merge 1 commit into from

Conversation

andaley
Copy link
Contributor

@andaley andaley commented Apr 9, 2024

🛠️ Description

Resolves the security vulnerability surfaced in: https://github.com/hashicorp/vault-enterprise/security/dependabot/128

The vulnerability lies within xmldom, which is ultimately set by our version of ember-cli (see "before" screenshot).

Unfortunately even upgrading to ember-cli v 4.12.2 doesn't resolve the issue since it's still using the version of testem that is using the vulnerable version of xmldom. The latest version of testem has the same problem. Therefore it's best to set the xmldom version explicitly in the resolutions block.

I opted to pin to the latest release since it didn't appear that any breaking changes occurred.

📸 Screenshots

before
Screenshot 2024-04-09 at 4 39 49 PM

after
Screenshot 2024-04-09 at 4 59 57 PM

🔗 Links

See JIRA # 25217

@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Apr 9, 2024
@andaley andaley changed the title chore: pin testem in resolutions block to fix vulnerability UI: pin testem version in resolutions Apr 9, 2024
Copy link

github-actions bot commented Apr 9, 2024

Build Results:
All builds succeeded! ✅

Copy link

github-actions bot commented Apr 9, 2024

CI Results:
All Go tests succeeded! ✅

@andaley andaley force-pushed the ui/VAULT-25217/bump-testem branch from 73f0a81 to 4e5ab74 Compare April 9, 2024 23:56
@andaley andaley changed the title UI: pin testem version in resolutions UI: pin xmldom version in resolutions Apr 10, 2024
@andaley andaley closed this Apr 10, 2024
@andaley
Copy link
Contributor Author

andaley commented Apr 10, 2024

handling directly in #26346

@hashishaw hashishaw deleted the ui/VAULT-25217/bump-testem branch April 10, 2024 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant