GHSA-XX64-WWV2-HCQQ

GHSA-XX64-WWV2-HCQQ is a low-severity security vulnerability in astral-tokio-tar (rust), affecting versions <= 0.6.0. It is fixed in 0.6.1.

Summary

Workarounds

Users are advised to upgrade to version 0.6.1 or newer to address this advisory.

Users should experience no breaking changes as a result of the patch above.

Resources

  • GHSA-j4xf-2g29-59ph for the original tar vulnerability

Attribution

  • Reporter: Adam Harvey (@lawngnome)

Impact

In versions 0.6.0 and earlier of astral-tokio-tar, the unpack_in API could inadvertently modify the permissions of external (i.e. non-archive) directories outside of the archive. An attacker could use this to contrite a tar archive that maliciously changes directory permissions outside of its intended hierarchy. This flaw only affects directories; individual file permissions cannot be modified via it.

See GHSA-j4xf-2g29-59ph for the equivalent flaw in the tar crate.

Affected versions

astral-tokio-tar (<= 0.6.0)

Security releases

astral-tokio-tar → 0.6.1 (rust)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

See it in your environment

Remediation advice

Versions 0.6.1 and newer of astral-tokio-tar use fs::symlink_metdata rather than fs::metadata, avoiding the traversal.

Frequently Asked Questions

  1. What is GHSA-XX64-WWV2-HCQQ? GHSA-XX64-WWV2-HCQQ is a low-severity security vulnerability in astral-tokio-tar (rust), affecting versions <= 0.6.0. It is fixed in 0.6.1.
  2. Which versions of astral-tokio-tar are affected by GHSA-XX64-WWV2-HCQQ? astral-tokio-tar (rust) versions <= 0.6.0 is affected.
  3. Is there a fix for GHSA-XX64-WWV2-HCQQ? Yes. GHSA-XX64-WWV2-HCQQ is fixed in 0.6.1. Upgrade to this version or later.
  4. Is GHSA-XX64-WWV2-HCQQ exploitable, and should I be worried? Whether GHSA-XX64-WWV2-HCQQ is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  5. What actually determines whether GHSA-XX64-WWV2-HCQQ is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  6. How do I fix GHSA-XX64-WWV2-HCQQ? Upgrade astral-tokio-tar to 0.6.1 or later.

Other vulnerabilities in astral-tokio-tar

Stop the waste.
Protect your environment with Kodem.