CVE-2024-41124: Puncia [PUNCIA] [CWE-319] Cleartext Transmission Of Vulnerability

LOW
Advisory Identifier: GHSA-rwcj-7jjp-4w38
CVSS 3.8
CWE-319 CWE-311
Published
Advisory Summary

CVE-2024-41124 is a LOW (CVSS 3.8) [puncia] [cwe-319] cleartext transmission of vulnerability (CWE-319: Cleartext Transmission of Sensitive Information) affecting Puncia libraries in the PyPI ecosystem. The issue involves [puncia] [cwe-319] cleartext transmission of sensitive information via http urls in `api_urls`. Remediation is available by upgrading affected packages to version 0.21.

CVE-2024-41124 at a Glance

CVE Identifier CVE-2024-41124
GHSA Identifier GHSA-rwcj-7jjp-4w38
Severity LOW
CVSS v3.1 Base Score 3.8
CWE Classification CWE-319: Cleartext Transmission of Sensitive Information
Affected Product Puncia
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 3.8

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

Attack Vector Adjacent (AV:A)
Attack Complexity High (AC:H)
Privileges Required High (PR:H)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix CVE-2024-41124

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

puncia fixed: 0.21
pip install puncia>=0.21
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 puncia

How to Check if You Are Affected

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

pip show puncia

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

Note: The pip show puncia 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 Puncia, 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 `API_URLS` is utilizing HTTP instead of HTTPS for communication that can lead to issues like Eavesdropping, Data Tampering, Unauthorized Data Access & MITM Attacks. ### References [ISSUE](https://github.com/ARPSyndicate/puncia/issues/8) [PATCH](https://github.com/ARPSyndicate/puncia/commit/033f3b68126eabbb2040ce16e2c3a2ce17437fbd#diff-3ec6c2de51e702726b23c452e3f4a899f6f4253af9fbf5be7254a5c1407ab526)

CVE-2024-41124 Affected Puncia Versions

1 component(s)
Fixed Versions:
0.21
Product / Package Ecosystem Affected Versions Fixed Version
puncia
PyPI
< 0.21
0.21

References

Frequently Asked Questions

What is CVE-2024-41124?
CVE-2024-41124 is a security vulnerability in Puncia involving [PUNCIA] [CWE-319] Cleartext Transmission of Sensitive Information via HTTP urls in `API_URLS` under CWE-319: Cleartext Transmission of Sensitive Information.
Which Puncia versions are affected?
Affected versions include releases prior to 0.21 across affected packages: puncia.
What version fixes CVE-2024-41124?
Upgrading to 0.21 (or the latest patched release for your respective branch) resolves the vulnerability.
Is puncia affected?
Yes, puncia is affected in releases prior to 0.21. Upgrade your dependency to 0.21 or later.
What is the CVSS score of CVE-2024-41124?
CVE-2024-41124 has a CVSS v3.1 base score of 3.8 (LOW) with vector string CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L.
What CWE is associated with CVE-2024-41124?
CVE-2024-41124 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-2024-41124?
Run the dependency tree command: 'pip show puncia'. 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-rwcj-7jjp-4w38",
  "modified" : "2024-07-22T13:18:35Z",
  "published" : "2024-07-19T19:59:14Z",
  "aliases" : [ "CVE-2024-41124" ],
  "summary" : "[PUNCIA] [CWE-319] Cleartext Transmission of Sensitive Information via HTTP urls in `API_URLS`",
  "details" : "### Impact\n`API_URLS` is utilizing HTTP instead of HTTPS for communication that can lead to issues like Eavesdropping, Data Tampering, Unauthorized Data Access & MITM Attacks.\n\n### References\n[ISSUE](https://github.com/ARPSyndicate/puncia/issues/8)\n[PATCH](https://github.com/ARPSyndicate/puncia/commit/033f3b68126eabbb2040ce16e2c3a2ce17437fbd#diff-3ec6c2de51e702726b23c452e3f4a899f6f4253af9fbf5be7254a5c1407ab526)\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "puncia"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.21"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ARPSyndicate/puncia/security/advisories/GHSA-rwcj-7jjp-4w38"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-41124"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ARPSyndicate/puncia/issues/8"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ARPSyndicate/puncia/commit/033f3b68126eabbb2040ce16e2c3a2ce17437fbd"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ARPSyndicate/puncia/commit/033f3b68126eabbb2040ce16e2c3a2ce17437fbd#diff-3ec6c2de51e702726b23c452e3f4a899f6f4253af9fbf5be7254a5c1407ab526"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ARPSyndicate/puncia"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-311", "CWE-319" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-07-19T19:59:14Z",
    "nvd_published_at" : "2024-07-19T20:15:08Z"
  }
}