Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. better_errors
  4. ›
  5. CVE-2021-39197

CVE-2021-39197: Cross-Site Request Forgery (CSRF)

September 7, 2021 (updated September 14, 2021)

better_errors is an open source replacement for the standard Rails error page with more information rich error pages. It is also usable outside of Rails in any Rack app as Rack middleware. better_errors did not implement CSRF protection for its internal requests.

References

  • nvd.nist.gov/vuln/detail/CVE-2021-39197

Code Behaviors & Features

Detect and mitigate CVE-2021-39197 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.8.0

Fixed versions

  • 2.8.0

Solution

Upgrade to version 2.8.0 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Source file

gem/better_errors/CVE-2021-39197.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:32 +0000.