ADVISORIES

GitHub Advisory Database

GHSA-fmjh-f678-cv3x

github.com/nyaruka/phonenumbers Vulnerable to Improper Validation of Syntactic Correctness of Input

Details

Versions of the package github.com/nyaruka/phonenumbers before 1.2.2 are vulnerable to Improper Validation of Syntactic Correctness of Input in the phonenumbers.Parse() function. An attacker can cause a panic by providing crafted input causing a "runtime error: slice bounds out of range".

Affected packages

EcosystemPackageAffected versions
Gogithub.com/nyaruka/phonenumbers
All versions before 1.2.2 (fixed in 1.2.2)

References