{
  "threat_severity" : "Moderate",
  "public_date" : "2023-09-25T00:00:00Z",
  "bugzilla" : {
    "description" : "OpenSC: multiple memory issues with pkcs15-init (enrollment tool)",
    "id" : "2240913",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2240913"
  },
  "cvss3" : {
    "cvss3_base_score" : "5.4",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-119",
  "details" : [ "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 \ncompromise key generation, certificate loading, and other card management operations during enrollment.", "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 \ncompromise key generation, certificate loading, and other card management operations during enrollment." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2023-12-19T00:00:00Z",
    "advisory" : "RHSA-2023:7876",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8",
    "package" : "opensc-0:0.20.0-7.el8_9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2023-12-19T00:00:00Z",
    "advisory" : "RHSA-2023:7879",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9",
    "package" : "opensc-0:0.23.0-3.el9_3"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Out of support scope",
    "package_name" : "opensc",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2023-40661\nhttps://nvd.nist.gov/vuln/detail/CVE-2023-40661\nhttps://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651\nhttps://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1\nhttps://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisories" ],
  "name" : "CVE-2023-40661",
  "csaw" : false
}