Advisory

DEBIAN-CVE-2025-24032

Also known as: CVE-2025-24032

Summary

The record has no summary.

Details

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;.

Severity

Not rated by the source.

Dates

Published
2025-02-10 16:15 UTC
Modified
2026-09-01 20:05 UTC

Affected packages and fixes

pam-pkcs11

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 0.6.12-1+deb12u1 (ecosystem)

Fixed versions

0.6.12-1+deb12u1

Fix

  • Fixed version 0.6.12-1+deb12u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

pam-pkcs11

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 0.6.13-1 (ecosystem)

Fixed versions

0.6.13-1

Fix

  • Fixed version 0.6.13-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

pam-pkcs11

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 0.6.13-1 (ecosystem)

Fixed versions

0.6.13-1

Fix

  • Fixed version 0.6.13-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences