{"answers":{"affected":"It affects 11 products.","exploited":"There is no known exploitation of CVE-2023-5992 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2023-5992 is a medium-severity vulnerability in Opensc Project Opensc, published on 31 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-5992 and fix it if it is affected.\n\nWhat it is: CVE-2023-5992 is a medium-severity vulnerability in Opensc Project Opensc, published on 31 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-5992 in the wild and no public exploit code.\n\nAffected product: Opensc Project Opensc. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-5992/ (Markdown: https://insights.sbomify.com/CVE-2023-5992/index.md)","id":"CVE-2023-5992","markdown":"https://insights.sbomify.com/CVE-2023-5992/index.md","name":"CVE-2023-5992","record":{"aliases":["ALSA-2024:0966","ALSA-2024:0967","AZL-34088","AZL-35077","BELL-CVE-2023-5992","DEBIAN-CVE-2023-5992","GHSA-554m-v42f-hcq9","MGASA-2024-0101","RHSA-2024:0966","RHSA-2024:0967","RLSA-2024:0966","RLSA-2024:0967","SUSE-SU-2024:1402-1","SUSE-SU-2024:1402-2","SUSE-SU-2024:1625-1","SUSE-SU-2024:1773-1","SUSE-SU-2025:02754-1","SUSE-SU-2025:20530-1","UBUNTU-CVE-2023-5992","openSUSE-SU-2024:13765-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenSC smart card library","requires_auth":"none","summary":"OpenSC fails to implement side-channel resistant PKCS#1 padding removal, potentially leaking private data to attackers.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"opensc","vendor":"opensc_project"},{"product":"enterprise_linux","vendor":"redhat"},{"product":"enterprise_linux_eus","vendor":"redhat"},{"product":"enterprise_linux_for_arm_64","vendor":"redhat"},{"product":"enterprise_linux_for_arm_64_eus","vendor":"redhat"},{"product":"enterprise_linux_for_ibm_z_systems","vendor":"redhat"},{"product":"enterprise_linux_for_ibm_z_systems_eus","vendor":"redhat"},{"product":"enterprise_linux_for_power_little_endian","vendor":"redhat"},{"product":"enterprise_linux_for_power_little_endian_eus","vendor":"redhat"},{"product":"enterprise_linux_server_aus","vendor":"redhat"},{"product":"enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions","vendor":"redhat"}],"cvss":{"score":5.6,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-203","name":"Observable Discrepancy"}],"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.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:9::baseos","Rocky Linux:8","Rocky Linux:9","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Basesystem 15 SP5","SUSE:Linux Enterprise Module for Basesystem 15 SP6","SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Micro 6.0","openSUSE:Leap 15.5","openSUSE:Leap 15.6","openSUSE:Leap Micro 5.3","openSUSE:Leap Micro 5.4"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Opensc: side-channel leaks while stripping encryption pkcs#1 padding","id":"CVE-2023-5992","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"opensc_project:opensc","products":["opensc_project:opensc","redhat:enterprise_linux","redhat:enterprise_linux_eus","redhat:enterprise_linux_for_ibm_z_systems","redhat:enterprise_linux_for_ibm_z_systems_eus","redhat:enterprise_linux_for_power_little_endian","redhat:enterprise_linux_for_power_little_endian_eus","redhat:enterprise_linux_server_aus","redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions"],"type":"information_disclosure","year":"2023"},"n_packages":26,"n_references":6,"next":{"headline":"Privilege Escalation in SafeNet Authentication Client Installer","id":"CVE-2023-5993"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["0.20.0-8.el8_9"],"introduced":["0"],"last_affected":[],"package":"opensc","purl":"pkg:rpm/almalinux/opensc","source":"ALSA-2024:0967"},{"ecosystem":"AlmaLinux:9","fixed":["0.23.0-4.el9_3"],"introduced":["0"],"last_affected":[],"package":"opensc","purl":"pkg:rpm/almalinux/opensc","source":"ALSA-2024:0966"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:0.20.0-8.el8_9"],"introduced":["0"],"last_affected":[],"package":"opensc","purl":"pkg:rpm/redhat/opensc","source":"RHSA-2024:0967"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:0.20.0-8.el8_9"],"introduced":["0"],"last_affected":[],"package":"opensc-debuginfo","purl":"pkg:rpm/redhat/opensc-debuginfo","source":"RHSA-2024:0967"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:0.20.0-8.el8_9"],"introduced":["0"],"last_affected":[],"package":"opensc-debugsource","purl":"pkg:rpm/redhat/opensc-debugsource","source":"RHSA-2024:0967"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:0.23.0-4.el9_3"],"introduced":["0"],"last_affected":[],"package":"opensc","purl":"pkg:rpm/redhat/opensc","source":"RHSA-2024:0966"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:0.23.0-4.el9_3"],"introduced":["0"],"last_affected":[],"package":"opensc-debuginfo","purl":"pkg:rpm/redhat/opensc-debuginfo","source":"RHSA-2024:0966"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:0.23.0-4.el9_3"],"introduced":["0"],"last_affected":[],"package":"opensc-debugsource","purl":"pkg:rpm/redhat/opensc-debugsource","source":"RHSA-2024:0966"},{"ecosystem":"Rocky Linux:8","fixed":["0:0.20.0-8.el8_9"],"introduced":["0"],"last_affected":[],"package":"opensc","purl":"pkg:rpm/rocky-linux/opensc?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2024:0967"},{"ecosystem":"Rocky Linux:9","fixed":["0:0.23.0-4.el9_3"],"introduced":["0"],"last_affected":[],"package":"opensc","purl":"pkg:rpm/rocky-linux/opensc?distro=rocky-linux-9\u0026epoch=0","source":"RLSA-2024:0966"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.1","fixed":["0.19.0-150100.3.28.1"],"introduced":["0"],"last_affected":[],"package":"opensc","purl":"pkg:rpm/suse/opensc\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.1","source":"SUSE-SU-2024:1773-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["0.19.0-150100.3.28.1"],"introduced":["0"],"last_affected":[],"package":"opensc","purl":"pkg:rpm/suse/opensc\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2024:1773-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["0.22.0-150400.3.9.1"],"introduced":["0"],"last_affected":[],"package":"opensc","purl":"pkg:rpm/suse/opensc\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2024:1402-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.4","fixed":["0.22.0-150400.3.9.1"],"introduced":["0"],"last_affected":[],"package":"opensc","purl":"pkg:rpm/suse/opensc\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.4","source":"SUSE-SU-2024:1402-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.5","fixed":["0.22.0-150400.3.9.1"],"introduced":["0"],"last_affected":[],"package":"opensc","purl":"pkg:rpm/suse/opensc\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.5","source":"SUSE-SU-2024:1402-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.5","fixed":["0.22.0-150400.3.9.1"],"introduced":["0"],"last_affected":[],"package":"opensc","purl":"pkg:rpm/suse/opensc\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.5","source":"SUSE-SU-2024:1402-2"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP5","fixed":["0.22.0-150400.3.9.1"],"introduced":["0"],"last_affected":[],"package":"opensc","purl":"pkg:rpm/suse/opensc\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP5","source":"SUSE-SU-2024:1402-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP6","fixed":["0.22.0-150600.11.6.1"],"introduced":["0"],"last_affected":[],"package":"opensc","purl":"pkg:rpm/suse/opensc\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6","source":"SUSE-SU-2025:02754-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","fixed":["0.22.0-150600.11.6.1"],"introduced":["0"],"last_affected":[],"package":"opensc","purl":"pkg:rpm/suse/opensc\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7","source":"SUSE-SU-2025:02754-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["0.13.0-3.28.1"],"introduced":["0"],"last_affected":[],"package":"opensc","purl":"pkg:rpm/suse/opensc\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2024:1625-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["0.13.0-3.28.1"],"introduced":["0"],"last_affected":[],"package":"opensc","purl":"pkg:rpm/suse/opensc\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2024:1625-1"},{"ecosystem":"SUSE:Linux Micro 6.0","fixed":["0.24.0-4.1"],"introduced":["0"],"last_affected":[],"package":"opensc","purl":"pkg:rpm/suse/opensc\u0026distro=SUSE%20Linux%20Micro%206.0","source":"SUSE-SU-2025:20530-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["0.22.0-150400.3.9.1"],"introduced":["0"],"last_affected":[],"package":"opensc","purl":"pkg:rpm/opensuse/opensc\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:1402-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["0.22.0-150600.11.6.1"],"introduced":["0"],"last_affected":[],"package":"opensc","purl":"pkg:rpm/opensuse/opensc\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:02754-1"},{"ecosystem":"openSUSE:Leap Micro 5.3","fixed":["0.22.0-150400.3.9.1"],"introduced":["0"],"last_affected":[],"package":"opensc","purl":"pkg:rpm/opensuse/opensc\u0026distro=openSUSE%20Leap%20Micro%205.3","source":"SUSE-SU-2024:1402-1"},{"ecosystem":"openSUSE:Leap Micro 5.4","fixed":["0.22.0-150400.3.9.1"],"introduced":["0"],"last_affected":[],"package":"opensc","purl":"pkg:rpm/opensuse/opensc\u0026distro=openSUSE%20Leap%20Micro%205.4","source":"SUSE-SU-2024:1402-1"}],"prev":{"headline":"Hotel Booking Lite \u003c 4.8.5 - Unauthenticated Arbitrary File Download \u0026 Deletion","id":"CVE-2023-5991"},"products":["Red Hat Enterprise Linux 7","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 9"],"published":"2024-01-31","related":[{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2021-34193","kev_date_added":null,"published":"2023-08-22"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2019-16058","kev_date_added":null,"published":"2019-09-06"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2019-6502","kev_date_added":null,"published":"2019-01-22"},{"cvss_score":7.1,"headline":"Memory corruption in OpenSC","id":"CVE-2023-2977","kev_date_added":null,"published":"2023-06-01"},{"cvss_score":6.8,"headline":"Use after free in n/a","id":"CVE-2019-20792","kev_date_added":null,"published":"2020-04-29"},{"cvss_score":6.8,"headline":"Memory corruption in n/a","id":"CVE-2018-16391","kev_date_added":null,"published":"2018-09-03"},{"cvss_score":6.8,"headline":"Memory corruption in n/a","id":"CVE-2018-16392","kev_date_added":null,"published":"2018-09-03"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-06","vendors":["Red Hat"]},"summary":"OpenSC fails to implement side-channel resistant PKCS#1 padding removal, potentially leaking private data to attackers.","url":"https://insights.sbomify.com/CVE-2023-5992/"}