Vulnerabilities in pkg:pypi/Products.PluggableAuthService

PACKAGE
Advisory Identifier: GHSA-p75f-g7gx-2r7p
Advisory Summary

CVE-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.

3 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/Products.PluggableAuthService

3 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/Products.PluggableAuthService. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-p75f-g7gx-2r7p CVE-2021-21336 HIGH Exposure of Sensitive Information to an Unauthorized Actor in Products.PluggableAuthService ZODBRoleManager
GHSA-p44j-xrqg-4xrr CVE-2021-21337 MODERATE URL Redirection to Untrusted Site ('Open Redirect') in Products.PluggableAuthService
GHSA-35rg-466w-77h3 CVE-2021-33507 MODERATE Cross-site scripting in Products.CMFCore, Products.PluggableAuthService, Plone

CVE-2021-21336 at a Glance

CVE Identifier CVE-2021-21336
GHSA Identifier GHSA-p75f-g7gx-2r7p
Severity HIGH
CVSS v3.1 Base Score 6.5
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Products.PluggableAuthService
Package Ecosystem PyPI
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (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.

Products.PluggableAuthService fixed: 2.6.0
pip install Products.PluggableAuthService>=2.6.0
Verify Direct and Transitive Dependencies

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

### Impact _What kind of vulnerability is it? Who is impacted?_ Information disclosure vulnerability - everyone can list the names of roles defined in the ZODB Role Manager plugin if the site uses this plugin. ### Patches _Has the problem been patched? What versions should users upgrade to?_ The 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"` ### Workarounds _Is there a way for users to fix or remediate the vulnerability without upgrading?_ There is no workaround. Users are encouraged to upgrade. ### References _Are there any links users can visit to find out more?_ - [GHSA-p75f-g7gx-2r7p](https://github.com/zopefoundation/Products.PluggableAuthService/security/advisories/GHSA-p75f-g7gx-2r7p) - [Products.PluggableAuthService on PyPI](https://github.com/zopefoundation/Products.PluggableAuthService) ### For more information If you have any questions or comments about this advisory: * Open an issue in the [Products.PluggableAuthService issue tracker](https://github.com/zopefoundation/Products.PluggableAuthService/issues) * Email us at [security@plone.org](mailto:security@plone.org)

CVE-2021-21336 Affected Products.PluggableAuthService Versions

1 component(s)
Fixed Versions:
2.6.0
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?
CVE-2021-21336 is a security vulnerability in Products.PluggableAuthService involving Exposure of Sensitive Information to an Unauthorized Actor in Products.PluggableAuthService ZODBRoleManager under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Products.PluggableAuthService versions are affected?
Affected versions include releases prior to 2.6.0 across affected packages: Products.PluggableAuthService.
What version fixes CVE-2021-21336?
Upgrading to 2.6.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Products.PluggableAuthService affected?
Yes, Products.PluggableAuthService is affected in releases prior to 2.6.0. Upgrade your dependency to 2.6.0 or later.
What is the CVSS score of CVE-2021-21336?
CVE-2021-21336 has a CVSS v3.1 base score of 6.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2021-21336?
CVE-2021-21336 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check PyPI dependencies for CVE-2021-21336?
Run the dependency tree command: 'pip show Products.PluggableAuthService'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}