CVE-2021-41500 json
Incorrect Comparison in cvxopt
published 2021-12-17 4 y ago modified 2026-06-17 4 mo ago also GHSA-8rh6-h94m-vj54 , PYSEC-2021-870 , EUVD-2021-0049
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 68%
- public exploits
- 0
- none known
Summary
Incomplete string comparison vulnerability exits in cvxopt.org cvxop <= 1.2.6 in APIs (cvxopt.cholmod.diag, cvxopt.cholmod.getfactor, cvxopt.cholmod.solve, cvxopt.cholmod.spsolve), which allows attackers to conduct Denial of Service attacks by construct fake Capsule objects.
Patch / fix
- pypi cvxopt 1.2.7
- cvxopt Debian 14, Debian 13, Debian 12 1.2.7+dfsg-1
debian advisories DEBIAN-CVE-2021-41500
- github.com/cvxopt/cvxopt@d5a21cf commit
- github.com/cvxopt/cvxopt/issues/193 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-41500 updated cvss 7.5
python-cvxopt: string comparison vulnerability may lead to DoS
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.19% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/cvxopt/cvxopt/issues/193 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | cvxopt | <1.2.7 |
1.2.7 |
Classification
- Weakness
-
- CWE-697 Incorrect Comparison
References
-
github.com
/cvxopt/cvxopt/issues/193
web, exploit, issue-tracking, patch, third-party-advisory, report
-
github.com
/cvxopt/cvxopt/commit/d5a21cf1da62e4269176384b1ff62edac5579f94
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/CXTPM3DGVYTYQ54OFCMXZVWVOMR7JM2D/
vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-41500
advisory
-
github.com
/advisories/GHSA-8rh6-h94m-vj54
advisory
-
github.com
/cvxopt/cvxopt
package
-
github.com
/pypa/advisory-database/tree/main/vulns/cvxopt/PYSEC-2021-870.yaml
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/CXTPM3DGVYTYQ54OFCMXZVWVOMR7JM2D
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/CXTPM3DGVYTYQ54OFCMXZVWVOMR7JM2D/
web
Sources
- CVE List CVE-2021-41500
- GitHub Advisory GHSA-8rh6-h94m-vj54
- NVD CVE-2021-41500
- OSV PYSEC-2021-870
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.