{"document":{"aggregate_severity":{"namespace":"https://www.suse.com/support/security/rating/","text":"important"},"category":"csaf_security_advisory","csaf_version":"2.0","distribution":{"text":"Copyright 2024 SUSE LLC. All rights reserved.","tlp":{"label":"WHITE","url":"https://www.first.org/tlp/"}},"lang":"en","notes":[{"category":"summary","text":"Security update for pam_pkcs11","title":"Title of the patch"},{"category":"description","text":"This update for pam_pkcs11 fixes the following issues:\n\n- CVE-2025-24031: Fixed segmentation fault on ctrl-c/ctrl-d when asked for PIN (bsc#1237058).\n- CVE-2025-24032: Fixed authentication bypass with default value for `cert_policy` (`none`) (bsc#1237062).\n","title":"Description of the patch"},{"category":"details","text":"SUSE-SLE-Micro-6.0-293","title":"Patchnames"},{"category":"legal_disclaimer","text":"CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).","title":"Terms of use"}],"publisher":{"category":"vendor","contact_details":"https://www.suse.com/support/security/contact/","name":"SUSE Product Security Team","namespace":"https://www.suse.com/"},"references":[{"category":"external","summary":"SUSE ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"self","summary":"URL of this CSAF notice","url":"https://ftp.suse.com/pub/projects/security/csaf/suse-su-2025_20199-1.json"},{"category":"self","summary":"URL for SUSE-SU-2025:20199-1","url":"https://www.suse.com/support/update/announcement/2025/suse-su-202520199-1/"},{"category":"self","summary":"E-Mail link for SUSE-SU-2025:20199-1","url":"https://lists.suse.com/pipermail/sle-security-updates/2025-June/021140.html"},{"category":"self","summary":"SUSE Bug 1237058","url":"https://bugzilla.suse.com/1237058"},{"category":"self","summary":"SUSE Bug 1237062","url":"https://bugzilla.suse.com/1237062"},{"category":"self","summary":"SUSE CVE CVE-2025-24031 page","url":"https://www.suse.com/security/cve/CVE-2025-24031/"},{"category":"self","summary":"SUSE CVE CVE-2025-24032 page","url":"https://www.suse.com/security/cve/CVE-2025-24032/"}],"title":"Security update for pam_pkcs11","tracking":{"current_release_date":"2025-04-22T14:17:16Z","generator":{"date":"2025-04-22T14:17:16Z","engine":{"name":"cve-database.git:bin/generate-csaf.pl","version":"1"}},"id":"SUSE-SU-2025:20199-1","initial_release_date":"2025-04-22T14:17:16Z","revision_history":[{"date":"2025-04-22T14:17:16Z","number":"1","summary":"Current version"}],"status":"final","version":"1"}},"product_tree":{"branches":[{"branches":[{"branches":[{"category":"product_version","name":"pam_pkcs11-0.6.12-3.1.aarch64","product":{"name":"pam_pkcs11-0.6.12-3.1.aarch64","product_id":"pam_pkcs11-0.6.12-3.1.aarch64"}}],"category":"architecture","name":"aarch64"},{"branches":[{"category":"product_version","name":"pam_pkcs11-0.6.12-3.1.s390x","product":{"name":"pam_pkcs11-0.6.12-3.1.s390x","product_id":"pam_pkcs11-0.6.12-3.1.s390x"}}],"category":"architecture","name":"s390x"},{"branches":[{"category":"product_version","name":"pam_pkcs11-0.6.12-3.1.x86_64","product":{"name":"pam_pkcs11-0.6.12-3.1.x86_64","product_id":"pam_pkcs11-0.6.12-3.1.x86_64"}}],"category":"architecture","name":"x86_64"},{"branches":[{"category":"product_name","name":"SUSE Linux Micro 6.0","product":{"name":"SUSE Linux Micro 6.0","product_id":"SUSE Linux Micro 6.0","product_identification_helper":{"cpe":"cpe:/o:suse:sl-micro:6.0"}}}],"category":"product_family","name":"SUSE Linux Enterprise"}],"category":"vendor","name":"SUSE"}],"relationships":[{"category":"default_component_of","full_product_name":{"name":"pam_pkcs11-0.6.12-3.1.aarch64 as component of SUSE Linux Micro 6.0","product_id":"SUSE Linux Micro 6.0:pam_pkcs11-0.6.12-3.1.aarch64"},"product_reference":"pam_pkcs11-0.6.12-3.1.aarch64","relates_to_product_reference":"SUSE Linux Micro 6.0"},{"category":"default_component_of","full_product_name":{"name":"pam_pkcs11-0.6.12-3.1.s390x as component of SUSE Linux Micro 6.0","product_id":"SUSE Linux Micro 6.0:pam_pkcs11-0.6.12-3.1.s390x"},"product_reference":"pam_pkcs11-0.6.12-3.1.s390x","relates_to_product_reference":"SUSE Linux Micro 6.0"},{"category":"default_component_of","full_product_name":{"name":"pam_pkcs11-0.6.12-3.1.x86_64 as component of SUSE Linux Micro 6.0","product_id":"SUSE Linux Micro 6.0:pam_pkcs11-0.6.12-3.1.x86_64"},"product_reference":"pam_pkcs11-0.6.12-3.1.x86_64","relates_to_product_reference":"SUSE Linux Micro 6.0"}]},"vulnerabilities":[{"cve":"CVE-2025-24031","ids":[{"system_name":"SUSE CVE Page","text":"https://www.suse.com/security/cve/CVE-2025-24031"}],"notes":[{"category":"general","text":"PAM-PKCS#11 is a Linux-PAM login module that allows a X.509 certificate based user login. In versions 0.6.12 and prior, the pam_pkcs11 module segfaults when a user presses ctrl-c/ctrl-d when they are asked for a PIN. When a user enters no PIN at all, `pam_get_pwd` will never initialize the password buffer pointer and as such `cleanse` will try to dereference an uninitialized pointer. On my system this pointer happens to have the value 3 most of the time when running sudo and as such it will segfault. The most likely impact to a system affected by this issue is an availability impact due to a daemon that uses PAM crashing. As of time of publication, a patch for the issue is unavailable.","title":"CVE description"}],"product_status":{"recommended":["SUSE Linux Micro 6.0:pam_pkcs11-0.6.12-3.1.aarch64","SUSE Linux Micro 6.0:pam_pkcs11-0.6.12-3.1.s390x","SUSE Linux Micro 6.0:pam_pkcs11-0.6.12-3.1.x86_64"]},"references":[{"category":"external","summary":"CVE-2025-24031","url":"https://www.suse.com/security/cve/CVE-2025-24031"},{"category":"external","summary":"SUSE Bug 1237058 for CVE-2025-24031","url":"https://bugzilla.suse.com/1237058"}],"remediations":[{"category":"vendor_fix","details":"To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n","product_ids":["SUSE Linux Micro 6.0:pam_pkcs11-0.6.12-3.1.aarch64","SUSE Linux Micro 6.0:pam_pkcs11-0.6.12-3.1.s390x","SUSE Linux Micro 6.0:pam_pkcs11-0.6.12-3.1.x86_64"]}],"scores":[{"cvss_v3":{"baseScore":3.3,"baseSeverity":"LOW","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","version":"3.1"},"products":["SUSE Linux Micro 6.0:pam_pkcs11-0.6.12-3.1.aarch64","SUSE Linux Micro 6.0:pam_pkcs11-0.6.12-3.1.s390x","SUSE Linux Micro 6.0:pam_pkcs11-0.6.12-3.1.x86_64"]}],"threats":[{"category":"impact","date":"2025-04-22T14:17:16Z","details":"moderate"}],"title":"CVE-2025-24031"},{"cve":"CVE-2025-24032","ids":[{"system_name":"SUSE CVE Page","text":"https://www.suse.com/security/cve/CVE-2025-24032"}],"notes":[{"category":"general","text":"PAM-PKCS#11 is a Linux-PAM login module that allows a X.509 certificate based user login. Prior to version 0.6.13, if cert_policy is set to none (the default value), then pam_pkcs11 will only check if the user is capable of logging into the token. An attacker may create a different token with the user's public data (e.g. the user's certificate) and a PIN known to the attacker. If no signature with the private key is required, then the attacker may now login as user with that created token. The default to *not* check the private key's signature has been changed with commit commi6638576892b59a99389043c90a1e7dd4d783b921, so that all versions starting with pam_pkcs11-0.6.0 should be affected. As a workaround, in `pam_pkcs11.conf`, set at least `cert_policy = signature;`.","title":"CVE description"}],"product_status":{"recommended":["SUSE Linux Micro 6.0:pam_pkcs11-0.6.12-3.1.aarch64","SUSE Linux Micro 6.0:pam_pkcs11-0.6.12-3.1.s390x","SUSE Linux Micro 6.0:pam_pkcs11-0.6.12-3.1.x86_64"]},"references":[{"category":"external","summary":"CVE-2025-24032","url":"https://www.suse.com/security/cve/CVE-2025-24032"},{"category":"external","summary":"SUSE Bug 1237062 for CVE-2025-24032","url":"https://bugzilla.suse.com/1237062"}],"remediations":[{"category":"vendor_fix","details":"To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n","product_ids":["SUSE Linux Micro 6.0:pam_pkcs11-0.6.12-3.1.aarch64","SUSE Linux Micro 6.0:pam_pkcs11-0.6.12-3.1.s390x","SUSE Linux Micro 6.0:pam_pkcs11-0.6.12-3.1.x86_64"]}],"scores":[{"cvss_v3":{"baseScore":6.9,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L","version":"3.1"},"products":["SUSE Linux Micro 6.0:pam_pkcs11-0.6.12-3.1.aarch64","SUSE Linux Micro 6.0:pam_pkcs11-0.6.12-3.1.s390x","SUSE Linux Micro 6.0:pam_pkcs11-0.6.12-3.1.x86_64"]}],"threats":[{"category":"impact","date":"2025-04-22T14:17:16Z","details":"moderate"}],"title":"CVE-2025-24032"}]}