morfeojs / morfeo

Morfeo is a build-time CSS-in-TS solution for the next level theming, with the minimum amount of shipped CSS.
https://morfeo.dev
MIT License
36 stars 4 forks source link

fix(deps): update dependency @babel/traverse to v7.23.2 [security] #892

Closed renovate[bot] closed 11 months ago

renovate[bot] commented 11 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@babel/traverse (source) 7.23.0 -> 7.23.2 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2023-45133

Impact

Using Babel to compile code that was specifically crafted by an attacker can lead to arbitrary code execution during compilation, when using plugins that rely on the path.evaluate()or path.evaluateTruthy() internal Babel methods.

Known affected plugins are:

No other plugins under the @babel/ namespace are impacted, but third-party plugins might be.

Users that only compile trusted code are not impacted.

Patches

The vulnerability has been fixed in @babel/traverse@7.23.2.

Babel 6 does not receive security fixes anymore (see Babel's security policy), hence there is no patch planned for babel-traverse@6.

Workarounds


Release Notes

babel/babel (@​babel/traverse) ### [`v7.23.2`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7232-2023-10-11) [Compare Source](https://togithub.com/babel/babel/compare/v7.23.0...v7.23.2) ##### :bug: Bug Fix - `babel-traverse` - [#​16033](https://togithub.com/babel/babel/pull/16033) Only evaluate own String/Number/Math methods ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-preset-typescript` - [#​16022](https://togithub.com/babel/babel/pull/16022) Rewrite `.tsx` extension when using `rewriteImportExtensions` ([@​jimmydief](https://togithub.com/jimmydief)) - `babel-helpers` - [#​16017](https://togithub.com/babel/babel/pull/16017) Fix: fallback to typeof when toString is applied to incompatible object ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-helpers`, `babel-plugin-transform-modules-commonjs`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#​16025](https://togithub.com/babel/babel/pull/16025) Avoid override mistake in namespace imports ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

Configuration

📅 Schedule: Branch creation - "" (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.



This PR has been generated by Mend Renovate. View repository job log here.

changeset-bot[bot] commented 11 months ago

⚠️ No Changeset found

Latest commit: e5651edb2955d2088f5e2a72307c1a6bd8af9b25

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

vercel[bot] commented 11 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **docs** | ⬜️ Ignored ([Inspect](https://vercel.com/morfeojs/docs/4jf7BrrCLhPTvgFGnmNLHSfbT7nW)) | [Visit Preview](https://docs-git-renovate-npm-babeltraverse-vulnerability-morfeojs.vercel.app) | | Oct 21, 2023 7:05am |
codecov-commenter commented 11 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (b094895) 100.00% compared to head (e5651ed) 96.79%. Report is 162 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #892 +/- ## =========================================== - Coverage 100.00% 96.79% -3.21% =========================================== Files 103 67 -36 Lines 914 812 -102 Branches 160 146 -14 =========================================== - Hits 914 786 -128 - Misses 0 16 +16 - Partials 0 10 +10 ``` [see 135 files with indirect coverage changes](https://app.codecov.io/gh/morfeojs/morfeo/pull/892/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=morfeojs)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.