Opensc: multiple memory issues with pkcs15-init (enrollment tool) (OpenSC)

CVE-2023-40661
MEDIUM 5.4

At a glance

Source
NVD
EPSS
EPSS 1.32 % · percentile 71 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Modified

Description

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.

Weaknesses (CWE)

  • CWE-119 — Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.4CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:Hredhat
CVSS 3.1MEDIUM 5.4CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:HNVD · secalert@redhat.com (Secondary)
CVSS 3.1MEDIUM 6.4CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

Affected configurations (NVD CPE)

Affected products

ProductVersions
OpenSCaffected 0 < 0.24.0
Red Hat · Red Hat Enterprise Linux 8unaffected 0:0.20.0-7.el8_9 < *
Red Hat · Red Hat Enterprise Linux 9unaffected 0:0.23.0-3.el9_3 < *
Red Hat · Red Hat Enterprise Linux 7

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD