CVE-2023-0055: Pyload ng Pyload Contains Sensitive Cookie Vulnerability

MODERATE
Advisory Identifier: GHSA-m3g7-wrrq-v5c8
CVSS 5.3
CWE-319 CWE-614
Published
Advisory Summary

CVE-2023-0055 is a MODERATE (CVSS 5.3) pyload contains sensitive cookie vulnerability (CWE-319: Cleartext Transmission of Sensitive Information) affecting Pyload ng libraries in the PyPI ecosystem. The issue involves pyload contains sensitive cookie in https session without 'secure' attribute. Remediation is available by upgrading affected packages to version 0.5.0b3.dev32.

CVE-2023-0055 at a Glance

CVE Identifier CVE-2023-0055
GHSA Identifier GHSA-m3g7-wrrq-v5c8
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-319: Cleartext Transmission of Sensitive Information
Affected Product Pyload ng
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-2023-0055

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

pyload-ng fixed: 0.5.0b3.dev32
pip install pyload-ng>=0.5.0b3.dev32
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 pyload-ng

How to Check if You Are Affected

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

pip show pyload-ng

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

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

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-319: Cleartext Transmission of Sensitive Information, where the product transmits sensitive or security-critical data in cleartext in a communication channel that can be sniffed by unauthorized actors. In Pyload ng, 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

Sensitive Cookie in HTTPS Session Without 'Secure' Attribute in GitHub repository pyload/pyload prior to 0.5.0b3.dev32. The Secure attribute for sensitive cookies in HTTPS sessions is not set, which could cause the user agent to send those cookies in plaintext over an HTTP session. This issue is patched in version 0.5.0b3.dev32.

CVE-2023-0055 Affected Pyload ng Versions

1 component(s)
Fixed Versions:
0.5.0b3.dev32
Product / Package Ecosystem Affected Versions Fixed Version
pyload-ng
PyPI
< 0.5.0b3.dev32
0.5.0b3.dev32

References

Frequently Asked Questions

What is CVE-2023-0055?
CVE-2023-0055 is a security vulnerability in Pyload ng involving Pyload contains Sensitive Cookie in HTTPS Session Without 'Secure' Attribute under CWE-319: Cleartext Transmission of Sensitive Information.
Which Pyload ng versions are affected?
Affected versions include releases prior to 0.5.0b3.dev32 across affected packages: pyload-ng.
What version fixes CVE-2023-0055?
Upgrading to 0.5.0b3.dev32 (or the latest patched release for your respective branch) resolves the vulnerability.
Is pyload-ng affected?
Yes, pyload-ng is affected in releases prior to 0.5.0b3.dev32. Upgrade your dependency to 0.5.0b3.dev32 or later.
What is the CVSS score of CVE-2023-0055?
CVE-2023-0055 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-2023-0055?
CVE-2023-0055 is classified under CWE-319: Cleartext Transmission of Sensitive Information (The product transmits sensitive or security-critical data in cleartext in a communication channel that can be sniffed by unauthorized actors.).
How can I check PyPI dependencies for CVE-2023-0055?
Run the dependency tree command: 'pip show pyload-ng'. 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-m3g7-wrrq-v5c8",
  "modified" : "2023-01-11T20:55:00Z",
  "published" : "2023-01-05T00:30:17Z",
  "aliases" : [ "CVE-2023-0055" ],
  "summary" : "Pyload contains Sensitive Cookie in HTTPS Session Without 'Secure' Attribute",
  "details" : "Sensitive Cookie in HTTPS Session Without 'Secure' Attribute in GitHub repository pyload/pyload prior to 0.5.0b3.dev32. The Secure attribute for sensitive cookies in HTTPS sessions is not set, which could cause the user agent to send those cookies in plaintext over an HTTP session. This issue is patched in version 0.5.0b3.dev32.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "pyload-ng"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.5.0b3.dev32"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-0055"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pyload/pyload/commit/7b53b8d43c2c072b457dcd19c8a09bcfc3721703"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/pyload/pyload"
  }, {
    "type" : "WEB",
    "url" : "https://huntr.dev/bounties/ed88e240-99ff-48a1-bf32-8e1ef5f13cce"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-319", "CWE-614" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-01-06T23:11:58Z",
    "nvd_published_at" : "2023-01-04T22:15:00Z"
  }
}