Bug 2248685 (CVE-2023-5992)

Summary: CVE-2023-5992 OpenSC: Side-channel leaks while stripping encryption PKCS#1 padding
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: gsuckevi, jjelen, security-response-team, vhanulik, zmiele
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: OpenSC 0.24.0 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in OpenSC where PKCS#1 encryption padding removal is not implemented as side-channel resistant. This issue may result in the potential leak of private data.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2248687    

Description Dhananjay Arunesh 2023-11-08 11:05:46 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.

Comment 8 errata-xmlrpc 2024-02-26 02:14:31 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:0966 https://access.redhat.com/errata/RHSA-2024:0966

Comment 9 errata-xmlrpc 2024-02-26 02:17:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:0967 https://access.redhat.com/errata/RHSA-2024:0967

Comment 10 Veronika Hanulíková 2024-03-07 09:17:59 UTC
Should there be for this CVE also clone for Fedora?

Comment 11 Zack Miele 2024-03-14 14:22:05 UTC
In reply to comment #10:
> Should there be for this CVE also clone for Fedora?

At the time this bz was made public the Fedora package had already been updated to a fixed version. I did not want to create any unneeded noise.

Comment 12 Jakub Jelen 2024-03-14 16:34:03 UTC
No, it was not. The fix landed only in 0.25.0 as described here:

https://github.com/OpenSC/OpenSC/wiki/CVE-2023-5992

The NIST pages were not updated with the latest information 

https://www.cve.org/CVERecord?id=CVE-2023-5992
https://nvd.nist.gov/vuln/detail/CVE-2023-5992

Can you take care of updating these?