GHSA-879p-8gw4-mcpw: Fgr Fgr Vulnerable To Insecure Default Vulnerability

LOW
CVSS 3.7
CWE-453
Published
Advisory Summary

GHSA-879p-8gw4-mcpw is a LOW (CVSS 3.7) fgr vulnerable to insecure default vulnerability (CWE-453: Insecure Default Variable Initialization) affecting Fgr libraries in the PyPI ecosystem. The issue involves fgr vulnerable to insecure default variable initialization. Remediation is available in the latest vendor maintenance releases.

GHSA-879p-8gw4-mcpw at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-879p-8gw4-mcpw
Severity LOW
CVSS v3.1 Base Score 3.7
CWE Classification CWE-453: Insecure Default Variable Initialization
Affected Product Fgr
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 3.7

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

Attack Vector Local (AV:L)
Attack Complexity High (AC:H)
Privileges Required High (PR:H)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix GHSA-879p-8gw4-mcpw

To remediate this vulnerability, upgrade all affected Fgr dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

fgr fixed: Latest secure release
pip install fgr>=Latest secure release
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 fgr

How to Check if You Are Affected

To determine whether your Python environment is affected by GHSA-879p-8gw4-mcpw, inspect your installed packages using pip:

pip show fgr

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

Note: The pip show fgr command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-453: Insecure Default Variable Initialization, where the product, by default, initializes an internal variable with an insecure or less secure value than is possible. In Fgr, 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 Any users whom would not desire a traceback to be included in their logs whenever an error is raised in their code will be affected. If users have inadvertently created a scenario in their code that could cause a traceback to include sensitive information _and_ a malicious entity gained access to their log stream, this could create an issue. ### Patches None yet... users will need to upgrade to `0.4.*` ### Workarounds No particularly reasonable ones at present. ### References * https://cwe.mitre.org/data/definitions/453.html * https://www.invicti.com/web-vulnerability-scanner/vulnerabilities/stack-trace-disclosure-python/

GHSA-879p-8gw4-mcpw Affected Fgr Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
fgr
PyPI
≤ 0.3.2

References

Frequently Asked Questions

What is GHSA-879p-8gw4-mcpw?
GHSA-879p-8gw4-mcpw is a security vulnerability in Fgr involving fgr Vulnerable to Insecure Default Variable Initialization under CWE-453: Insecure Default Variable Initialization.
Which Fgr versions are affected?
Affected versions include releases prior to current release patches across affected packages: fgr.
What version fixes GHSA-879p-8gw4-mcpw?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is fgr affected?
Yes, fgr is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of GHSA-879p-8gw4-mcpw?
GHSA-879p-8gw4-mcpw has a CVSS v3.1 base score of 3.7 (LOW) with vector string CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with GHSA-879p-8gw4-mcpw?
GHSA-879p-8gw4-mcpw is classified under CWE-453: Insecure Default Variable Initialization (The product, by default, initializes an internal variable with an insecure or less secure value than is possible.).
How can I check PyPI dependencies for GHSA-879p-8gw4-mcpw?
Run the dependency tree command: 'pip show fgr'. 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-879p-8gw4-mcpw",
  "modified" : "2024-03-15T19:01:10Z",
  "published" : "2024-03-15T19:01:10Z",
  "aliases" : [ ],
  "summary" : " fgr Vulnerable to Insecure Default Variable Initialization",
  "details" : "### Impact\nAny users whom would not desire a traceback to be included in their logs whenever an error is raised in their code will be affected.\n\nIf users have inadvertently created a scenario in their code that could cause a traceback to include sensitive information _and_ a malicious entity gained access to their log stream, this could create an issue.\n\n### Patches\nNone yet... users will need to upgrade to `0.4.*`\n\n### Workarounds\nNo particularly reasonable ones at present.\n\n### References\n* https://cwe.mitre.org/data/definitions/453.html\n* https://www.invicti.com/web-vulnerability-scanner/vulnerabilities/stack-trace-disclosure-python/",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "fgr"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.3.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/dan1hc/fgr/security/advisories/GHSA-879p-8gw4-mcpw"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/dan1hc/fgr"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-453" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-03-15T19:01:10Z",
    "nvd_published_at" : null
  }
}