Skip to content

Conversation

alexvy86
Copy link
Contributor

@alexvy86 alexvy86 commented Jul 23, 2025

Description

Updates the danger dependency in build-tools to the latest version to get rid of the transitive dependency on parse-git-config which is affected by https://nvd.nist.gov/vuln/detail/CVE-2025-25975. A PR was opened in their repo to fix it but the maintainer has not responded in several months. danger decided to replace it with something else in v13.0.0 (see CHANGELOG). The breaking change announced there doesn't seem like something that should affect us as consumers of danger.

Note: since build-tools has a dev dependency on a previous version of itself, fully addressing the Component Governance alert (getting rid of all references to danger<13.0.0 in lockfiles) will need us to release build-tools with this fix, and update the dev dep to that version.

Reviewer Guidance

The review process is outlined on this wiki page.

AB#35181

@Copilot Copilot AI review requested due to automatic review settings July 23, 2025 21:52
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the danger dependency from version ^12.3.3 to ^13.0.3 to address a security vulnerability (CVE-2025-25975) in a transitive dependency parse-git-config. The newer version of danger replaces the vulnerable dependency with an alternative solution.

  • Updates danger dependency to v13.0.3 to eliminate vulnerable transitive dependency
  • Addresses CVE-2025-25975 security vulnerability in parse-git-config
  • Requires follow-up release and dev dependency update to fully resolve Component Governance alerts
Files not reviewed (1)
  • build-tools/pnpm-lock.yaml: Language not supported

@github-actions github-actions bot added area: build Build related issues base: main PRs targeted against main branch labels Jul 23, 2025
@alexvy86 alexvy86 merged commit 396287d into microsoft:main Jul 23, 2025
30 checks passed
@alexvy86 alexvy86 deleted the update-danger branch July 23, 2025 22:42
MarioJGMsoft pushed a commit to MarioJGMsoft/FluidFramework that referenced this pull request Jul 28, 2025
…n) (microsoft#25081)

## Description

Updates the `danger` dependency in build-tools to the latest version to
get rid of the transitive dependency on `parse-git-config` which is
affected by https://nvd.nist.gov/vuln/detail/CVE-2025-25975. A
[PR](jonschlinkert/parse-git-config#15) was
opened in their repo to fix it but the maintainer has not responded in
several months. `danger` decided to replace it with something else in
v13.0.0 (see
[CHANGELOG](https://github.com/danger/danger-js/blob/main/CHANGELOG.md)).
The breaking change announced there doesn't seem like something that
should affect us as consumers of `danger`.

Note: since build-tools has a dev dependency on a previous version of
itself, fully addressing the Component Governance alert (getting rid of
all references to danger<13.0.0 in lockfiles) will need us to release
build-tools with this fix, and update the dev dep to that version.

## Reviewer Guidance

The review process is outlined on [this wiki
page](https://github.com/microsoft/FluidFramework/wiki/PR-Guidelines#guidelines).


[AB#35181](https://dev.azure.com/fluidframework/235294da-091d-4c29-84fc-cdfc3d90890b/_workitems/edit/35181)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: build Build related issues base: main PRs targeted against main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants