CVE-2023-40661
Assigner: redhat
Published: 2023-11-06T16:58:43.029Z
State: PUBLISHED
title: Opensc: multiple memory issues with pkcs15-init (enrollment tool)
metrics: other: content: value: Moderate
namespace: https://access.redhat.com/security/updates/classification/
type: Red Hat severity rating
cvssV3_1: attackComplexity: LOW
attackVector: PHYSICAL
availabilityImpact: HIGH
baseScore: 5.4
baseSeverity: MEDIUM
confidentialityImpact: LOW
integrityImpact: LOW
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
version: 3.1
format: CVSS
descriptions: value: Several memory vulnerabilities were identified within the OpenSC packages, particularly in the card enrollment process using pkcs15-init when a user or administrator enrolls cards. To take advantage of these flaws, an attacker must have physical access to the computer system and employ a custom-crafted USB device or smart card to manipulate responses to APDUs. This manipulation can potentially allow 
compromise key generation, certificate loading, and other card management operations during enrollment.
affected: vendor: Red Hat
product: Red Hat Enterprise Linux 8
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: opensc
defaultStatus: affected
versions: version: 0:0.20.0-7.el8_9
lessThan: *
versionType: rpm
status: unaffected
cpes: cpe:/o:redhat:enterprise_linux:8::baseos
vendor: Red Hat
product: Red Hat Enterprise Linux 9
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: opensc
defaultStatus: affected
versions: version: 0:0.23.0-3.el9_3
lessThan: *
versionType: rpm
status: unaffected
cpes: cpe:/o:redhat:enterprise_linux:9::baseos
vendor: Red Hat
product: Red Hat Enterprise Linux 7
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: opensc
defaultStatus: unknown
cpes: cpe:/o:redhat:enterprise_linux:7
datePublic: 2023-09-25T00:00:00+00:00
problemTypes: descriptions: cweId: CWE-119
description: Improper Restriction of Operations within the Bounds of a Memory Buffer
type: CWE
x_redhatCweChain: CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
timeline: time: 2023-09-27T00:00:00+00:00
value: Reported to Red Hat.
time: 2023-09-25T00:00:00+00:00
value: Made public.