CVE-2024-35515: Sqlitedict Sqlitedict Insecure Deserialization Vulnerability Vulnerability
HIGHCVE-2024-35515 is a HIGH (CVSS 8.8) sqlitedict insecure deserialization vulnerability vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Sqlitedict libraries in the PyPI ecosystem. The issue involves sqlitedict insecure deserialization vulnerability. Remediation is available in the latest vendor maintenance releases.
CVE-2024-35515 at a Glance
Security Impact
CVSS: 8.8
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:R/S:U/C:H/I:H/A:H).
How to Fix CVE-2024-35515
To remediate this vulnerability, upgrade all affected Sqlitedict 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 sqlitedict>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show sqlitedict
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2024-35515, inspect your installed packages using pip:
pip show sqlitedict
Analyze the terminal output to locate any version of Sqlitedict 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 sqlitedict 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 Sqlitedict, 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-35515 Affected Sqlitedict Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
sqlitedict
|
PyPI |
≤ 2.1.0
|
|
References
Frequently Asked Questions
What is CVE-2024-35515?
Which Sqlitedict versions are affected?
What version fixes CVE-2024-35515?
Is sqlitedict affected?
What is the CVSS score of CVE-2024-35515?
What CWE is associated with CVE-2024-35515?
How can I check PyPI dependencies for CVE-2024-35515?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g4r7-86gm-pgqc",
"modified" : "2024-09-18T17:39:11Z",
"published" : "2024-09-18T15:30:52Z",
"aliases" : [ "CVE-2024-35515" ],
"summary" : "sqlitedict insecure deserialization vulnerability",
"details" : "Insecure deserialization in sqlitedict up to v2.1.0 allows attackers to execute arbitrary code.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "sqlitedict"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "2.1.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-35515"
}, {
"type" : "WEB",
"url" : "https://github.com/piskvorky/sqlitedict/issues/174"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/piskvorky/sqlitedict"
}, {
"type" : "WEB",
"url" : "https://github.com/piskvorky/sqlitedict?tab=readme-ov-file#serialization"
}, {
"type" : "WEB",
"url" : "https://wha13.github.io/2024/06/13/mfcve"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502", "CWE-94" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-09-18T17:39:11Z",
"nvd_published_at" : "2024-09-18T15:15:14Z"
}
}