Vulnerability · Published Dec 18, 2022 · Assigned by VulDB
CVE-2021-4250cgriego active_attr Regex boolean_typecaster.rb call denial of service
Low 3.5
In plain English
A low-severity security flaw in active_attr from cgriego. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| RubyGems | active_attr | 0.15.4 | GHSA-4whf-rmx5-8frv |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| cgriego | active_attr | 0.15.00.15.10.15.2 |
Weakness: CWE-404 · Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
References
- https://vuldb.com/?id.216207 technical-description, vdb-entry
- https://github.com/cgriego/active_attr/issues/184 exploit, issue-tracking
- https://github.com/cgriego/active_attr/pull/185 related
- https://github.com/cgriego/active_attr/commit/dab95e5843b01525444b82bd7b336ef1d79377df mitigation, patch
- https://github.com/cgriego/active_attr/releases/tag/v0.15.3 mitigation