spomky-labs/pki-framework is vulnerable to Uncontrolled Resource Consumption
53
Medium Risk
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.
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.
spomky-labs/pki-framework is vulnerable to Uncontrolled Resource Consumption in versions 0.0.1 - 1.6.1.
Upgrade the spomky-labs/pki-framework library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.