Intel

AIKIDO-2026-868294

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

Uncontrolled Resource ConsumptionGHSA-894f-9q28-7w2x Published 5 days ago

53

Medium Risk

This Affects:

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

TL;DR

RDN::equals() compares multi valued relative distinguished names by encoding both operands to ASN.1 and parsing them again, because Set::sortedSetOf() re-encodes elements on every sort and does not cache the result. A subject with many attribute value pairs makes each comparison expensive, and name comparison runs repeatedly during path validation and bundle lookups. A large multi valued RDN costs a fraction of a second per comparison, amplified across an operation. The fix caches encodings so comparison no longer re-parses.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you compare or validate certificates whose subject contains multi valued relative distinguished names from an untrusted source.

Background info

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