CVE-2023-40660
Assigner: redhat
Published: 2023-11-06T16:58:42.939Z
State: PUBLISHED
title: Opensc: potential pin bypass when card tracks its own login state
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: 6.6
baseSeverity: MEDIUM
confidentialityImpact: HIGH
integrityImpact: HIGH
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
version: 3.1
format: CVSS
descriptions: value: A flaw was found in OpenSC packages that allow a potential PIN bypass. When a token/card is authenticated by one process, it can perform cryptographic operations in other processes when an empty zero-length pin is passed. This issue poses a security risk, particularly for OS logon/screen unlock and for small, permanently connected tokens to computers. Additionally, the token can internally track login status. This flaw allows an attacker to gain unauthorized access, carry out malicious actions, or compromise the system without the user's awareness.
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-287
description: Improper Authentication
type: CWE
x_redhatCweChain: CWE-287: Improper Authentication
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.
credits: value: Upstream acknowledges Deepanjan Pal (Oracle Corporation) as the original reporter.