# CVE-2021-21336: Exposure of Sensitive Information to an Unauthorized Actor in Products.PluggableAuthService ZODBRoleManager

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.50% (percentile 75, 2026-11-26)
- **CWE:** CWE-200
- **Aliases:** GHSA-p75f-g7gx-2r7p, PYSEC-2021-44
- **Published:** 2021-03-08T20:38:35.000Z
- **Modified:** 2026-07-08T06:29:24.826Z

## Who should check

- Projects that depend on PyPI package products-pluggableauthservice (\< 2.6.0)
- Anyone running zopefoundation Products.PluggableAuthService \< 2.6.0

## Description

Products.PluggableAuthService is a pluggable Zope authentication and authorization framework. In Products.PluggableAuthService before version 2.6.0 there is an information disclosure vulnerability - everyone can list the names of roles defined in the ZODB Role Manager plugin if the site uses this plugin. 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"\`.

## Affected and fixed versions

- PyPI `products-pluggableauthservice`: affected \< 2.6.0; fixed 2.6.0 (osv)
- zopefoundation Products.PluggableAuthService: \< 2.6.0 (cvelist)

## Mitigation

- Upgrade products-pluggableauthservice to 2.6.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-21336. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-21336.md
Affected: products-pluggableauthservice < 2.6.0
Fixed in: 2.6.0

Steps:
1. Search this machine and project for products-pluggableauthservice (PyPI), zopefoundation Products.PluggableAuthService: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-21336 being exploited?

There is no confirmed exploitation: CVE-2021-21336 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.50% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-21336?

Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2021-21336?

products-pluggableauthservice \< 2.6.0.

### Is there a fix for CVE-2021-21336?

Yes. Fixed in 2.6.0. Upgrade products-pluggableauthservice to 2.6.0 or later.

### How do I check if I'm affected by CVE-2021-21336?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/zopefoundation/Products.PluggableAuthService/security/advisories/GHSA-p75f-g7gx-2r7p>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2021-21336>
- patch: <https://github.com/zopefoundation/Products.PluggableAuthService/commit/2dad81128250cb2e5d950cddc9d3c0314a80b4bb>
- other: <https://pypi.org/project/Products.PluggableAuthService/>
- other: <http://www.openwall.com/lists/oss-security/2021/05/21/1>
- other: <http://www.openwall.com/lists/oss-security/2021/05/22/1>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/products-pluggableauthservice/PYSEC-2021-44.yaml>
- other: <https://github.com/zopefoundation/Products.PluggableAuthService>
- other: <https://pypi.org/project/Products.PluggableAuthService>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-21336>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-p75f-g7gx-2r7p> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2021-44> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2021-21336> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-21336>
