fix(deps): update dependency @backstage/plugin-scaffolder-backend to v2 [security]#306
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
f2be326 to
74c8869
Compare
74c8869 to
dcf7f72
Compare
dcf7f72 to
6fa75e3
Compare
6fa75e3 to
a6dcb17
Compare
a6dcb17 to
9f560f9
Compare
9f560f9 to
7d6555e
Compare
7d6555e to
5df7882
Compare
5df7882 to
b9afb42
Compare
b9afb42 to
7e8fbb2
Compare
7e8fbb2 to
94f3e1a
Compare
94f3e1a to
2a0d66e
Compare
102c728 to
5e4d44a
Compare
5e4d44a to
10d8d49
Compare
10d8d49 to
cadc106
Compare
aed9646 to
77924d1
Compare
77924d1 to
c43f8b8
Compare
c43f8b8 to
daeb474
Compare
daeb474 to
205fe58
Compare
205fe58 to
6310b10
Compare
6310b10 to
ad9add9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.20.0→^2.0.0Template Secret leakage in logs in Scaffolder when using
fetch:templateCVE-2025-55285 / GHSA-3x3q-ghcp-whf7
More information
Details
A logging flaw in Backstage Scaffolder’s
fetch:templateaction up to@backstage/plugin-scaffolder-backend2.1.0 may write template secrets to logs. The action emitted a duplicate, pre-redaction copy of input parameters, so values provided via the `` bag could appear in local/server logs when the action ran. Exploitation requires use of thesecretsargument and access to Scaffolder/build logs; integrity and availability are unaffected.2.1.1, which removes the duplicate log path and ensures secrets are redacted.fetch:templateif upgrade is not possible.Severity
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
backstage/backstage (@backstage/plugin-scaffolder-backend)
v2.1.1Compare Source
v2.1.0Compare Source
Minor Changes
c1ce316: BREAKING/alpha: Convertedscaffolder.task.readandscaffolder.task.cancelinto Resource Permissions.BREAKING
/alpha: Added a new scaffolder ruleisTaskOwnerforscaffolder.task.readandscaffolder.task.cancelto allow for conditional permission policies such as restricting access to tasks and task events based on task creators.BREAKING
/alpha: Retrying a task now requires bothscaffolder.task.readandscaffolder.task.createpermissions, replacing the previous requirement ofscaffolder.task.readandscaffolder.task.cancel.Patch Changes
424610a: Scaffolder audit Log now includes taskId and createdBydbde180: An internal refactor which adds additional types to experimental checkpointsfc70b43: Replaced deprecated uses of@backstage/backend-commonwith the equivalents in@backstage/backend-defaultsand@backstage/backend-plugin-api.v2.0.0Compare Source
Major Changes
33394db: BREAKING CHANGESRemoval of deprecated re-exports from module packages.
The following functions have been re-exported from the
scaffolder-backendplugin for quite some time, and now it's time to clean them up. They've been moved as follows:createPublishAzureActionshould be imported from@backstage/plugin-scaffolder-backend-module-azureinstead.createPublishBitbucketCloudActionshould be imported from@backstage/plugin-scaffolder-backend-module-bitbucket-cloudinstead.createPublishBitbucketServerActionandcreatePublishBitbucketServerPullRequestActioncan be imported from@backstage/plugin-scaffolder-backend-module-bitbucket-serverinstead.createPublishBitbucketActionshould be imported from@backstage/plugin-scaffolder-backend-module-bitbucketinstead.createPublishGerritActionandcreatePublishGerritReviewActioncan be imported from@backstage/plugin-scaffolder-backend-module-gerritinstead.createGithubActionsDispatchAction,createGithubDeployKeyAction,createGithubEnvironmentAction,createGithubIssuesLabelAction,CreateGithubPullRequestActionOptions,createGithubRepoCreateAction,createGithubRepoPushAction,createGithubWebhookAction, andcreatePublishGithubActioncan be imported from@backstage/plugin-scaffolder-backend-module-githubinstead.createPublishGitlabActionshould be imported from@backstage/plugin-scaffolder-backend-module-gitlabinstead.ActionContext.createTemplateAction,executeShellCommand,ExecuteShellCommandOptions,fetchContents,TaskSecrets, andTemplateActionshould be imported from@backstage/plugin-scaffolder-nodeinstead.ScaffolderEntitiesProcessorshould be imported from@backstage/plugin-catalog-backend-module-scaffolder-entity-modelinstead.a8fcf04: BREAKING ALPHA: The/alphaexport no longer exports the plugin. Please useimport('@​backstage/plugin-scaffolder-backend')instead as this has been removed.BREAKING CHANGES: The old
createRouterfunction which was used in the old backend system has been removed along with theRouterOptionstype.73b94d7: BREAKING CHANGESThe following functions have been re-exported from the
scaffolder-backendplugin for quite some time, and now it's time to clean them up. They've been moved as follows:SerializedTask,SerializedTaskEvent,TaskBroker,TaskBrokerDispatchOptions,TaskBrokerDispatchResult,TaskCompletionState,TaskContext,TaskEventType,TaskStatus,TemplateFilter, andTemplateGlobalshould be imported from@backstage/plugin-scaffolder-nodeinstead.The deprecated
copyWithoutRenderoption has been removed fromfetch:templateaction. You should rename the option tocopyWithoutTemplatinginstead.5863b04: BREAKING CHANGESThe
createBuiltinActionsmethod has been removed, as this should no longer be needed with the new backend system route, and was only useful when passing the default list of actions again in the old backend system. You should be able to rely on the default behaviour of the new backend system which is to merge the actions.The
createCatalogRegisterActionandcreateFetchCatalogEntityActionactions no longer require anAuthService, and now accepts aCatalogServiceinstead ofCatalogClient.Unless you're providing your own override action to the default, this should be a non-breaking change.
You can migrate using the following if you're getting typescript errors:
Minor Changes
73b94d7: DEPRECATIONSThe following types and implementations have been deprecated, either because they're no longer relevant, or because upcoming changes to the
scaffolder-backendafter2.0.0will influence the changes to these API surfaces.CreateWorkerOptionsDatabaseTaskStoreDatabaseTaskStoreOptionsTaskManagerTaskStoreCreateTaskOptionsTaskStoreCreateTaskResultTaskStoreEmitOptionsTaskStoreListEventsOptionsTaskStoreRecoverTaskOptionsTaskStoreShutDownTaskOptionsThere is no current path off deprecation, these types are going to be removed and rethought with a better way to define workers in the new backend system.
Patch Changes
89a941d: Migrating to latest action format023629e: Enable usage of secrets within 'each' step of software templates. For example, you can now structure youreachstep like this:e92e481: Add tests for ScaffolderUpdated dependencies
v1.33.0Compare Source
Minor Changes
587cb05: Addedworkspace:templateandworkspace:template:fileactions to complement respectivefetch:*actionsPatch Changes
eb39388: Fixed bug in fs:delete that prevented wildcard patterns from matching paths starting with "."36ae651: Fixing a bug where the name fortemplatingExtensionswas incorrectly set totemplateExtensions72d019d: Removed various typosec42f8e: Generating new tokens on each Scaffolder Task Retryv1.32.1Compare Source
This release fixes an issue where the scaffolder did not forward the token from the user to the task properly, and also fixes another issue where the scaffolder tasks page would not list correctly on PostgreSQL.
v1.32.0Compare Source
Minor Changes
75e4db4: add template-extensions scaffolder service endpointPatch Changes
8685cab: Addedtemplateandsteplabels for scaffolder histogram metrics:scaffolder_task_durationandscaffolder_step_duration497d47a: Document the internal built-in filters, and ensure that the types are validated when usingcreateTemplateFilterandcreateTemplateGlobalFunctionfrom thezodschema.v1.31.0Compare Source
Minor Changes
36677bb: Support newcreateTemplateActiontype, and convertcatalog:fetchaction to new way of defining actions.2b1e50d: use CreatedTemplate[Filter|Global*] as canonical template extensions in scaffolder pluginPatch Changes
e0b226b: build(deps): bumpesbuildfrom 0.24.2 to 0.25.009cf038: Got rid of most@backstage/backend-commonusages4f8b5b6: Allow signing git commits using configured private PGP key in scaffolder59dcf37: Fixed bug in fs:delete causing no files to be deleted on windows machinesv1.30.0Compare Source
Minor Changes
dc8dd4b: Added newcreateTemplateFilter,createTemplateGlobalFunction,createTemplateGlobalValuefor template extensions.a4aa244: This change integrates theauditorservice into the Scaffolder plugin.3d6ef79: Support file globbing in fs:delete91f3313: Added experimental flag for scaffolder to wait for running tasks to complete on shutdownEnabling the
EXPERIMENTAL_gracefulShutdownflag in the scaffolder config will make thescaffolder block the shutdown process until all running tasks have completed. This is useful
when there is a need to ensure that all tasks have completed before the scaffolder is shut down.
Please note, that the
TaskWorkerstopmethod is now asynchronous and awaited for thetasks to complete when the experimental flag is enabled.
Patch Changes
37ab712: Fixed an issue where invalid expressions or non-object values instep.eachcaused an error.1e935f0: Added conditional rendering ofoneOfoutput schemas on the Installed Actions page for scaffolder actionsv1.29.0Compare Source
Minor Changes
5d9e5c8: Added the ability to use${{ context.task.id }}in nunjucks templating, as well asctx.task.idin actions to get the current task ID.Patch Changes
8379bf4: Remove usages ofPluginDatabaseManagerandPluginEndpointDiscoveryand replace with their equivalent service typesv1.28.0Compare Source
Minor Changes
c05a343: Emit scaffolder events using the optionalEventsServicePatch Changes
dfc8b41: Updated dependency@opentelemetry/apito^1.9.0.3c62a50: Experimental support forformDecoratorsto enable secret collection and mutations to the parameters for scaffolder tasks6c326cf: The --no-node-snapshot check needs to be done against process.execArgv instead of process.argve913fdf: Add github backend module to create-app and improve error messages8f59dc5: Add fs:readdir to scaffolder startup0851834: Resolved an issue where thetemplateManagementPermissionwas not being exposed through the/permissions/metadataendpoint.v1.27.2Compare Source
This release fixes the following issues:
app-backendplugin which was previously broken.v5-class prefix.search-backendstartup not happening in the correct orderv1.27.1Compare Source
This release fixes an issue where the backend logger services would throw an error when passing a log meta object with a
nullprototype.v1.27.0Compare Source
Minor Changes
0587633: Bumped theisolated-vmdependency from v4 to v5, which drops support for Node.js v16.e61d5ef: BREAKING EXPERIMENTAL: Thecheckpointmethod now takes an object instead of previous arguments.You can also now return
voidfrom the checkpoint if the method returnsvoidinside thecheckpointhandler.Patch Changes
6aa5b98: Fix tasks listing with postgres59137ff: Fix issue with token not being available because it's now non-enumerablec5e39e7: Internal refactor to use the deferred from the types packagee4f5d95: Align with type declaration of template filter/global function by supporting undefined as return value.d52d7f9: Support ISO and ms string forms of durations in config too7ab3371: ModifiedcreateDryRunnerand corresponding route to includetemplateMetaDatainside thetemplateInfo. This allows custom action writers to access things liketemplateInfo.entity.metadata.namevia the action context while executing templates using the dry run framework.4e58bc7: Upgrade to uuid v11 internally2dae341: Add newfs:readdiraction to list current content of the workspace97ba58f: Add example template for notification sendingv1.26.3Compare Source
Patch Changes
6aa5b98: Fix tasks listing with postgres59137ff: Fix issue with token not being available because it's now non-enumerablee4f5d95: Align with type declaration of template filter/global function by supporting undefined as return value.97ba58f: Add example template for notification sendingv1.26.2Compare Source
This release is the official start of the community-plugins repository! 🎉
Out of the back of the discussions in #20266, we aligned with the help of RedHat to move some plugins which are maintained by the community out of this repo, and have a dedicated space. There they will have their own independent workspaces, with their own release cycles not coupled to the Backstage mainline / next release.
With the move comes a new NPM scope,
@backstage-community. Upgrading to these packages is as easy as runningyarn backstage-cli versions:bumpfollowed byyarn backstage-cli versions:migrate, in which these scripts will update both code references under./srcandpackage.jsonreferences to the old namespace.If you have already upgraded to
v1.26.1make sure to runyarn backstage-cli versions:bump --skip-migrateand thenyarn backstage-cli versions:migrateseparately in order to take advantage of the inline code replacements that shipped in this release!From this release
versions:bumpwill also try to migrate any packages over time for you, without needing to doversions:migrateseparately.Please reach out on Discord, or file an issue, if you're having issues with moving to the new packages.
v1.26.1Compare Source
This release deprecates
@backstage/plugin-todoand@backstage/plugin-todo-backendhas they have now been moved to the@backstage-community/*namespace over in the community-plugins repository.You should be able to do
yarn backstage-cli versions:bumpif you're already onv1.26.0+of Backstage.Otherwise, you can do do
yarn backstage-cli versions:bumpfollowed byyarn backstage-cli versions:migrateto switch over to the new packages, if you're on versions<v1.26.0v1.26.0Compare Source
Minor Changes
3ec4e6d: Added pagination support for listing of tasks and the ability to filter on several users and task statuses.3109c24: The export for the new backend system at the/alphaexport is now also available via the main entry point, which means that you can remove the/alphasuffix from the import.Patch Changes
734c2d4: Addfetch:template:filescaffolder action to download a single file and template the contents. Example usage:f1f0076: handle step.if: false2f90932: Include step name and step id to checkpoint key094eaa3: Remove references to in-repo backend-common8f0898b: Updated dependencyesbuildto^0.24.0.11e0752: Make it possible to manually retry the scaffolder template from the step it failedUpdated dependencies
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.