CVE-2021-21336: Products.PluggableAuthService Exposure Of Sensitive Information To Vulnerability
HIGHCVE-2021-21336 is a HIGH (CVSS 6.5) exposure of sensitive information to vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Products.PluggableAuthService libraries in the PyPI ecosystem. The issue involves exposure of sensitive information to an unauthorized actor in products.pluggableauthservice zodbrolemanager. Remediation is available by upgrading affected packages to version 2.6.0.
CVE-2021-21336 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2021-21336
To remediate this vulnerability, upgrade all affected Products.PluggableAuthService 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 Products.PluggableAuthService>=2.6.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show Products.PluggableAuthService
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2021-21336, inspect your installed packages using pip:
pip show Products.PluggableAuthService
Analyze the terminal output to locate any version of Products.PluggableAuthService in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.6.0), your application is affected.
Note: The pip show Products.PluggableAuthService command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Products.PluggableAuthService, 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-2021-21336 Affected Products.PluggableAuthService Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
Products.PluggableAuthService
|
PyPI |
< 2.6.0
|
2.6.0
|
References
Frequently Asked Questions
What is CVE-2021-21336?
Which Products.PluggableAuthService versions are affected?
What version fixes CVE-2021-21336?
Is Products.PluggableAuthService affected?
What is the CVSS score of CVE-2021-21336?
What CWE is associated with CVE-2021-21336?
How can I check PyPI dependencies for CVE-2021-21336?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-p75f-g7gx-2r7p",
"modified" : "2024-10-21T20:15:19Z",
"published" : "2021-03-08T20:38:35Z",
"aliases" : [ "CVE-2021-21336" ],
"summary" : "Exposure of Sensitive Information to an Unauthorized Actor in Products.PluggableAuthService ZODBRoleManager",
"details" : "### Impact\n_What kind of vulnerability is it? Who is impacted?_\n\nInformation disclosure vulnerability - everyone can list the names of roles defined in the ZODB Role Manager plugin if the site uses this plugin.\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\n\nThe problem has been fixed in version 2.6.0. Depending on how you have installed Products.PluggableAuthService, you should change the buildout version pin to 2.6.0 and re-run the buildout, or if you used pip simply do `pip install \"Products.PluggableAuthService>=2.6.0\"`\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\n\nThere is no workaround. Users are encouraged to upgrade.\n\n### References\n_Are there any links users can visit to find out more?_\n\n- [GHSA-p75f-g7gx-2r7p](https://github.com/zopefoundation/Products.PluggableAuthService/security/advisories/GHSA-p75f-g7gx-2r7p)\n- [Products.PluggableAuthService on PyPI](https://github.com/zopefoundation/Products.PluggableAuthService)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in the [Products.PluggableAuthService issue tracker](https://github.com/zopefoundation/Products.PluggableAuthService/issues)\n* Email us at [security@plone.org](mailto:security@plone.org)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "Products.PluggableAuthService"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.6.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/zopefoundation/Products.PluggableAuthService/security/advisories/GHSA-p75f-g7gx-2r7p"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-21336"
}, {
"type" : "WEB",
"url" : "https://github.com/zopefoundation/Products.PluggableAuthService/commit/2dad81128250cb2e5d950cddc9d3c0314a80b4bb"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/products-pluggableauthservice/PYSEC-2021-44.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/zopefoundation/Products.PluggableAuthService"
}, {
"type" : "WEB",
"url" : "https://pypi.org/project/Products.PluggableAuthService"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2021/05/21/1"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2021/05/22/1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2021-03-08T20:38:23Z",
"nvd_published_at" : "2021-03-08T21:15:00Z"
}
}