GHSA-v988-828w-xvf2: Rucio webui Authentication Bypass Vulnerability
HIGHGHSA-v988-828w-xvf2 is a HIGH authentication bypass vulnerability (CWE-305: Authentication Bypass by Primary Weakness) affecting Rucio webui libraries in the PyPI ecosystem. The issue involves authentication bypass using an alternate path or channel and authentication bypass by primary weakness in rucio-webui. Remediation is available by upgrading affected packages to version 1.26.7.
GHSA-v988-828w-xvf2 at a Glance
How to Fix GHSA-v988-828w-xvf2
To remediate this vulnerability, upgrade all affected Rucio webui dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install rucio-webui>=1.26.7
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show rucio-webui
How to Check if You Are Affected
To determine whether your Python environment is affected by GHSA-v988-828w-xvf2, inspect your installed packages using pip:
pip show rucio-webui
Analyze the terminal output to locate any version of Rucio webui in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.26.7), your application is affected.
Note: The pip show rucio-webui command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-305: Authentication Bypass by Primary Weakness, where the authentication algorithm is sound, but the implemented mechanism can be bypassed as the result of a separate weakness that is primary to the authentication error. In Rucio webui, 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-v988-828w-xvf2 Affected Rucio webui Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
rucio-webui
|
PyPI |
≥ 1.26.0
< 1.26.7
|
1.26.7
|
References
Frequently Asked Questions
What is GHSA-v988-828w-xvf2?
Which Rucio webui versions are affected?
What version fixes GHSA-v988-828w-xvf2?
Is rucio-webui affected?
What CWE is associated with GHSA-v988-828w-xvf2?
How can I check PyPI dependencies for GHSA-v988-828w-xvf2?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-v988-828w-xvf2",
"modified" : "2021-10-21T21:36:22Z",
"published" : "2021-10-22T16:21:07Z",
"aliases" : [ ],
"summary" : "Authentication Bypass Using an Alternate Path or Channel and Authentication Bypass by Primary Weakness in rucio-webui",
"details" : "### Impact\n`rucio-webui` installations of the `1.26` release line potentially leak the contents of cookies to other sessions within a wsgi container. Impact is that Rucio authentication tokens are leaked to other users accessing the `webui` within a close timeframe, thus allowing users to access the `webui` with the leaked authentication token. Privileges are therefore also escalated.\n\nRucio server / daemons are not affected by this issue, it is isolated to the webui.\n\n### Patches\nThis issue is fixed in the `1.26.7` release of the `rucio-webui`.\n\n### Workarounds\nInstallation of the `1.25.7` `webui` release. The `1.25` and previous webui release lines are not affected by this issue.\n\n### References\nhttps://github.com/rucio/rucio/issues/4928",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "rucio-webui"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.26.0"
}, {
"fixed" : "1.26.7"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/rucio/rucio/security/advisories/GHSA-v988-828w-xvf2"
}, {
"type" : "WEB",
"url" : "https://github.com/rucio/rucio/issues/4810"
}, {
"type" : "WEB",
"url" : "https://github.com/rucio/rucio/issues/4928"
}, {
"type" : "WEB",
"url" : "https://github.com/rucio/rucio/commit/8f832404ae88d6300e17d7e706b40fe58e0df90c"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/rucio/rucio"
}, {
"type" : "WEB",
"url" : "https://github.com/rucio/rucio/releases/tag/1.26.7"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-288", "CWE-305" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2021-10-21T21:36:22Z",
"nvd_published_at" : null
}
}