Skip to content
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

Upgrade flat to 5.0.1 - autoclosed #3167

Closed
seanneumann opened this issue Dec 31, 2022 · 3 comments
Closed

Upgrade flat to 5.0.1 - autoclosed #3167

seanneumann opened this issue Dec 31, 2022 · 3 comments
Assignees
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend v2.6.0

Comments

@seanneumann
Copy link
Contributor

flat helps flatten/unflatten nested Javascript objects. A vulnerability, which was classified as critical, was found in hughsk flat up to 5.0.0. This affects the function unflatten of the file index.js. The manipulation leads to improperly controlled modification of object prototype attributes ('prototype pollution'). It is possible to initiate the attack remotely. Upgrading to version 5.0.1 can address this issue. The name of the patch is 20ef0ef55dfa028caddaedbcb33efbdb04d18e13. It is recommended to upgrade the affected component. The identifier VDB-216777 was assigned to this vulnerability.

A vulnerability, which was classified as critical, was found in hughsk flat up to 5.0.0. This affects the function unflatten of the file index.js. The manipulation leads to improperly controlled modification of object prototype attributes ('prototype pollution'). It is possible to initiate the attack remotely. Upgrading to version 5.0.1 is able to address this issue. The name of the patch is 20ef0ef55dfa028caddaedbcb33efbdb04d18e13. It is recommended to upgrade the affected component. The identifier VDB-216777 was assigned to this vulnerability.

https://www.npmjs.com/package/flat/v/5.0.1

@seanneumann seanneumann added bug Something isn't working untriaged Mend: dependency security vulnerability Security vulnerability detected by Mend v2.5.0 'Issues and PRs related to version v2.5.0' and removed bug Something isn't working untriaged labels Dec 31, 2022
@seanneumann
Copy link
Contributor Author

@AbhishekReddy1127 Can you handle this while you're oncall? Thanks!

@AbhishekReddy1127
Copy link
Contributor

AbhishekReddy1127 commented Jan 4, 2023

flat@^5.0.2:
version "5.0.2"
resolved "https://registry.yarnpkg.com/flat/-/flat-5.0.2.tgz#8ca6fe332069ffa9d324c327198c598259ceb241"
integrity sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==

@seanneumann I see we already have flat 5.0.2, which should already fix the security vulnerability.

@mend-for-github-com mend-for-github-com bot changed the title Upgrade flat to 5.0.1 Upgrade flat to 5.0.1 - autoclosed Jan 5, 2023
@mend-for-github-com
Copy link

✔️ This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend v2.6.0
Projects
None yet
Development

No branches or pull requests

3 participants