Opensc: side-channel leaks while stripping encryption pkcs#1 padding
Summary
| CVE | CVE-2023-5992 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-01-31 14:15:48 UTC |
| Updated | 2026-11-05 12:17:35 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 5.9 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Problem Types: CWE-203 | CWE-203 Observable Discrepancy
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 5.9 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| 3.1 | [email protected] | Secondary | 5.6 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| 3.1 | CNA | CVSS | 5.6 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
NoneCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Opensc Project | Opensc | All | All | All | All |
| Operating System | Redhat | Enterprise Linux | 7.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux | 8.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux | 9.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux Eus | 9.4 | All | All | All |
| Operating System | Redhat | Enterprise Linux For Arm 64 | 8.0_aarch64 | All | All | All |
| Operating System | Redhat | Enterprise Linux For Arm 64 | 9.0_aarch64 | All | All | All |
| Operating System | Redhat | Enterprise Linux For Arm 64 Eus | 9.4_aarch64 | All | All | All |
| Operating System | Redhat | Enterprise Linux For Ibm Z Systems | 8.0_s390x | All | All | All |
| Operating System | Redhat | Enterprise Linux For Ibm Z Systems | 9.0_s390x | All | All | All |
| Operating System | Redhat | Enterprise Linux For Ibm Z Systems Eus | 9.4_s390x | All | All | All |
| Operating System | Redhat | Enterprise Linux For Power Little Endian | 9.0_ppc64le | All | All | All |
| Operating System | Redhat | Enterprise Linux For Power Little Endian Eus | 9.4_ppc64le | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Aus | 9.4 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions | 9.2 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions | 9.4_ppc64le | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Red Hat | Red Hat Enterprise Linux 8 | unaffected 0:0.20.0-8.el8_9 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | unaffected 0:0.23.0-4.el9_3 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 7 | Not specified | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| lists.fedoraproject.org/archives/list/[email protected]/messag... | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| access.redhat.com/errata/RHSA-2024:0967 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| www.usenix.org/system/files/usenixsecurity24-shagam.pdf | [email protected] | www.usenix.org | Exploit, Technical Description |
| 2248685 – (CVE-2023-5992) CVE-2023-5992 OpenSC: Side-channel leaks while stripping encryption PKCS#1 padding | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | Issue Tracking |
| lists.fedoraproject.org/archives/list/[email protected]/messag... | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| lists.fedoraproject.org/archives/list/[email protected]/messag... | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| access.redhat.com/errata/RHSA-2024:0966 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| cve-details | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| lists.debian.org/debian-lts-announce/2024/12/msg00026.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| CVE 2023 5992 · OpenSC/OpenSC Wiki · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Vendor Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: This issue was discovered by Hubert Kario (Red Hat). (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2023-11-08T00:00:00.000Z | Reported to Red Hat. |
| CNA | 2023-11-28T00:00:00.000Z | Made public. |
Legacy QID Mappings
- 161378 Oracle Enterprise Linux Security Update for opensc (ELSA-2024-0966)
- 161382 Oracle Enterprise Linux Security Update for opensc (ELSA-2024-0967)
- 242974 Red Hat Update for opensc (RHSA-2024:0967)
- 242975 Red Hat Update for opensc (RHSA-2024:0966)
- 285362 Fedora Security Update for opensc (FEDORA-2024-6460a03e29)
- 285363 Fedora Security Update for opensc (FEDORA-2024-b92d44f141)
- 357370 Amazon Linux Security Advisory for opensc : ALAS2023-2024-580
- 379617 Alibaba Cloud Linux Security Update for opensc (ALINUX3-SA-2024:0026)
- 941590 AlmaLinux Security Update for opensc (ALSA-2024:0967)
- 941604 AlmaLinux Security Update for opensc (ALSA-2024:0966)