CVE-2021-4250
HIGH 7.5CVSS 3.1active_attr Improper Resource Shutdown or Release vulnerability
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.
- Published
- 18 Dec 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Modified
- Weakness
- CWE-404
- Also known as
- GHSA-4whf-rmx5-8frv
- Sources
- NVDJSONOSV GHSA-4whf-rmx5-8frvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | LOW 3.5 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | active_attr_project | active_attrcpe:2.3:a:active_attr_project:active_attr:*:*:*:*:*:*:*:* |
< 0.15.3 | 0.15.3 |
| OSV | RubyGems | active_attr | < 0.15.4 | 0.15.4 |
References
- https://github.com/cgriego/active_attr/commit/dab95e5843b01525444b82bd7b336ef1d79377df · Patch, Third Party Advisory, WEB
- https://github.com/cgriego/active_attr/issues/184 · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB
- https://github.com/cgriego/active_attr/pull/185 · Patch, Third Party Advisory, WEB
- https://github.com/cgriego/active_attr/releases/tag/v0.15.3 · Release Notes, Third Party Advisory, WEB
- https://vuldb.com/?id.216207 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-4250 · ADVISORY
- https://github.com/cgriego/active_attr · PACKAGE
- https://github.com/cgriego/active_attr/releases/tag/v0.15.4 · WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/active_attr/CVE-2021-4250.yml · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 18 Dec 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Dec 2022)