Vulnerabilities in pkg:golang/github.com/ThomasLeister/prosody-filer
PACKAGEGHSA-qmfx-75ff-8mw6 is a HIGH listing of upload directory contents vulnerability (General Security Weakness) affecting Github.com/ThomasLeister/prosody filer libraries in the Go ecosystem. The issue involves listing of upload directory contents possible. Remediation is available by upgrading affected packages to version 1.0.1.
pkg:golang/github.com/ThomasLeister/prosody-filer
Vulnerability advisories affecting package pkg:golang/github.com/ThomasLeister/prosody-filer. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-qmfx-75ff-8mw6 | - | HIGH | Listing of upload directory contents possible |
GHSA-qmfx-75ff-8mw6 at a Glance
How to Fix GHSA-qmfx-75ff-8mw6
To remediate this vulnerability, upgrade all affected Github.com/ThomasLeister/prosody filer 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/ThomasLeister/prosody-filer to 1.0.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/ThomasLeister/prosody-filer
How to Check if You Are Affected
To determine whether your application is affected by GHSA-qmfx-75ff-8mw6, inspect your project dependencies for Github.com/ThomasLeister/prosody filer:
inspect dependencies for github.com/ThomasLeister/prosody-filer
Analyze the terminal output to locate any version of Github.com/ThomasLeister/prosody filer in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.1), 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 General Security Weakness. In Github.com/ThomasLeister/prosody filer, 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
GHSA-qmfx-75ff-8mw6 Affected Github.com/ThomasLeister/prosody filer Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/ThomasLeister/prosody-filer
|
Go |
< 1.0.1
|
1.0.1
|
References
Frequently Asked Questions
What is GHSA-qmfx-75ff-8mw6?
Which Github.com/ThomasLeister/prosody filer versions are affected?
What version fixes GHSA-qmfx-75ff-8mw6?
Is github.com/ThomasLeister/prosody-filer affected?
What CWE is associated with GHSA-qmfx-75ff-8mw6?
How can I check Go dependencies for GHSA-qmfx-75ff-8mw6?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qmfx-75ff-8mw6",
"modified" : "2021-05-24T21:22:08Z",
"published" : "2021-05-27T18:41:00Z",
"aliases" : [ ],
"summary" : "Listing of upload directory contents possible",
"details" : "There's an security issue in prosody-filer versions **< 1.0.1** which leads to unwanted directory listings of download directories. \n\nAn attacker is able to list previous uploads of a certain user by shortening the URL and accessing a URL subdirectors other than `/upload/` (or the corresponding user defined root dir)\n\nVersion 1.0.1 and later fix this problem and allow only direct file access if the full path is known. Directory listings are blocked entirely.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/ThomasLeister/prosody-filer"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/ThomasLeister/prosody-filer/security/advisories/GHSA-qmfx-75ff-8mw6"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2021-05-24T21:22:08Z",
"nvd_published_at" : null
}
}