Skip to content
CriticalVulnerability

GHSA-f396-4rp4-7v2j: Boxlite: Path Traversal Vulnerability Leads to Arbitrary File Write on the Host

Published
Record updated
View JSON
Affected
  • github.com/boxlite-ai/boxlite/sdks/go < 0.9.0
  • @boxlite-ai/boxlite < 0.9.0
  • boxlite < 0.9.0
  • and 1 more
Fixed in
0.9.0
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.8%

Summary

Boxlite, a sandbox service that runs OCI containers inside lightweight virtual machines, does not validate symlink targets when extracting tar entries from OCI image layers. An attacker can publish a crafted image to registries such as DockerHub, and once a user loads it, the attacker can write arbitrary content to any host path, which can lead to remote code execution on the host. The flaw sits in extract_layer_tarball_streaming and apply_oci_layer in boxlite/src/images/archive/tar.rs, and ensure_parent_dirs deliberately preserves symlinks that escape the extraction root.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.