Name | CVE-2023-50981 |
Description | ModularSquareRoot in Crypto++ (aka cryptopp) through 8.9.0 allows attackers to cause a denial of service (infinite loop) via crafted DER public-key data associated with squared odd numbers, such as the square of 268995137513890432434389773128616504853. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1059312 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libcrypto++ (PTS) | jessie, jessie (lts) | 5.6.1-6+deb8u3 | vulnerable |
| stretch | 5.6.4-7 | vulnerable |
| buster | 5.6.4-8 | vulnerable |
| bullseye | 8.4.0-1 | vulnerable |
| bookworm | 8.7.0+git220824-1 | vulnerable |
| sid, trixie | 8.9.0-1.1 | vulnerable |
The information below is based on the following data on fixed versions.
Notes
[bookworm] - libcrypto++ <postponed> (Minor issue, revisit when fixed upstream)
[bullseye] - libcrypto++ <no-dsa> (Minor issue)
[buster] - libcrypto++ <no-dsa> (Minor issue)
https://github.com/weidai11/cryptopp/issues/1249
[stretch] - libcrypto++ <no-dsa> (Minor issue)