softprops / action-gh-release

📦 :octocat: GitHub Action for creating GitHub Releases
MIT License
3.91k stars 440 forks source link

Is this action affected by the CVE-2023-45133 vulnerability #402

Open yiming-wang-trend opened 7 months ago

yiming-wang-trend commented 7 months ago

CVE-2023-45133 Babel is a compiler for writingJavaScript. In @babel/traverse prior to versions 7.23.2 and 8.0.0-alpha.4 and all versions of babel-traverse, 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.

We grep the entire repo to see if there is any code that uses the babel/traverse, and found only package-lock.json contains the dependencies, there is no place for it in the./src code.

MicrosoftTeams-image (2)

Could anyone confirm whether the presence of babel/traverse would still expose our project to this vulnerability? If so, what steps would be recommended to mitigate this risk?