Intel

AIKIDO-2026-59173

spomky-labs/pki-framework is vulnerable to Improper Certificate Validation

Improper Certificate ValidationGHSA-85g4-f9rx-c6ww Published 5 days ago

74

High Risk

This Affects:

PHPspomky-labs/pki-framework
1.0.0 - 1.6.1
Fixed in 1.6.2
Are you affected? Scan for Free

TL;DR

ACValidator::verifyIssuer() checks an attribute certificate signature without the signature algorithm and RSA key size policy that the same configuration uses for certificates in a certification path. An attribute certificate signed with MD5, or issued by a 512-bit RSA authority, is accepted even when policy forbids those algorithms and key sizes during path validation, so attributes from a weak or forged attribute authority are trusted. The fix enforces the configured algorithm and key size policy on the attribute certificate signature.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you validate attribute certificates with a configured signature algorithm or key size policy.

Background info

spomky-labs/pki-framework is vulnerable to Improper Certificate Validation in versions 1.0.0 - 1.6.1.

How to fix this

Upgrade the spomky-labs/pki-framework library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform