Vulnerabilities in pkg:golang/github.com/b3log/wide
PACKAGECVE-2019-13915 is a HIGH (CVSS 7.5) b3log wide unauthenticated file access vulnerability (CWE-59: Improper Link Resolution Before File Access ('Link Following')) affecting Github.com/b3log/wide libraries in the Go ecosystem. The issue involves b3log wide unauthenticated file access. Remediation is available by upgrading affected packages to version 1.6.0.
pkg:golang/github.com/b3log/wide
Vulnerability advisories affecting package pkg:golang/github.com/b3log/wide. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-6452-jr93-r5qm | CVE-2019-13915 | HIGH | b3log Wide unauthenticated file access |
CVE-2019-13915 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2019-13915
To remediate this vulnerability, upgrade all affected Github.com/b3log/wide 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/b3log/wide to 1.6.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/b3log/wide
How to Check if You Are Affected
To determine whether your application is affected by CVE-2019-13915, inspect your project dependencies for Github.com/b3log/wide:
inspect dependencies for github.com/b3log/wide
Analyze the terminal output to locate any version of Github.com/b3log/wide in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.6.0), 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-59: Improper Link Resolution Before File Access ('Link Following'), where the product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource. In Github.com/b3log/wide, 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-2019-13915 Affected Github.com/b3log/wide Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/b3log/wide
|
Go |
< 1.6.0
|
1.6.0
|
References
Frequently Asked Questions
What is CVE-2019-13915?
Which Github.com/b3log/wide versions are affected?
What version fixes CVE-2019-13915?
Is github.com/b3log/wide affected?
What is the CVSS score of CVE-2019-13915?
What CWE is associated with CVE-2019-13915?
How can I check Go dependencies for CVE-2019-13915?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6452-jr93-r5qm",
"modified" : "2023-08-25T21:47:54Z",
"published" : "2022-05-24T16:50:40Z",
"aliases" : [ "CVE-2019-13915" ],
"summary" : "b3log Wide unauthenticated file access",
"details" : "b3log Wide before 1.6.0 allows three types of attacks to access arbitrary files. First, the attacker can write code in the editor, and compile and run it approximately three times to read an arbitrary file. Second, the attacker can create a symlink, and then place the symlink into a ZIP archive. An unzip operation leads to read access, and write access (depending on file permissions), to the symlink target. Third, the attacker can import a Git repository that contains a symlink, similarly leading to read and write access.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/b3log/wide"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.6.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-13915"
}, {
"type" : "WEB",
"url" : "https://github.com/b3log/wide/issues/355"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/b3log/wide"
}, {
"type" : "WEB",
"url" : "https://sca.analysiscenter.veracode.com/vulnerability-database/security/arbitrary-file-reads-and-writes/go/sid-20862"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20190522035724/https://github.com/b3log/wide"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-59", "CWE-74" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-14T21:08:41Z",
"nvd_published_at" : "2019-07-18T15:15:00Z"
}
}