Vulnerabilities in pkg:pypi/sopel-modules.weather

PACKAGE
Advisory Summary

GHSA-63rq-p8fp-524q is a MODERATE potential api key leak vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Sopel modules.weather libraries in the PyPI ecosystem. The issue involves potential api key leak. Remediation is available by upgrading affected packages to version 1.2.4.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/sopel-modules.weather

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/sopel-modules.weather. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-63rq-p8fp-524q - MODERATE Potential API key leak

GHSA-63rq-p8fp-524q at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-63rq-p8fp-524q
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Sopel modules.weather
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix GHSA-63rq-p8fp-524q

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

sopel-modules.weather fixed: 1.2.4
pip install sopel-modules.weather>=1.2.4
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 sopel-modules.weather

How to Check if You Are Affected

To determine whether your Python environment is affected by GHSA-63rq-p8fp-524q, inspect your installed packages using pip:

pip show sopel-modules.weather

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

Note: The pip show sopel-modules.weather 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 Sopel modules.weather, 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

If a user is actively blackholing the location or weather APIs, or those APIs become otherwise unavailable, it is possible for the API keys to get leaked to the active IRC channel. This is patched in v1.2.4

GHSA-63rq-p8fp-524q Affected Sopel modules.weather Versions

1 component(s)
Fixed Versions:
1.2.4
Product / Package Ecosystem Affected Versions Fixed Version
sopel-modules.weather
PyPI
< 1.2.4
1.2.4

References

Frequently Asked Questions

What is GHSA-63rq-p8fp-524q?
GHSA-63rq-p8fp-524q is a security vulnerability in Sopel modules.weather involving Potential API key leak under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Sopel modules.weather versions are affected?
Affected versions include releases prior to 1.2.4 across affected packages: sopel-modules.weather.
What version fixes GHSA-63rq-p8fp-524q?
Upgrading to 1.2.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is sopel-modules.weather affected?
Yes, sopel-modules.weather is affected in releases prior to 1.2.4. Upgrade your dependency to 1.2.4 or later.
What CWE is associated with GHSA-63rq-p8fp-524q?
GHSA-63rq-p8fp-524q 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 GHSA-63rq-p8fp-524q?
Run the dependency tree command: 'pip show sopel-modules.weather'. 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-63rq-p8fp-524q",
  "modified" : "2021-04-12T18:44:12Z",
  "published" : "2021-04-13T15:12:06Z",
  "aliases" : [ ],
  "summary" : "Potential API key leak",
  "details" : "If a user is actively blackholing the location or weather APIs, or those APIs become otherwise unavailable, it is possible for the API keys to get leaked to the active IRC channel.\n\nThis is patched in v1.2.4",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "sopel-modules.weather"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.2.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/sopel-irc/sopel-weather/security/advisories/GHSA-63rq-p8fp-524q"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-04-12T18:44:12Z",
    "nvd_published_at" : null
  }
}