Improper Authentication Affecting opensc package, versions <0:0.20.0-7.el8_9


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.07% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Authentication vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-OPENSC-5930940
  • published4 Oct 2023
  • disclosed25 Sept 2023

Introduced: 25 Sep 2023

CVE-2023-40660  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade RHEL:8 opensc to version 0:0.20.0-7.el8_9 or higher.
This issue was patched in RHSA-2023:7876.

NVD Description

Note: Versions mentioned in the description apply only to the upstream opensc package and not the opensc package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

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.

CVSS Scores

version 3.1