Loading...
Skip to main content

CVE-2021-4250 — Vulnerability in active_attr — CVE Details

HIGH

active_attr Improper Resource Shutdown or Release vulnerability

Published December 19, 2022Updated November 8, 2023Source: osv

Summary

A vulnerability classified as problematic has been found in cgriego active_attr up to 0.15.3. 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.4 can 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.

Advisory Timeline

  • First published December 19, 2022 (1394 days ago).
  • Last revised November 8, 2023 — 324 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update active_attr to 0.15.4 or later
gem install active_attr -v 0.15.4

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: rubygems (1).

PackageEcosystemAffectedFixed In
active_attr
rubygems
0.1.0, 0.10.0, 0.10.1, 0.10.2 (+29 more)0.15.4

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

Frequently Asked Questions

What is CVE-2021-4250?
active_attr Improper Resource Shutdown or Release vulnerability This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2021-4250?
CVE-2021-4250 affects active_attr. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2021-4250 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-4whf-rmx5-8frv

Related CVEs

  • CVE-2026-94462
    HIGH

    Spree: Broken Access Control in `PATCH /api/v3/store/carts/:id/associate` (IDOR)

  • CVE-2026-77601
    HIGH

    OpenC3 COSMOS: Authenticated OS command injection via the `pypi_url` setting

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies