Overview
The regcomp() function of GNU libc is susceptible to stack exhaustion which may result in a denial of service.
Description
It is possible to trigger deep recursion which results in stack exhaustion. An example trigger is: grep -E ".*{10,}{10,}{10,}{10,}{10,}" |
Impact
An attacker may be able to trigger a denial of service in applications that accept regular expressions. |
Solution
We are currently unaware of a practical solution to this problem. |
Vendor Information
CVSS Metrics
| Group | Score | Vector |
|---|---|---|
| Base | ||
| Temporal | ||
| Environmental |
References
Acknowledgements
Thanks to Maksymilian Arciemowicz for reporting this vulnerability.
This document was written by Jared Allar.
Other Information
| CVE IDs: | CVE-2010-4051, CVE-2010-4052 |
| Severity Metric: | 0.18 |
| Date Public: | 2010-12-07 |
| Date First Published: | 2010-12-07 |
| Date Last Updated: | 2010-12-08 20:06 UTC |
| Document Revision: | 13 |