Intel

AIKIDO-2025-10019

address-rfc2822 is vulnerable to Regular Expression Denial of Service (ReDoS)

Regular Expression Denial of Service (ReDoS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jan 14, 2025

51

Medium Risk

This Affects:

JSaddress-rfc2822
2.0.6 - 2.2.2
Fixed in 2.2.3
Are you affected? Scan for Free

TL;DR

Affected versions of this package are affected by Regular Expression Denial of Service (ReDoS) due to an insecure regex pattern that uses nested quantifiers, leading to catastrophic backtracking. It may allow an attacker to create inputs that force the regex engine to take excessive time to find a match, resulting in degraded performance or denial of service.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

address-rfc2822 is vulnerable to Regular Expression Denial of Service (ReDoS) in versions 2.0.6 - 2.2.2.

How to fix this

Upgrade the address-rfc2822 library to the patch version.