CVE-2024-0960: Ai flow Ai-flow Deserialization Of Untrusted Data Vulnerability
MODERATECVE-2024-0960 is a MODERATE (CVSS 5.0) ai-flow deserialization of untrusted data vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Ai flow libraries in the PyPI ecosystem. The issue involves ai-flow deserialization of untrusted data vulnerability. Remediation is available in the latest vendor maintenance releases.
CVE-2024-0960 at a Glance
Security Impact
CVSS: 5.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L).
How to Fix CVE-2024-0960
To remediate this vulnerability, upgrade all affected Ai flow 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 ai-flow>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show ai-flow
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2024-0960, inspect your installed packages using pip:
pip show ai-flow
Analyze the terminal output to locate any version of Ai flow 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 ai-flow command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Ai flow, 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-0960 Affected Ai flow Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ai-flow
|
PyPI |
≤ 0.3.1
|
|
References
Frequently Asked Questions
What is CVE-2024-0960?
Which Ai flow versions are affected?
What version fixes CVE-2024-0960?
Is ai-flow affected?
What is the CVSS score of CVE-2024-0960?
What CWE is associated with CVE-2024-0960?
How can I check PyPI dependencies for CVE-2024-0960?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7mgg-3rq2-hff4",
"modified" : "2024-02-02T18:10:22Z",
"published" : "2024-01-27T12:30:25Z",
"aliases" : [ "CVE-2024-0960" ],
"summary" : "ai-flow Deserialization of Untrusted Data vulnerability",
"details" : "A vulnerability was found in flink-extended ai-flow 0.3.1. It has been declared as critical. Affected by this vulnerability is the function cloudpickle.loads of the file `\\ai_flow\\cli\\commands\\workflow_command.py`. The manipulation leads to deserialization. The attack can be launched remotely. The complexity of an attack is rather high. The exploitation appears to be difficult. The exploit has been disclosed to the public and may be used. The identifier VDB-252205 was assigned to this vulnerability.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "ai-flow"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.3.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-0960"
}, {
"type" : "WEB",
"url" : "https://github.com/bayuncao/vul-cve-8"
}, {
"type" : "WEB",
"url" : "https://github.com/bayuncao/vul-cve-8/blob/main/dataset.pkl"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/flink-extended/ai-flow"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?ctiid.252205"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?id.252205"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-02T18:10:22Z",
"nvd_published_at" : "2024-01-27T12:15:07Z"
}
}