The table extension in GitHub Flavored Markdown before version 0.29.0.gfm.1 takes O(n * n) time to parse certain inputs. An attacker could craft a markdown table which would take an unreasonably long time to process, causing a denial of service. This issue does not affect the upstream cmark project. The issue has been fixed in version 0.29.0.gfm.1.
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Github_flavored_markdown | Github_flavored_markdown_project | * | 0.29.0.gfm.1 (excluding) |
Red Hat Enterprise Linux 8 | RedHat | pandoc-0:2.0.6-5.el8 | * |
Cmark-gfm | Ubuntu | esm-apps/focal | * |
Cmark-gfm | Ubuntu | focal | * |
Cmark-gfm | Ubuntu | groovy | * |
Cmark-gfm | Ubuntu | hirsute | * |
Cmark-gfm | Ubuntu | impish | * |
Cmark-gfm | Ubuntu | kinetic | * |
Cmark-gfm | Ubuntu | lunar | * |
Cmark-gfm | Ubuntu | mantic | * |
Cmark-gfm | Ubuntu | trusty | * |
Cmark-gfm | Ubuntu | upstream | * |
Haskell-cmark-gfm | Ubuntu | focal | * |
Haskell-cmark-gfm | Ubuntu | groovy | * |
Haskell-cmark-gfm | Ubuntu | hirsute | * |
Haskell-cmark-gfm | Ubuntu | impish | * |
Haskell-cmark-gfm | Ubuntu | kinetic | * |
Haskell-cmark-gfm | Ubuntu | lunar | * |
Haskell-cmark-gfm | Ubuntu | mantic | * |
Haskell-cmark-gfm | Ubuntu | oracular | * |
Haskell-cmark-gfm | Ubuntu | trusty | * |
Python-cmarkgfm | Ubuntu | focal | * |
Python-cmarkgfm | Ubuntu | groovy | * |
Python-cmarkgfm | Ubuntu | hirsute | * |
Python-cmarkgfm | Ubuntu | impish | * |
Python-cmarkgfm | Ubuntu | kinetic | * |
Python-cmarkgfm | Ubuntu | lunar | * |
Python-cmarkgfm | Ubuntu | mantic | * |
Python-cmarkgfm | Ubuntu | oracular | * |
Python-cmarkgfm | Ubuntu | trusty | * |
R-cran-commonmark | Ubuntu | focal | * |
R-cran-commonmark | Ubuntu | groovy | * |
R-cran-commonmark | Ubuntu | hirsute | * |
R-cran-commonmark | Ubuntu | impish | * |
R-cran-commonmark | Ubuntu | kinetic | * |
R-cran-commonmark | Ubuntu | lunar | * |
R-cran-commonmark | Ubuntu | mantic | * |
R-cran-commonmark | Ubuntu | oracular | * |
R-cran-commonmark | Ubuntu | trusty | * |
Ruby-commonmarker | Ubuntu | focal | * |
Ruby-commonmarker | Ubuntu | trusty | * |
Ruby-commonmarker | Ubuntu | upstream | * |
Input validation is a frequently-used technique for checking potentially dangerous inputs in order to ensure that the inputs are safe for processing within the code, or when communicating with other components. Input can consist of:
Data can be simple or structured. Structured data can be composed of many nested layers, composed of combinations of metadata and raw data, with other simple or structured data. Many properties of raw data or metadata may need to be validated upon entry into the code, such as:
Implied or derived properties of data must often be calculated or inferred by the code itself. Errors in deriving properties may be considered a contributing factor to improper input validation.