Bug 1219386 (CVE-2023-5992)

Summary: VUL-0: CVE-2023-5992: opensc: Side-channel leaks while stripping encryption PKCS#1 padding
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: IN_PROGRESS --- QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: abergmann, martin.schreiner
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/392563/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-5992:4.4:(AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-01-31 08:29:41 UTC
The OpenSC code handling the PKCS#1 encryption padding removal is not implemented in side-channel resistant way, which can lead to possible leak to private key data.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-5992
https://bugzilla.redhat.com/show_bug.cgi?id=2248685
Comment 2 Otto Hollmann 2024-02-06 15:14:50 UTC
Fix for this issue can be found here https://github.com/OpenSC/OpenSC/pull/2948
I will backport it into our codestreams
Comment 3 Martin Schreiner 2024-02-20 17:34:30 UTC
I'm on it.
Comment 4 Martin Schreiner 2024-04-03 18:21:48 UTC
Fix for this is already present in 0.25.0, so Factory is ok. Will backport to SLE.
Comment 6 Maintenance Automation 2024-04-23 16:30:16 UTC
SUSE-SU-2024:1402-1: An update that solves one vulnerability can now be installed.

Category: security (moderate)
Bug References: 1219386
CVE References: CVE-2023-5992
Maintenance Incident: [SUSE:Maintenance:33418](https://smelt.suse.de/incident/33418/)
Sources used:
openSUSE Leap 15.4 (src):
 opensc-0.22.0-150400.3.9.1
openSUSE Leap Micro 5.3 (src):
 opensc-0.22.0-150400.3.9.1
openSUSE Leap Micro 5.4 (src):
 opensc-0.22.0-150400.3.9.1
openSUSE Leap 15.5 (src):
 opensc-0.22.0-150400.3.9.1
SUSE Linux Enterprise Micro for Rancher 5.3 (src):
 opensc-0.22.0-150400.3.9.1
SUSE Linux Enterprise Micro 5.3 (src):
 opensc-0.22.0-150400.3.9.1
SUSE Linux Enterprise Micro for Rancher 5.4 (src):
 opensc-0.22.0-150400.3.9.1
SUSE Linux Enterprise Micro 5.4 (src):
 opensc-0.22.0-150400.3.9.1
SUSE Linux Enterprise Micro 5.5 (src):
 opensc-0.22.0-150400.3.9.1
Basesystem Module 15-SP5 (src):
 opensc-0.22.0-150400.3.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-05-13 16:30:05 UTC
SUSE-SU-2024:1625-1: An update that solves one vulnerability can now be installed.

Category: security (moderate)
Bug References: 1219386
CVE References: CVE-2023-5992
Maintenance Incident: [SUSE:Maintenance:33796](https://smelt.suse.de/incident/33796/)
Sources used:
SUSE Linux Enterprise High Performance Computing 12 SP5 (src):
 opensc-0.13.0-3.28.1
SUSE Linux Enterprise Server 12 SP5 (src):
 opensc-0.13.0-3.28.1
SUSE Linux Enterprise Server for SAP Applications 12 SP5 (src):
 opensc-0.13.0-3.28.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 10 Martin Schreiner 2024-05-15 13:46:01 UTC
SLE-11 is out of support, so that request won't be submitted.

Only SLE-15:Update and SLE-15-SP1:Update are still to be released, but their SRs have already been submitted on IBS:

SLE-15-SP1
https://build.suse.de/request/show/329349

SLE-15
https://build.suse.de/request/show/329348

I'm reassigning this to the security team
Comment 11 Martin Schreiner 2024-05-15 13:49:33 UTC
Just an extra piece of info, regarding opensc no longer being supported on SLE-11,  you can double-check that using https://smelt.suse.de, just search for 'opensc', I'm unable to find a direct link.
Comment 12 Maintenance Automation 2024-05-24 12:30:03 UTC
SUSE-SU-2024:1773-1: An update that solves one vulnerability can now be installed.

Category: security (moderate)
Bug References: 1219386
CVE References: CVE-2023-5992
Maintenance Incident: [SUSE:Maintenance:33736](https://smelt.suse.de/incident/33736/)
Sources used:
SUSE Linux Enterprise Micro 5.1 (src):
 opensc-0.19.0-150100.3.28.1
SUSE Linux Enterprise Micro 5.2 (src):
 opensc-0.19.0-150100.3.28.1
SUSE Linux Enterprise Micro for Rancher 5.2 (src):
 opensc-0.19.0-150100.3.28.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.