Skip to main content

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CVE-2024-42471

Severity High
Score 7.5/10

Summary

The actions/artifact is the GitHub Toolkit for developing GitHub Actions. In actions/artifact versions 2.0.0 through 2.1.6 are vulnerable to arbitrary file write when using "downloadArtifactInternal", "downloadArtifactPublic", or "streamExtractExternal" for extracting a specifically crafted artifact that contains path traversal filenames. Users are advised to upgrade. There are no known workarounds for this issue.

  • LOW
  • NETWORK
  • HIGH
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • NONE

CWE-22 - Path Traversal

Path traversal (or directory traversal), is a vulnerability that allows malicious users to traverse the server's root directory, gaining access to arbitrary files and folders such as application code & data, back-end credentials, and sensitive operating system files. In the worst-case scenario, an attacker could potentially execute arbitrary files on the server, resulting in a denial of service attack. Such an exploit may severely impact the integrity, confidentiality, and availability of an application.

Advisory Timeline

  • Published