LiveActive security incident?Get immediate response
CVE Record

CVE-2024-45620: Libopensc: incorrect handling of the length of buffers or files in pkcs15init

A vulnerability was found in the pkcs15-init tool in OpenSC. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. When buffers are partially filled with data, initialized parts of the buffer can be incorrectly accessed.

LowCVSS 3.9Not KEV-listedUpdated
Glexia's TakeAutomated analysislow

Security readout for executives and security teams

Plain-English summary

CVE-2024-45620 affects OpenSC's pkcs15-init tool. A malicious smart card or USB device could send crafted responses that cause incorrect buffer handling. Business impact appears limited because exploitation requires physical device interaction and high complexity, but environments using smart cards should still track vendor fixes.

Executive priority

Treat this as low urgency for most environments, but include it in normal patch management. Raise priority for teams that rely on smart-card enrollment, handle externally supplied tokens, or manage shared workstations where physical device exposure is realistic.

Technical view

The issue is in OpenSC pkcs15-init handling of APDU responses from smart cards or USB devices. When buffers are only partially filled, code may incorrectly access buffer contents. The CVSS 3.1 score is 3.9 with physical attack vector, high attack complexity, and low confidentiality, integrity, and availability impact.

Likely exposure

Exposure is most likely on systems with OpenSC/libopensc or the opensc package installed, especially where pkcs15-init is used for smart-card initialization or provisioning. Red Hat lists RHEL 7, 8, 9, and 10 as affected. The bundle does not provide precise affected versions.

Exploitation context

No active exploitation is supported by the provided sources, and the CVE is not listed as KEV. The described attacker needs a crafted smart card or USB device that can present malicious APDU responses, making opportunistic remote exploitation unlikely from the supplied evidence.

Researcher notes

Evidence names pkcs15-init and crafted APDU responses, but the bundle does not include exact affected upstream versions, commit details, or confirmed exploit availability. Red Hat lists multiple RHEL releases affected, and Debian LTS has an advisory reference. Avoid assuming broader OpenSC impact beyond the cited package/tool context.

Mitigation direction

  • Check Red Hat, Debian, and OpenSC guidance for fixed package versions.
  • Update opensc/libopensc packages through supported vendor channels when fixes are available.
  • Restrict use of untrusted smart cards or USB smart-card devices.
  • Review smart-card provisioning workflows that use pkcs15-init.

Validation and detection

  • Inventory hosts with OpenSC, libopensc, or opensc packages installed.
  • Identify whether pkcs15-init is used in provisioning or administrative workflows.
  • Check vendor advisories for package status against CVE-2024-45620.
  • Prioritize validation on systems accepting external smart cards or USB devices.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-120: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2024-45620 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Low
CVSS
3.9 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
5Timeline events
2ADP providers
4Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
3.9CVSS 3.1LowCVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L0.53.4redhat

Vulnerability scoring details

Base CVSS 3.1 score

3.9Low
CVSS 3.1 vector shape for CVE-2024-45620Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. Source timelineredhat

    Made public.

  2. Source timelineredhat

    Reported to Red Hat.

  3. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  4. CVE publishedCVE Program

    The CVE record was published.

  5. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
CVECVE Program Container

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Unknown vendorlibopensclibopenscaffected
Red HatRed Hat Enterprise Linux 10openscaffected
Red HatRed Hat Enterprise Linux 7openscaffected
Red HatRed Hat Enterprise Linux 8openscaffected
Red HatRed Hat Enterprise Linux 9openscaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-120 · source CWE mapping

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.