USN-7363-1: PAM-PKCS#11 vulnerabilities

Publication date

20 March 2025

Overview

PAM-PKCS#11 could be used to bypass authentication.


Packages

  • pam-pkcs11 - Fully featured PAM module for using PKCS#11 smart cards

Details

Marcus Rückert and Matthias Gerstner discovered that PAM-PKCS#11 did not
properly handle certain return codes when authentication was not possible.
An attacker could possibly use this issue to bypass authentication. This
issue only affected Ubuntu 24.04 LTS and Ubuntu 24.10. (CVE-2025-24531)

It was discovered that PAM-PKCS#11 did not require a private key signature
for authentication by default. An attacker could possibly use this issue
to bypass authentication. (CVE-2025-24032)

Marcus Rückert and Matthias Gerstner discovered that PAM-PKCS#11 did not
properly handle certain return codes when authentication was not possible.
An attacker could possibly use this issue to bypass authentication. This
issue only affected Ubuntu 24.04 LTS and Ubuntu 24.10. (CVE-2025-24531)

It was discovered that PAM-PKCS#11 did not require a private key signature
for authentication by default. An attacker could possibly use this issue
to bypass authentication. (CVE-2025-24032)

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
24.10 oracular libpam-pkcs11 –  0.6.12-2ubuntu0.24.10.1
24.04 noble libpam-pkcs11 –  0.6.12-2ubuntu0.24.04.1
22.04 jammy libpam-pkcs11 –  0.6.11-4ubuntu0.1
20.04 focal libpam-pkcs11 –  0.6.11-2ubuntu0.1
18.04 bionic libpam-pkcs11 –  0.6.9-2ubuntu0.1~esm1  
16.04 xenial libpam-pkcs11 –  0.6.8-4ubuntu0.1~esm1  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›