Skip to content

fix: prevent prototype pollution on expandKeys #15

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stavros-tsioulis
Copy link

Closes #14

@artem-beresnev-gyg
Copy link

Should we consider forking the library to address the vulnerability?

@stavros-tsioulis
Copy link
Author

@jonschlinkert forgive the ping but given it’s a vuln it might be important to address this in a timely manner

@AlbertGazizov
Copy link

Any chance this can be merged?

alexvy86 added a commit to microsoft/FluidFramework that referenced this pull request Jul 23, 2025
…n) (#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)
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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prototype Pollution Vulneralbility in parse-git-config v3.0.0
4 participants