
Cloud Vulnerability DB
An open project to list all known cloud vulnerabilities and Cloud Service Provider security issues
A directory traversal vulnerability was discovered in the rust-embed package affecting versions prior to 6.3.0. The vulnerability, identified as GHSA-cgw6-f3mj-h742, was discovered on November 27, 2021, and published to the GitHub Advisory Database on June 17, 2022. The issue occurs when running in debug mode and the debug-embed feature (which is off by default) is not enabled, where the generated get
method fails to verify if the input path is a child of the specified folder (RustSec Advisory, GitHub Advisory).
The vulnerability is classified as CWE-22 and carries a Moderate severity rating. The issue stems from the get
method's implementation, which fails to properly validate file paths. When the application runs in debug mode without the debug-embed feature enabled, attackers can manipulate file paths to access files outside the intended directory structure. This is achieved through path traversal sequences (../), allowing access to arbitrary files in the filesystem when an attacker controls the filename input (GitHub Advisory).
The vulnerability enables attackers with control over filename inputs to read arbitrary files from the system's filesystem. For example, an attacker could potentially access sensitive system files such as /etc/passwd by using path traversal sequences, leading to unauthorized access to confidential system information (RustSec Advisory).
The vulnerability has been patched in version 6.3.0 of rust-embed. The fix involves canonicalizing the input filename and ensuring it starts with the canonicalized folder path, preventing directory traversal attempts. Users are advised to upgrade to version 6.3.0 or later to address this security issue (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
An open project to list all known cloud vulnerabilities and Cloud Service Provider security issues
A comprehensive threat intelligence database of cloud security incidents, actors, tools and techniques
A step-by-step framework for modeling and improving SaaS and PaaS tenant isolation
Get a personalized demo
“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
“We know that if Wiz identifies something as critical, it actually is.”