Dash: dash: super-polynomial backtracking in pmatch when libc fnmatch is disabled
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 6 | unknown | — |
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Dash | Dash |
|
Vendor Workaround
Rebuild dash with --enable-fnmatch so pathname matching uses libc fnmatch. Until then, do not run dash globs, case, or ${var#pat} / ${var%pat} against attacker-controlled names with multi-star patterns. There is no upstream backtracking bound in the internal matcher.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.102% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat rhel Els
|
|
| CPEs | cpe:/o:redhat:rhel_els:6 | |
| Vendors & Products |
Redhat enterprise Linux
|
Redhat rhel Els
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Dash
Dash dash |
|
| Vendors & Products |
Dash
Dash dash |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A flaw was found in dash. When built without libc fnmatch, the internal pmatch() matcher implements * by unbounded recursion over candidate positions. A local user who can plant filenames, or otherwise feed that matcher, can make a short multi-star pattern such as *.*.*.*.*.tar.gz consume excessive CPU. | |
| Title | Dash: dash: super-polynomial backtracking in pmatch when libc fnmatch is disabled | |
| First Time appeared |
Redhat
Redhat enterprise Linux |
|
| Weaknesses | CWE-1333 | |
| CPEs | cpe:/o:redhat:enterprise_linux:6 | |
| Vendors & Products |
Redhat
Redhat enterprise Linux |
|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|