You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This request comes after a Dependabot notified me to bump actions/download-artifact from v3 to v4.1.7:
Versions of actions/download-artifact before 4.1.7 are vulnerable to arbitrary file write when downloading and extracting a specifically crafted artifact that contains path traversal filenames.
Example
As per recommendation, I updated my GitHub Actions workflow file:
This will cause the Download artifact stage to fail.
Downloading single artifact
Error: Unable to download artifact(s): Artifact not found for name: build
Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact.
For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md
Upon inspection of which actions/upload-artifact version is used by this action, I discovered it's using v3 (reference).
Proposed solution
If possible, update all actions that deal with uploading/downloading artifacts to use v4.
The text was updated successfully, but these errors were encountered:
Issue description
This request comes after a Dependabot notified me to bump
actions/download-artifact
from v3 to v4.1.7:Example
As per recommendation, I updated my GitHub Actions workflow file:
What happened
This will cause the
Download artifact
stage to fail.Upon inspection of which
actions/upload-artifact
version is used by this action, I discovered it's using v3 (reference).Proposed solution
If possible, update all actions that deal with uploading/downloading artifacts to use v4.
The text was updated successfully, but these errors were encountered: