Cloudanix VulnDB

CVE-2024-45615

Low · 3.9

CVSS

3.9

EPSS

0.4%

Published

Sep 3, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in smart card software leaves some internal values unset, which could let someone with physical access cause small problems during card-based logins or crypto tasks.

Exploitation
Physical Access
Attacker needs
Physical Access
Complexity
High
Impact
Other
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Missing initialization of variables in OpenSC tools, PKCS#11 module, minidriver, and CTK leads to use of uninitialized memory as function arguments, enabling limited memory corruption under specific conditions.

Why it matters to the business

Organizations relying on smart card authentication or cryptographic operations face minor risk of disrupted or compromised card interactions only when an attacker has physical access and overcomes high complexity barriers; low prevalence reduces overall operational exposure.

How an attack unfolds

An attacker with physical access to a system using vulnerable OpenSC components crafts inputs that trigger uninitialized variable usage in PKCS#11 or minidriver functions, potentially reading or altering limited memory to affect smart card operations.

How to fix it

Upgrade opensc/opensc to commit fe857cc4c68da4873071f168c9aaf9860040ff4e or later; rebuild and redeploy all dependent tools, PKCS#11 modules, minidrivers, and CTK components.

How to confirm the fix worked

Verify the installed OpenSC version or source commit includes fe857cc4c68da4873071f168c9aaf9860040ff4e; run regression tests on PKCS#11 and minidriver initialization paths with static analysis for uninitialized variables.

Typical attack path

  1. Gain physical access to target hardware running OpenSC
  2. Identify use of vulnerable PKCS#11 or minidriver components
  3. Supply crafted smart card or token data to trigger uninitialized variable paths
  4. Leverage resulting memory state for limited read/write impact on cryptographic operations

How to detect it

Review system logs for unexpected PKCS#11 or minidriver errors involving uninitialized memory; examine process crashes or anomalous smart card session terminations post-physical access events.

What your security team should do

  • Prioritize upgrade of OpenSC packages to the fixed commit in all environments within standard change windows
  • Audit physical access controls around systems using smart cards to reduce attack surface
  • Monitor EPSS and exploit maturity; no immediate action required given low scores and KEV absence

The record

A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. The problem is missing initialization of variables expected to be initialized (as arguments to other functions, etc.).

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 opensc 0 No fix
Debian:11 opensc 0 0.21.0-1+deb11u1
Debian:12 opensc 0 No fix
Debian:13 opensc 0 No fix
Mageia:9 opensc 0 0.25.0-1.1.mga9
SUSE:Linux Enterprise Micro 5.1 opensc 0 0.19.0-150100.3.31.1
SUSE:Linux Enterprise Micro 5.2 opensc 0 0.19.0-150100.3.31.1
SUSE:Linux Enterprise Micro 5.3 opensc 0 0.22.0-150400.3.12.1
SUSE:Linux Enterprise Micro 5.4 opensc 0 0.22.0-150400.3.12.1
SUSE:Linux Enterprise Micro 5.5 opensc 0 0.22.0-150400.3.12.1
SUSE:Linux Enterprise Module for Basesystem 15 SP5 opensc 0 0.22.0-150400.3.12.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6 opensc 0 0.22.0-150600.11.3.1
SUSE:Linux Enterprise Server 12 SP5 opensc 0 0.13.0-3.31.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 opensc 0 0.13.0-3.31.1
Ubuntu:20.04:LTS opensc 0 No fix
Ubuntu:22.04:LTS opensc 0 No fix
Ubuntu:24.04:LTS opensc 0 No fix
Ubuntu:24.10 opensc 0 No fix
Ubuntu:Pro:16.04:LTS opensc 0 No fix
Ubuntu:Pro:18.04:LTS opensc 0 No fix
Ubuntu:Pro:20.04:LTS opensc 0 0.20.0-3ubuntu0.1~esm4
Ubuntu:Pro:22.04:LTS opensc 0 0.22.0-1ubuntu2+esm1
Ubuntu:Pro:24.04:LTS opensc 0 0.25.0~rc1-1ubuntu0.1~esm1
openSUSE:Leap 15.5 opensc 0 0.22.0-150400.3.12.1
openSUSE:Leap 15.6 opensc 0 0.22.0-150600.11.3.1
openSUSE:Leap Micro 5.5 opensc 0 0.22.0-150400.3.12.1
openSUSE:Tumbleweed opensc 0 0.25.1-2.1

Related vulnerabilities