CVE-2024-41951: PheonixAppAPI PheonixAppAPI Has Visible Encoding Maps Vulnerability
MODERATECVE-2024-41951 is a MODERATE (CVSS 4.4) pheonixappapi has visible encoding maps vulnerability (CWE-323: Reusing a Nonce, Key Pair in Encryption) affecting PheonixAppAPI libraries in the PyPI ecosystem. The issue involves pheonixappapi has visible encoding maps. Remediation is available by upgrading affected packages to version 0.2.5.
CVE-2024-41951 at a Glance
Security Impact
CVSS: 4.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N).
How to Fix CVE-2024-41951
To remediate this vulnerability, upgrade all affected PheonixAppAPI 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 PheonixAppAPI>=0.2.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show PheonixAppAPI
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2024-41951, inspect your installed packages using pip:
pip show PheonixAppAPI
Analyze the terminal output to locate any version of PheonixAppAPI in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.2.5), your application is affected.
Note: The pip show PheonixAppAPI command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-323: Reusing a Nonce, Key Pair in Encryption, where nonces should be used for the present occasion and only once. In PheonixAppAPI, 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-41951 Affected PheonixAppAPI Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
PheonixAppAPI
|
PyPI |
< 0.2.5
|
0.2.5
|
References
Frequently Asked Questions
What is CVE-2024-41951?
Which PheonixAppAPI versions are affected?
What version fixes CVE-2024-41951?
Is PheonixAppAPI affected?
What is the CVSS score of CVE-2024-41951?
What CWE is associated with CVE-2024-41951?
How can I check PyPI dependencies for CVE-2024-41951?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-258h-f687-4226",
"modified" : "2024-11-12T19:39:08Z",
"published" : "2024-07-31T21:04:28Z",
"aliases" : [ "CVE-2024-41951" ],
"summary" : "PheonixAppAPI has visible Encoding Maps",
"details" : "### Impact\nThis is a kind of moderate issue. The impact is not big for normal users but can be for users who want to secure their code/files/etc.\n\nThe issue is that the map of encoding/decoding languages are visible in code. \n\n### Patches\nThe Problem was patched in 0.2.5, so you should try to upgrade to the 0.2.5 version.\n\n### For 0.2.5 version users\nPlease run the post_install.py file inside the Scripts folder after downloading from pip.\n\n### Workarounds\nThere is a fix to this problem but it requires modifying the code. Modifying the code can lead to more issues.\n\n### References\nThere are currently no references to this problem.\n\n### NOTE: If you get a error regarding a function like -> get_key() or something like that, please re-run the file post_install.py inside Scripts folder\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "PheonixAppAPI"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.2.5"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/AkshuDev/PheonixAppAPI/security/advisories/GHSA-258h-f687-4226"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-41951"
}, {
"type" : "WEB",
"url" : "https://github.com/AkshuDev/PheonixAppAPI/commit/0937419e323f5ea9013d43dc1b82fef9d7e05044"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/AkshuDev/PheonixAppAPI"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-323" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-07-31T21:04:28Z",
"nvd_published_at" : "2024-07-31T20:15:06Z"
}
}