Vulnerabilities in pkg:golang/github.com/google/safearchive
PACKAGECVE-2024-10389 is a MODERATE (CVSS 5.3) path traversal vulnerability (CWE-427: Uncontrolled Search Path Element) affecting Github.com/google/safearchive libraries in the Go ecosystem. The issue involves safearchive path traversal vulnerability. Remediation is available by upgrading affected packages to version 0.0.0-20241025131057-f7ce9d7b6f9c.
pkg:golang/github.com/google/safearchive
Vulnerability advisories affecting package pkg:golang/github.com/google/safearchive. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-q3rp-vvm7-j8jg | CVE-2024-10389 | MODERATE | Safearchive Path Traversal vulnerability |
CVE-2024-10389 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:L/I:H/A:L).
How to Fix CVE-2024-10389
To remediate this vulnerability, upgrade all affected Github.com/google/safearchive dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/google/safearchive to 0.0.0-20241025131057-f7ce9d7b6f9c
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/google/safearchive
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-10389, inspect your project dependencies for Github.com/google/safearchive:
inspect dependencies for github.com/google/safearchive
Analyze the terminal output to locate any version of Github.com/google/safearchive in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20241025131057-f7ce9d7b6f9c), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-427: Uncontrolled Search Path Element, where the product uses a fixed or controlled search path to find resources, but one or more locations in that path can be under the control of unintended actors. In Github.com/google/safearchive, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-10389 Affected Github.com/google/safearchive Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/google/safearchive
|
Go |
< 0.0.0-20241025131057-f7ce9d7b6f9c
|
0.0.0-20241025131057-f7ce9d7b6f9c
|
References
Frequently Asked Questions
What is CVE-2024-10389?
Which Github.com/google/safearchive versions are affected?
What version fixes CVE-2024-10389?
Is github.com/google/safearchive affected?
What is the CVSS score of CVE-2024-10389?
What CWE is associated with CVE-2024-10389?
How can I check Go dependencies for CVE-2024-10389?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q3rp-vvm7-j8jg",
"modified" : "2025-07-23T22:13:25Z",
"published" : "2024-11-04T12:32:56Z",
"aliases" : [ "CVE-2024-10389" ],
"summary" : "Safearchive Path Traversal vulnerability",
"details" : "There exists a Path Traversal vulnerability in Safearchive on Platforms with Case-Insensitive Filesystems (e.g., NTFS). This allows Attackers to Write Arbitrary Files via Archive Extraction containing symbolic links. We recommend upgrading past commit f7ce9d7b6f9c6ecd72d0b0f16216b046e55e44dc",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:L/I:H/A:L"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:P/VC:L/VI:H/VA:L/SC:L/SI:H/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:U/V:D/RE:L/U:Green"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/google/safearchive"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.0-20241025131057-f7ce9d7b6f9c"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-10389"
}, {
"type" : "WEB",
"url" : "https://github.com/google/safearchive/commit/f7ce9d7b6f9c6ecd72d0b0f16216b046e55e44dc"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-q3rp-vvm7-j8jg"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/google/safearchive"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22", "CWE-427" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-11-04T23:23:28Z",
"nvd_published_at" : "2024-11-04T11:15:04Z"
}
}