CVE-2021-4250cgriego active_attr Regex boolean_typecaster.rb call denial of service
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.
What to do
Fixed builds are available from RubyGems: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| RubyGems library | active_attr | Fixed | 0.15.4 | GHSA-4whf-rmx5-8frv |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- cgriego active_attr: affected: 0.15.0, 0.15.1, 0.15.2
Vendor advisories:
- https://github.com/cgriego/active_attr/commit/dab95e5843b01525444b82bd7b336ef1d79377df (mitigation, patch)
- https://github.com/cgriego/active_attr/releases/tag/v0.15.3 (mitigation)
References
- https://vuldb.com/?id.216207
- https://github.com/cgriego/active_attr/issues/184
- https://github.com/cgriego/active_attr/pull/185
- https://github.com/cgriego/active_attr/commit/dab95e5843b01525444b82bd7b336ef1d79377df
- https://github.com/cgriego/active_attr/releases/tag/v0.15.3
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.