Skip to content

update the form-data package version to a non-vulnerable version for tasks#21271

Merged
tarunramsinghani merged 16 commits intomasterfrom
users/v-sanjayse/fix-form-data-tasks
Sep 3, 2025
Merged

update the form-data package version to a non-vulnerable version for tasks#21271
tarunramsinghani merged 16 commits intomasterfrom
users/v-sanjayse/fix-form-data-tasks

Conversation

@sanjays-ms
Copy link
Contributor

@sanjays-ms sanjays-ms commented Sep 2, 2025

Context

This PR is to update the vulnerable version of form-data package to latest stable one and fixes as part of this update
📌 CG Link


Task Name

ANTV1
DownloadGithubReleaseV0
DuffleInstallerV0
FuncToolsInstallerV0
HelmInstallerV0
HelmInstallerV1
KubernetesManifestV0
PublishCodeCoverageResultsV1


Description

The form-data package version currently in use is marked as vulnerable. Updating it to a new non vulnerable version.
Other changes include

  1. generating new package-lock.json files if required. Some tasks were pointing to external npm registry hence new ones were generated with Node 20.
  2. update test cases if the package update or the new lock file is causing test cases to break.

Risk Assessment (Low / Medium / High)

Medium


Testing Done

Testing was done through canary test pipelines for most tasks.

The DuffleInstallerV0 task is deprecated and the project is archived and no longer maintained. This task was not tested
Please see: DuffleInstaller Microsoft Learn

The FuncToolsInstaller task was tested in a private repo since canary test is not currently available.
This task is used to download and install azure function core tools on agent.
FuncToolsInstaller

DownloadGitHubReleaseV0 pipelines is not available in canary test. This was also tested in test org
Please see DownloadGitHubReleaseV0

ANTV1
HelmInstallerV0
HelmInstallerV1
KubernetesManifestV0
PublishCodeCoverageResultsV1


Rollback Scenario and Process (Yes/No)

Please revert PR to revert the changes.


Checklist

  • Related issue linked (if applicable)
  • Task version was bumped — see versioning guide
  • Verified the task behaves as expected

@sanjays-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@sanjays-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@sanjays-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@sanjays-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@sanjays-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@sanjays-ms sanjays-ms marked this pull request as ready for review September 2, 2025 10:16
@sanjays-ms sanjays-ms requested a review from a team as a code owner September 2, 2025 10:16
@rishabhmalikMS
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@sanjays-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

Copy link
Contributor

@adityashahms adityashahms left a comment

Choose a reason for hiding this comment

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

Changes looks good for Publish Code Coverage Results V1 task

@tarunramsinghani tarunramsinghani merged commit 7faf3e8 into master Sep 3, 2025
8 of 11 checks passed
@tarunramsinghani tarunramsinghani deleted the users/v-sanjayse/fix-form-data-tasks branch September 3, 2025 12:24
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.

5 participants