Vulnerabilities in pkg:pypi/Products.GenericSetup

PACKAGE
Advisory Identifier: GHSA-jff3-mwp3-f8cw
Advisory Summary

CVE-2021-21360 is a MODERATE (CVSS 5.3) exposure of sensitive information to vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Products.GenericSetup libraries in the PyPI ecosystem. The issue involves exposure of sensitive information to an unauthorized actor in products.genericsetup. Remediation is available by upgrading affected packages to version 2.1.1.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/Products.GenericSetup

1 Known Advisory Record(s)

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

Advisory ID CVE / NVD Severity Summary
GHSA-jff3-mwp3-f8cw CVE-2021-21360 MODERATE Exposure of Sensitive Information to an Unauthorized Actor in Products.GenericSetup

CVE-2021-21360 at a Glance

CVE Identifier CVE-2021-21360
GHSA Identifier GHSA-jff3-mwp3-f8cw
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Products.GenericSetup
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2021-21360

To remediate this vulnerability, upgrade all affected Products.GenericSetup 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.GenericSetup fixed: 2.1.1
pip install Products.GenericSetup>=2.1.1
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.GenericSetup

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2021-21360, inspect your installed packages using pip:

pip show Products.GenericSetup

Analyze the terminal output to locate any version of Products.GenericSetup in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.1), your application is affected.

Note: The pip show Products.GenericSetup 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.GenericSetup, 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 - anonymous visitors may view log and snapshot files generated by the Generic Setup Tool. ### Patches _Has the problem been patched? What versions should users upgrade to?_ The problem has been fixed in version 2.1.1. Depending on how you have installed Products.GenericSetup, you should change the buildout version pin to 2.1.1 and re-run the buildout, or if you used pip simply do pip install `"Products.GenericSetup>=2.1.1"` ### Workarounds _Is there a way for users to fix or remediate the vulnerability without upgrading?_ Visit the ZMI Security tab at `portal_setup/manage_access` and click on the link _Access contents information_. On the next page, uncheck the box _Also use roles acquired from folders containing this objects_ at the bottom and check the boxes for _Manager_ and _Owner_. Then click on _Save Changes_. Return to the ZMI Security tab at `portal_setup/manage_access` and scroll down to the link _View_. Click on _View_, uncheck the box _Also use roles acquired from folders containing this objects_ at the bottom and check the boxes for _Manager_ and _Owner_. Then click on _Save Changes_. ### References _Are there any links users can visit to find out more?_ - [GHSA-jff3-mwp3-f8cw](https://github.com/zopefoundation/Products.GenericSetup/security/advisories/GHSA-jff3-mwp3-f8cw) - [Products.GenericSetup on PyPI](https://pypi.org/project/Products.GenericSetup/) - [Definition of information disclosure at MITRE](https://cwe.mitre.org/data/definitions/200.html) ### For more information If you have any questions or comments about this advisory: * Open an issue in the [Products.GenericSetup issue tracker](https://github.com/zopefoundation/Products.GenericSetup/issues) * Email us at [security@plone.org](mailto:security@plone.org)

CVE-2021-21360 Affected Products.GenericSetup Versions

1 component(s)
Fixed Versions:
2.1.1
Product / Package Ecosystem Affected Versions Fixed Version
Products.GenericSetup
PyPI
< 2.1.1
2.1.1

References

Frequently Asked Questions

What is CVE-2021-21360?
CVE-2021-21360 is a security vulnerability in Products.GenericSetup involving Exposure of Sensitive Information to an Unauthorized Actor in Products.GenericSetup under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Products.GenericSetup versions are affected?
Affected versions include releases prior to 2.1.1 across affected packages: Products.GenericSetup.
What version fixes CVE-2021-21360?
Upgrading to 2.1.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Products.GenericSetup affected?
Yes, Products.GenericSetup is affected in releases prior to 2.1.1. Upgrade your dependency to 2.1.1 or later.
What is the CVSS score of CVE-2021-21360?
CVE-2021-21360 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2021-21360?
CVE-2021-21360 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-21360?
Run the dependency tree command: 'pip show Products.GenericSetup'. 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-jff3-mwp3-f8cw",
  "modified" : "2024-10-21T20:02:24Z",
  "published" : "2021-03-09T00:38:31Z",
  "aliases" : [ "CVE-2021-21360" ],
  "summary" : "Exposure of Sensitive Information to an Unauthorized Actor in Products.GenericSetup",
  "details" : "### Impact\n_What kind of vulnerability is it? Who is impacted?_\n\nInformation disclosure vulnerability - anonymous visitors may view log and snapshot files generated by the Generic Setup Tool.\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\n\nThe problem has been fixed in version 2.1.1. Depending on how you have installed Products.GenericSetup, you should change the buildout version pin to 2.1.1 and re-run the buildout, or if you used pip simply do pip install `\"Products.GenericSetup>=2.1.1\"`\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\n\nVisit the ZMI Security tab at `portal_setup/manage_access` and click on the link _Access contents information_. On the next page, uncheck the box _Also use roles acquired from folders containing this objects_ at the bottom and check the boxes for _Manager_ and _Owner_. Then click on _Save Changes_. Return to the ZMI Security tab at `portal_setup/manage_access` and scroll down to the link _View_. Click on _View_, uncheck the box _Also use roles acquired from folders containing this objects_ at the bottom and check the boxes for _Manager_ and _Owner_. Then click on _Save Changes_. \n\n### References\n_Are there any links users can visit to find out more?_\n\n- [GHSA-jff3-mwp3-f8cw](https://github.com/zopefoundation/Products.GenericSetup/security/advisories/GHSA-jff3-mwp3-f8cw)\n- [Products.GenericSetup on PyPI](https://pypi.org/project/Products.GenericSetup/)\n- [Definition of information disclosure at MITRE](https://cwe.mitre.org/data/definitions/200.html)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in the [Products.GenericSetup issue tracker](https://github.com/zopefoundation/Products.GenericSetup/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:N/UI:N/S:U/C:L/I:N/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "Products.GenericSetup"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.1.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/zopefoundation/Products.GenericSetup/security/advisories/GHSA-jff3-mwp3-f8cw"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-21360"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/zopefoundation/Products.GenericSetup/commit/700319512b3615b3871a1f24e096cf66dc488c57"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/products-genericsetup/PYSEC-2021-43.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/zopefoundation/Products.GenericSetup"
  }, {
    "type" : "WEB",
    "url" : "https://pypi.org/project/Products.GenericSetup"
  }, {
    "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" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-03-09T00:29:44Z",
    "nvd_published_at" : "2021-03-09T01:15:00Z"
  }
}