PyPI: phone-gen

CVE-2024-21503

Safety vulnerability ID: SFTY-20240319-35347

Safety legacy ID: pyup.io-68048

Phone-gen version 2.4.4 addresses a security issue where the Black library was vulnerable to Regular Expression Denial of Service (ReDoS), as identified in CVE-2024-21503.

Created at: Jul 5, 2026Updated at: Jul 5, 2026

Overview

Phone-gen version 2.4.4 addresses a security issue where the Black library was vulnerable to Regular Expression Denial of Service (ReDoS), as identified in CVE-2024-21503.

Advisory

Phone-gen version 2.4.4 addresses a security issue where the Black library was vulnerable to Regular Expression Denial of Service (ReDoS), as identified in CVE-2024-21503.

Affected Package

Affecting phone-gen package, versions<2.4.4

Also affects

---

How to Fix

Upgradephone-gento2.4.4or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more