CVE-2019-7560: Pyboolector Boolector Use After Free Vulnerability
HIGHCVE-2019-7560 is a HIGH (CVSS 5.5) boolector use after free vulnerability (CWE-416: Use After Free) affecting Pyboolector libraries in the PyPI ecosystem. The issue involves boolector use after free. Remediation is available by upgrading affected packages to version 3.1.0.
CVE-2019-7560 at a Glance
Security Impact
CVSS: 5.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H).
How to Fix CVE-2019-7560
To remediate this vulnerability, upgrade all affected Pyboolector 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 pyboolector>=3.1.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show pyboolector
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2019-7560, inspect your installed packages using pip:
pip show pyboolector
Analyze the terminal output to locate any version of Pyboolector in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.1.0), your application is affected.
Note: The pip show pyboolector command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-416: Use After Free, where the product reuses or references memory after it has been freed. at some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer. In Pyboolector, 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-2019-7560 Affected Pyboolector Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
pyboolector
|
PyPI |
< 3.1.0
|
3.1.0
|
References
Frequently Asked Questions
What is CVE-2019-7560?
Which Pyboolector versions are affected?
What version fixes CVE-2019-7560?
Is pyboolector affected?
What is the CVSS score of CVE-2019-7560?
What CWE is associated with CVE-2019-7560?
How can I check PyPI dependencies for CVE-2019-7560?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g58x-799h-v9h6",
"modified" : "2024-11-26T18:15:06Z",
"published" : "2022-05-14T01:36:13Z",
"aliases" : [ "CVE-2019-7560" ],
"summary" : "Boolector use after free",
"details" : "In parser/btorsmt2.c in Boolector 3.0.0, opening a specially crafted input file leads to a use after free in get_failed_assumptions or btor_delete.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "pyboolector"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.1.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-7560"
}, {
"type" : "WEB",
"url" : "https://github.com/Boolector/boolector/issues/28"
}, {
"type" : "WEB",
"url" : "https://github.com/Boolector/boolector/issues/29"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/boolector/boolector"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/pyboolector/PYSEC-2019-252.yaml"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-416" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-11-22T20:25:10Z",
"nvd_published_at" : "2019-02-07T07:29:00Z"
}
}