{
  "document": {
    "aggregate_severity": {
      "text": "Medium"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "TuxCare License Agreement",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "publisher": {
      "category": "vendor",
      "contact_details": "https://tuxcare.com/contact/",
      "name": "TuxCare",
      "namespace": "https://tuxcare.com/"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.tuxcare.com/csaf/v2/els_os/almalinux9.2esu/vex/2023/cve-2023-40660-els_os-almalinux9_2esu.json"
      }
    ],
    "title": "Security update on CVE-2023-40660",
    "tracking": {
      "current_release_date": "2026-01-19T22:18:19Z",
      "generator": {
        "date": "2026-01-19T22:18:19Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CVE-2023-40660-ELS_OS-ALMALINUX9.2ESU",
      "initial_release_date": "2023-11-06T17:15:00Z",
      "revision_history": [
        {
          "date": "2023-11-06T17:15:00Z",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2025-10-30T08:47:41Z",
          "number": "2",
          "summary": "Official Publication"
        },
        {
          "date": "2025-11-29T10:46:20Z",
          "number": "3",
          "summary": "Update document"
        },
        {
          "date": "2025-12-23T19:08:30Z",
          "number": "4",
          "summary": "Update document"
        },
        {
          "date": "2026-01-19T22:18:19Z",
          "number": "5",
          "summary": "Update document"
        }
      ],
      "status": "final",
      "version": "5"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "AlmaLinux 9.2",
                "product": {
                  "name": "AlmaLinux 9.2",
                  "product_id": "AlmaLinux-9.2",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:almalinux:almalinux:9.2:*:*:*:*:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "AlmaLinux"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "opensc-0:0.22.0-2.el9.i686",
                "product": {
                  "name": "opensc-0:0.22.0-2.el9.i686",
                  "product_id": "opensc-0:0.22.0-2.el9.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/almalinux/opensc@0.22.0-2.el9?arch=i686"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "i686"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "opensc-0:0.22.0-2.el9.x86_64",
                "product": {
                  "name": "opensc-0:0.22.0-2.el9.x86_64",
                  "product_id": "opensc-0:0.22.0-2.el9.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/almalinux/opensc@0.22.0-2.el9?arch=x86_64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          }
        ],
        "category": "vendor",
        "name": "AlmaLinux OS Foundation"
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "opensc-0:0.22.0-2.el9.tuxcare.els1.i686",
                "product": {
                  "name": "opensc-0:0.22.0-2.el9.tuxcare.els1.i686",
                  "product_id": "opensc-0:0.22.0-2.el9.tuxcare.els1.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/opensc@0.22.0-2.el9.tuxcare.els1?arch=i686"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "i686"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "opensc-0:0.22.0-2.el9.tuxcare.els1.x86_64",
                "product": {
                  "name": "opensc-0:0.22.0-2.el9.tuxcare.els1.x86_64",
                  "product_id": "opensc-0:0.22.0-2.el9.tuxcare.els1.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/opensc@0.22.0-2.el9.tuxcare.els1?arch=x86_64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          }
        ],
        "category": "vendor",
        "name": "TuxCare"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "opensc-0:0.22.0-2.el9.tuxcare.els1.i686 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:opensc-0:0.22.0-2.el9.tuxcare.els1.i686"
        },
        "product_reference": "opensc-0:0.22.0-2.el9.tuxcare.els1.i686",
        "relates_to_product_reference": "AlmaLinux-9.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "opensc-0:0.22.0-2.el9.i686 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:opensc-0:0.22.0-2.el9.i686"
        },
        "product_reference": "opensc-0:0.22.0-2.el9.i686",
        "relates_to_product_reference": "AlmaLinux-9.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "opensc-0:0.22.0-2.el9.tuxcare.els1.x86_64 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:opensc-0:0.22.0-2.el9.tuxcare.els1.x86_64"
        },
        "product_reference": "opensc-0:0.22.0-2.el9.tuxcare.els1.x86_64",
        "relates_to_product_reference": "AlmaLinux-9.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "opensc-0:0.22.0-2.el9.x86_64 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:opensc-0:0.22.0-2.el9.x86_64"
        },
        "product_reference": "opensc-0:0.22.0-2.el9.x86_64",
        "relates_to_product_reference": "AlmaLinux-9.2"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2023-40660",
      "cwe": {
        "id": "CWE-287",
        "name": "Improper Authentication"
      },
      "notes": [
        {
          "category": "description",
          "text": "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.",
          "title": "Vulnerability description"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "known_affected": [
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9.i686",
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9.x86_64",
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9.tuxcare.els1.i686",
          "AlmaLinux-9.2:opensc-0:0.22.0-2.el9.tuxcare.els1.x86_64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els/cve/CVE-2023-40660"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2023:7876",
          "url": "https://access.redhat.com/errata/RHSA-2023:7876"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2023:7879",
          "url": "https://access.redhat.com/errata/RHSA-2023:7879"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/security/cve/CVE-2023-40660",
          "url": "https://access.redhat.com/security/cve/CVE-2023-40660"
        },
        {
          "category": "external",
          "summary": "https://bugzilla.redhat.com/show_bug.cgi?id=2240912",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2240912"
        },
        {
          "category": "external",
          "summary": "https://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651",
          "url": "https://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651"
        },
        {
          "category": "external",
          "summary": "https://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1",
          "url": "https://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1"
        },
        {
          "category": "external",
          "summary": "https://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisories",
          "url": "https://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisories"
        },
        {
          "category": "external",
          "summary": "http://www.openwall.com/lists/oss-security/2023/12/13/2",
          "url": "http://www.openwall.com/lists/oss-security/2023/12/13/2"
        },
        {
          "category": "external",
          "summary": "https://lists.debian.org/debian-lts-announce/2023/11/msg00024.html",
          "url": "https://lists.debian.org/debian-lts-announce/2023/11/msg00024.html"
        },
        {
          "category": "external",
          "summary": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3CPQOMCDWFRBMEFR5VK4N5MMXXU42ODE/",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3CPQOMCDWFRBMEFR5VK4N5MMXXU42ODE/"
        },
        {
          "category": "external",
          "summary": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GLYEFIBBA37TK3UNMZN5NOJ7IWCIXLQP/",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GLYEFIBBA37TK3UNMZN5NOJ7IWCIXLQP/"
        },
        {
          "category": "external",
          "summary": "https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html",
          "url": "https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html"
        }
      ],
      "release_date": "2023-11-06T17:15:00Z",
      "remediations": [
        {
          "category": "no_fix_planned",
          "details": "Ignored due to low severity",
          "product_ids": [
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9.i686",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9.x86_64",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9.tuxcare.els1.i686",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9.tuxcare.els1.x86_64"
          ]
        },
        {
          "category": "no_fix_planned",
          "details": "- This vulnerability only applies when OpenSC is used with a physically connected smart‑card token; cloud VMs and headless servers without a smart‑card reader or USB passthrough are not exposed.  \n- Exploitation requires physical presence, user interaction, and a token already authenticated in another process, and it further depends on an application accepting a zero‑length PIN—Linux logon via SSSD rejects empty PINs, preventing the OS logon/unlock bypass path.  \n- Given these stringent preconditions and the narrow hardware/software setup involved, this issue can be safely deprioritized in centrally managed enterprise VM/server environments.",
          "product_ids": [
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9.i686",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9.x86_64",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9.tuxcare.els1.i686",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9.tuxcare.els1.x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "PHYSICAL",
            "availabilityImpact": "HIGH",
            "baseScore": 6.6,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9.i686",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9.x86_64",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9.tuxcare.els1.i686",
            "AlmaLinux-9.2:opensc-0:0.22.0-2.el9.tuxcare.els1.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate"
        }
      ]
    }
  ]
}