GHSA-xm4r-5rj9-2pg3: Gratient Gratient 0.5 Contains Credential Harvesting Vulnerability
HIGHGHSA-xm4r-5rj9-2pg3 is a HIGH (CVSS 7.5) gratient 0.5 contains credential harvesting vulnerability (General Security Weakness) affecting Gratient libraries in the PyPI ecosystem. The issue involves gratient 0.5 contains credential harvesting code. Remediation is available in the latest vendor maintenance releases.
GHSA-xm4r-5rj9-2pg3 at a Glance
Security Impact
CVSS: 7.5
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:H/I:N/A:N).
How to Fix GHSA-xm4r-5rj9-2pg3
To remediate this vulnerability, upgrade all affected Gratient 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 gratient>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show gratient
How to Check if You Are Affected
To determine whether your Python environment is affected by GHSA-xm4r-5rj9-2pg3, inspect your installed packages using pip:
pip show gratient
Analyze the terminal output to locate any version of Gratient in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The pip show gratient command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Gratient, 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
GHSA-xm4r-5rj9-2pg3 Affected Gratient Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
gratient
|
PyPI |
0.5
All 1 versions
0.5
|
None specified
|
References
Frequently Asked Questions
What is GHSA-xm4r-5rj9-2pg3?
Which Gratient versions are affected?
What version fixes GHSA-xm4r-5rj9-2pg3?
Is gratient affected?
What is the CVSS score of GHSA-xm4r-5rj9-2pg3?
What CWE is associated with GHSA-xm4r-5rj9-2pg3?
How can I check PyPI dependencies for GHSA-xm4r-5rj9-2pg3?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xm4r-5rj9-2pg3",
"modified" : "2024-08-30T23:37:05Z",
"published" : "2024-08-30T23:37:05Z",
"aliases" : [ ],
"summary" : "gratient 0.5 contains credential harvesting code",
"details" : "gratient is a user-facing library for generating color gradients of text.\nVersion 0.5 contained obfuscated, malicious code targeting\nWindows platforms, harvesting information and credentials from the\nuser's system and sending them to a remote server.\nServices may include Mullvad VPN and Telegram.\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "gratient"
},
"versions" : [ "0.5" ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/gratient/PYSEC-2024-1.yaml"
}, {
"type" : "WEB",
"url" : "https://inspector.pypi.io/project/gratient/0.5/packages/c5/c5/353e45fa57fa5f1b2b42fa24a029cdfb018d7263850fb43b6d6352157734/gratient-0.5-py3-none-any.whl/gratient/__init__.py#line.4"
}, {
"type" : "WEB",
"url" : "https://pypi.org/project/gratient"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-08-30T23:37:05Z",
"nvd_published_at" : null
}
}