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

CVE-2021-4250: Improper Resource Shutdown or Release

December 19, 2022 (updated December 27, 2022)

A vulnerability classified as problematic has been found in cgriego active_attr up to 0.15.2. This affects the function call of the file lib/active_attr/typecasting/boolean_typecaster.rb of the component Regex Handler. The manipulation of the argument value leads to denial of service. The exploit has been disclosed to the public and may be used. Upgrading to version 0.15.3 is able to address this issue. The name of the patch is dab95e5843b01525444b82bd7b336ef1d79377df. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-216207.

References

  • github.com/advisories/GHSA-4whf-rmx5-8frv
  • github.com/cgriego/active_attr/commit/dab95e5843b01525444b82bd7b336ef1d79377df
  • github.com/cgriego/active_attr/issues/184
  • github.com/cgriego/active_attr/pull/185
  • github.com/cgriego/active_attr/releases/tag/v0.15.3
  • github.com/cgriego/active_attr/releases/tag/v0.15.4
  • nvd.nist.gov/vuln/detail/CVE-2021-4250
  • vuldb.com/?id.216207

Code Behaviors & Features

Detect and mitigate CVE-2021-4250 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 0.15.4

Fixed versions

  • 0.15.4

Solution

Upgrade to version 0.15.4 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-404: Improper Resource Shutdown or Release

Source file

gem/active_attr/CVE-2021-4250.yml

Spotted a mistake? Edit the file on GitLab.

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

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