Bug 1218219 (CVE-2023-50980)

Summary: VUL-0: CVE-2023-50980: libcryptopp: DoS via malformed DER public key file
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: NEW --- QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: andrea.mattiazzo, camila.matos, pgajdos, pmonrealgonzalez
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/388515/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-50980:5.3:(AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2023-12-19 14:45:31 UTC
gf2n.cpp in Crypto++ (aka cryptopp) through 8.9.0 allows attackers to cause a denial of service (application crash) via DER public-key data for an F(2^m) curve, if the degree of each term in the polynomial is not strictly decreasing.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-50980
https://github.com/weidai11/cryptopp/issues/1248

Patch:
https://github.com/weidai11/cryptopp/commit/eb383b8e1622c07da2d5d6599a8b0e17a0deee0f
Comment 2 Petr Gajdos 2023-12-21 13:50:12 UTC
Took also 641ae35258de397774744b8b17ef6632c3fa48b3
Comment 3 Petr Gajdos 2023-12-21 14:03:28 UTC
Submitted for 15sp4,15/libcryptopp.
Comment 4 Petr Gajdos 2023-12-21 14:20:39 UTC
Submit request into devel project:
https://build.opensuse.org/request/show/1134476
Comment 5 Petr Gajdos 2023-12-21 14:21:11 UTC
I believe all fixed.
Comment 7 Maintenance Automation 2023-12-21 20:30:05 UTC
SUSE-SU-2023:4957-1: An update that solves one vulnerability can now be installed.

Category: security (moderate)
Bug References: 1218219
CVE References: CVE-2023-50980
Sources used:
openSUSE Leap 15.4 (src): libcryptopp-5.6.5-150000.1.9.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 9 Maintenance Automation 2024-01-04 12:30:01 UTC
SUSE-SU-2024:0030-1: An update that solves one vulnerability can now be installed.

Category: security (moderate)
Bug References: 1218219
CVE References: CVE-2023-50980
Sources used:
openSUSE Leap 15.4 (src): libcryptopp-8.6.0-150400.3.3.1
openSUSE Leap 15.5 (src): libcryptopp-8.6.0-150400.3.3.1
Basesystem Module 15-SP5 (src): libcryptopp-8.6.0-150400.3.3.1
SUSE Linux Enterprise Real Time 15 SP4 (src): libcryptopp-8.6.0-150400.3.3.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 11 Petr Gajdos 2024-05-16 05:59:53 UTC
SUSE:SFFO:Main
https://build.suse.de/request/show/330342
SUSE:ALP:Source:Standard:1.0
https://build.suse.de/request/show/330340
Comment 12 Petr Gajdos 2024-05-22 10:26:59 UTC
(In reply to Petr Gajdos from comment #11)
> SUSE:ALP:Source:Standard:1.0
> https://build.suse.de/request/show/330340

Reopened.