Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-BED545C6-BDB8-11ED-BCA8-A33124F1BEB1 (CVE-2022-31129): mantis -- multiple vulnerabilities

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

FreeBSD: VID-BED545C6-BDB8-11ED-BCA8-A33124F1BEB1 (CVE-2022-31129): mantis -- multiple vulnerabilities

Severity
5
CVSS
(AV:N/AC:L/Au:N/C:N/I:N/A:P)
Published
07/06/2022
Created
03/24/2023
Added
03/23/2023
Modified
03/23/2023

Description

moment is a JavaScript date library for parsing, validating, manipulating, and formatting dates. Affected versions of moment were found to use an inefficient parsing algorithm. Specifically using string-to-date parsing in moment (more specifically rfc2822 parsing, which is tried by default) has quadratic (N^2) complexity on specific inputs. Users may notice a noticeable slowdown is observed with inputs above 10k characters. Users who pass user-provided strings without sanity length checks to moment constructor are vulnerable to (Re)DoS attacks. The problem is patched in 2.29.4, the patch can be applied to all affected versions with minimal tweaking. Users are advised to upgrade. Users unable to upgrade should consider limiting date lengths accepted from user input.

Solution(s)

  • freebsd-upgrade-package-mantis-php74
  • freebsd-upgrade-package-mantis-php80
  • freebsd-upgrade-package-mantis-php81
  • freebsd-upgrade-package-mantis-php82

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;