Skip to content

Bump estree-util-value-to-estree to ^3.3.2 [SECURITY] #1708

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

Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 12, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
estree-util-value-to-estree 3.3.2 -> 3.3.3 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2025-32014

Impact

When generating an ESTree from a value with a property named __proto__, valueToEstree would generate an object that specifies a prototype instead.

Example:

import { generate } from 'astring'
import { valueToEstree } from 'estree-util-value-to-estree'

const estree = valueToEstree({
  ['__proto__']: {}
})
const code = generate(estree)
console.log(code)

Output:

{
  "__proto__": {}
}

Patches

This was fixed in version 3.3.3.

Workarounds

If you control the input, don’t specify a property named __proto__. If you don’t control the output, strip any properties named __proto__ before passing it to valueToEstree.


Release Notes

remcohaszing/estree-util-value-to-estree (estree-util-value-to-estree)

v3.3.3

Compare Source

  • 652e019 Use singular Object.defineProperty if possible
  • d0c394f Fix __proto__ property emit

Full Changelog: remcohaszing/estree-util-value-to-estree@v3.3.2...v3.3.3


Configuration

📅 Schedule: Branch creation - "" in timezone UTC, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from atomiks as a code owner April 12, 2025 14:56
@renovate renovate bot added the dependencies Update of dependencies label Apr 12, 2025
@renovate renovate bot requested a review from michaldudak as a code owner April 12, 2025 14:56
Copy link

netlify bot commented Apr 12, 2025

Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit 6a7e49e
🔍 Latest deploy log https://app.netlify.com/sites/base-ui/deploys/67fa7f0d4027940008c6d711
😎 Deploy Preview https://deploy-preview-1708--base-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@michaldudak michaldudak merged commit 13fd12a into master Apr 14, 2025
23 checks passed
@michaldudak michaldudak deleted the renovate/npm-estree-util-value-to-estree-vulnerability branch April 14, 2025 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Update of dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant