Description
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".
Problem types
Improper Validation of Syntactic Correctness of Input
Credits
Shai Shnaider
References
security.snyk.io/...ANG-GITHUBCOMNYARUKAPHONENUMBERS-6084070
github.com/nyaruka/phonenumbers/issues/148
github.com/...ommit/0479e35488e8a002a261cdb515ef8a7f80ca37fe