Security Resilience

CVE-2023-4535

Memory Safety in Opensc Project Opensc 0.23.0

Published
06 November 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 4.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L
EPSS Score 0.0052 43th percentile
Risk Priority 35 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-4535 is a medium-severity Out-of-bounds Read (CWE-125) vulnerability in Opensc Project Opensc. Its CVSS base score is 4.5 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Data Obfuscation (T1001); ranked at the 43th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

EU & UK References

Vulnerability Data

An out-of-bounds read vulnerability was found in OpenSC packages within the MyEID driver when handling symmetric key encryption. Exploiting this flaw requires an attacker to have physical access to the computer and a specially crafted USB device or smart card.…

more

This flaw allows the attacker to manipulate APDU responses and potentially gain unauthorized access to sensitive data, compromising the system's security.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1001 Data Obfuscation Command And Control
Adversaries may obfuscate command and control traffic to make it more difficult to detect.
T1001.002 Steganography Command And Control
Adversaries may use steganographic techniques to hide command and control traffic to make detection efforts more difficult.
T1003.002 Security Account Manager Credential Access
Adversaries may attempt to extract credential material from the Security Account Manager (SAM) database either through in-memory techniques or through the Windows Registry where the SAM database is stored.
T1003.003 NTDS Credential Access
Adversaries may attempt to access or create a copy of the Active Directory domain database in order to steal credential information, as well as obtain other information about domain members such as devices, users, and access rights.
T1003.004 LSA Secrets Credential Access
Adversaries with SYSTEM access to a host may attempt to access Local Security Authority (LSA) secrets, which can contain a variety of different credential materials, such as credentials for service accounts.
T1003.006 DCSync Credential Access
Adversaries may attempt to access credentials and other sensitive information by abusing a Windows Domain Controller's application programming interface (API)(Citation: Microsoft DRSR Dec 2017) (Citation: Microsoft GetNCCChanges) (Citati…
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-40549Same product: Fedoraproject Fedora
CVE-2023-40551Same product: Fedoraproject Fedora
CVE-2023-40550Same product: Fedoraproject Fedora
CVE-2023-2977Same product: Opensc Project Opensc
CVE-2023-39192Same product: Fedoraproject Fedora
CVE-2023-4156Same product: Fedoraproject Fedora
CVE-2023-43789Same product: Fedoraproject Fedora
CVE-2023-39194Same product: Fedoraproject Fedora
CVE-2023-39189Same product: Fedoraproject Fedora
CVE-2023-39193Same product: Fedoraproject Fedora

Affected Assets

opensc project
opensc
0.23.0
fedoraproject
fedora
38, 39
redhat
enterprise linux
9.0

Mitigating Controls

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

ID.RA-01 partial match
blocks

Vulnerability scanning and recording can discover instances of out-of-bounds reads after code is deployed.

PR.PS-02 partial match
blocks

Routine patching replaces vulnerable code containing out-of-bounds read flaws.

PR.PS-06 partial match
blocks

Secure-development practices such as bounds checking and memory-safe languages directly prevent out-of-bounds reads.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

removes
removes
removes
removes
removes

References