CVE-2024-41124: Puncia [PUNCIA] [CWE-319] Cleartext Transmission Of Vulnerability
LOWCVE-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
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).
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.
pip install puncia>=0.21
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
CVE-2024-41124 Affected Puncia Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
puncia
|
PyPI |
< 0.21
|
0.21
|
References
Frequently Asked Questions
What is CVE-2024-41124?
Which Puncia versions are affected?
What version fixes CVE-2024-41124?
Is puncia affected?
What is the CVSS score of CVE-2024-41124?
What CWE is associated with CVE-2024-41124?
How can I check PyPI dependencies for CVE-2024-41124?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}