regcomp.c in Perl before 5.30.3 allows a buffer overflow via a crafted regular expression because of recursive S_study_chunk calls. An application wr...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSperl |
< 5.18.2-2ubuntu1.7+esm3→ 5.18.2-2ubuntu1.7+esm3 |
5.18.2-2ubuntu1.7+esm3 |
| Ubuntu:16.04:LTSperl |
< 5.22.1-9ubuntu0.9→ 5.22.1-9ubuntu0.9 |
5.22.1-9ubuntu0.9 |
| Ubuntu:18.04:LTSperl |
< 5.26.1-6ubuntu0.5→ 5.26.1-6ubuntu0.5 |
5.26.1-6ubuntu0.5 |
| Ubuntu:20.04:LTSperl |
< 5.30.0-9ubuntu0.2→ 5.30.0-9ubuntu0.2 |
5.30.0-9ubuntu0.2 |
Original description The description as published by the source.
regcomp.c in Perl before 5.30.3 allows a buffer overflow via a crafted regular expression because of recursive S_study_chunk calls. An application written in Perl would only be vulnerable to this flaw if it evaluates regular expressions supplied by the attacker. Evaluating regular expressions in this fashion is known to be dangerous since the regular expression engine does not protect against denial of service attacks in this usage scenario.]
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- advisory ubuntu.com
- report ubuntu.com
- report metacpan.org
- report metacpan.org
- report cve.org