-
Notifications
You must be signed in to change notification settings - Fork 12k
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
@angular-devkit/build-angular Depends on vulnerable versions of vite CVE-2024-45812 / CVE-2024-45811 #28435
Comments
Includes a fix for CVE-2024-45812 / CVE-2024-45811 Closes angular#28435
Includes a fix for CVE-2024-45812 / CVE-2024-45811 Closes angular#28435
It's worth noting that this vulnerability cannot be exploited in our situation, as Vite is mainly used as a development server. I've submitted a pull request for version 18 (#28437). Backporting this change to version 17 is more complex because it would involve modifications to the builder. Given the risk of causing issues in an LTS version, I have chosen not to proceed with it. |
Includes a fix for CVE-2024-45812 / CVE-2024-45811 Closes #28435
Closed via #28437 |
@alan-agius4 I kind of assumed this would be the case (it not affecting angular), thanks for clarifying! |
@alan-agius4 Hi Alan, the reasons you say to can't update the peer dependency for Angular 17 LTS apply to Angular 16 LTS? because in the 16.2.x LTS branch i see that vite is declared in version "4.5.3" and the patched version for the CVE is in version "4.5.5", is possible to upgrade the dependency in v16? or its complex like in v17 as you say? |
git ch Includes a fix for CVE-2024-45812 / CVE-2024-45811 Closes angular#28435
Includes a fix for CVE-2024-45812 / CVE-2024-45811 Closes angular#28435
@Dark-Light-20, here's the v16 PR #28440 |
Wow, that's so fast, thanks for that. |
Includes a fix for CVE-2024-45812 / CVE-2024-45811 Closes angular#28435
Includes a fix for CVE-2024-45812 / CVE-2024-45811 Closes angular#28435
Includes a fix for CVE-2024-45812 / CVE-2024-45811 Closes #28435
Is there no way a fix for 17 will be provided? We have dependencies in our project that won't allow us to upgrade to 18... |
Is upgrading to vite@5.2.14 a possibility for angular v17? |
@alan-agius4 The CVS fix has been backported to branch 5.1.x. Could you update v17 to fix it using https://github.com/vitejs/vite/releases/tag/v5.1.8 ? |
Our OCaaS scan shows another vulnerability @types/body-parser dependency GHSA-qwcr-r2fm-qrc7 affecting version <1.20.3
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Command
build
Is this a regression?
The previous version in which this bug was not present was
No response
Description
Running
npm audit
on an Angular v17 outputs the following:Angular v18 outputs the following:
Minimal Reproduction
Create a new angular project using the latest v18 @angular-cli or v17 @angular-cli
Run
npm audit
in the project folderException or Error
No response
Your Environment
Anything else relevant?
No response
The text was updated successfully, but these errors were encountered: