Intel

AIKIDO-2026-722825

spomky-labs/pki-framework is vulnerable to Uncontrolled Resource Consumption

Uncontrolled Resource ConsumptionGHSA-rfxw-c9pp-xvfw Published 5 days ago

75

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

CertificationPathBuilder::assertPathCount() increments the path counter only when a produced path is appended, so recursive sub-calls that never reach a trust anchor process the whole subtree without hitting the MAX_PATHS bound. Mutually issuing intermediate certificates that chain to nothing enumerate every ordered sequence up to the maximum path length, and a few kilobytes of those certificates cost minutes of CPU during path building. The fix counts explored paths so the bound fires.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you build certification paths from peer supplied intermediate certificates.

Background info

spomky-labs/pki-framework is vulnerable to Uncontrolled Resource Consumption 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