Intel

AIKIDO-2024-10039

holidays 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 Apr 22, 2024

50

Medium Risk

This Affects:

pythonholidays
0.1 - 0.44
Fixed in 0.45
Are you affected? Scan for Free

TL;DR

The affected versions use a regular expression with inefficient, potentially polynomial worst-case computational complexity, leading to excessive CPU consumption in scripts/generate_release_notes.py.

Who does this affect?

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

Background info

holidays is vulnerable to Regular Expression Denial of Service (ReDoS) in versions 0.1 - 0.44.

How to fix this

Upgrade the holidays 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