{"id":"CVE-2021-41186","published":"2021-10-29T13:40:10Z","modified":"2024-08-04T03:08:31Z","title":"ReDoS vulnerability in parser_apache2","vendor":"fluent","product":"fluentd","tier":"tail","description":{"text":"Fluentd collects events from various data sources and writes them to files to help unify logging infrastructure. The parser_apache2 plugin in Fluentd v0.14.14 to v1.14.1 suffers from a regular expression denial of service (ReDoS) vulnerability. A broken apache log with a certain pattern of string can spend too much time in a regular expression, resulting in the potential for a DoS attack. This issue is patched in version 1.14.2 There are two workarounds available. Either don't use parser_apache2 for parsing logs (which cannot guarantee generated by Apache), or put patched version of parser_apache2.rb into /etc/fluent/plugin directory (or any other directories specified by the environment variable `FLUENT_PLUGIN` or `--plugin` option of fluentd).","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02128,"percentile":0.82592,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/fluent/fluentd/security/advisories/GHSA-hwhf-64mh-r662","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/fluent/fluentd/blob/master/CHANGELOG.md#v1142","tags":["x_refsource_MISC"]},{"url":"https://github.com/github/securitylab-vulnerabilities/blob/52dc4a2a828c6dc24231967c2937ad92038184a9/vendor_reports/GHSL-2021-102-fluent-fluentd.md","tags":["x_refsource_MISC"]}],"priority":{"score":20.6,"factors":[{"name":"EPSS percentile","points":16.52},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"fluent","affectedVersions":[{"vendor":"fluent","product":"fluentd","versions":[">= 0.14.14, < 1.14.2"]}],"affected":[{"ecosystem":"RubyGems","package":"fluentd","vulnerableRanges":[">=0.14.14, <1.14.2"],"patched":["1.14.2"],"from":["GHSA-hwhf-64mh-r662"],"provenance":"source"}],"summary":{"text":"The parser_apache2 component of Fluentd, a log collection tool, contains a regular expression denial of service (ReDoS) flaw affecting versions from v0.14.14 through v1.14.1. An attacker who can send a malformed Apache log line with a specific string pattern over the network, with no authentication and no user interaction required, can cause the regex to consume excessive processing time, but the attack is only feasible under high-complexity conditions.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:14:47Z"},"euvd":{"id":"EUVD-2021-2358","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2017-10906","published":"2017-12-08","fixed":"0.12.41","kev":false},{"cve":"CVE-2021-41186","published":"2021-10-29","fixed":"1.14.2","kev":false},{"cve":"CVE-2022-39379","published":"2022-11-02","fixed":"1.15.3","kev":false,"link":{"from":"CVE-2021-41186","to":"CVE-2022-39379","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:fluentd","fromFixed":"1.14.2","toFixed":"1.15.3","daysApart":369}]}},{"cve":"CVE-2026-44024","published":"2026-07-08","fixed":"1.19.3","kev":false},{"cve":"CVE-2026-44025","published":"2026-07-08","fixed":"1.19.3","kev":false}],"package":"RubyGems:fluentd"}}