{"id":"CVE-2021-4250","published":"2022-12-18T00:00:00Z","modified":"2024-08-03T17:23:09Z","title":"cgriego active_attr Regex boolean_typecaster.rb call denial of service","vendor":"cgriego","product":"active_attr","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.5,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01204,"percentile":0.69047,"provenance":"source"},"cwes":[{"id":"CWE-404","name":"Improper Resource Shutdown or Release"}],"references":[{"url":"https://vuldb.com/?id.216207","tags":["technical-description","vdb-entry"]},{"url":"https://github.com/cgriego/active_attr/issues/184","tags":["exploit","issue-tracking"]},{"url":"https://github.com/cgriego/active_attr/pull/185","tags":["related"]},{"url":"https://github.com/cgriego/active_attr/commit/dab95e5843b01525444b82bd7b336ef1d79377df","tags":["mitigation","patch"]},{"url":"https://github.com/cgriego/active_attr/releases/tag/v0.15.3","tags":["mitigation"]}],"priority":{"score":21.3,"factors":[{"name":"EPSS percentile","points":13.81},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":2.45}]},"vendorSlug":"cgriego","affectedVersions":[{"vendor":"cgriego","product":"active_attr","versions":["0.15.0","0.15.1","0.15.2"]}],"affected":[{"ecosystem":"RubyGems","package":"active_attr","vulnerableRanges":["<0.15.4"],"patched":["0.15.4"],"from":["GHSA-4whf-rmx5-8frv"],"provenance":"source"}],"summary":{"text":"The cgriego active_attr library, up to version 0.15.2, contains a flaw in the call function of lib/active_attr/typecasting/boolean_typecaster.rb within its Regex Handler component, where manipulation of the supplied argument value can cause a denial of service. An attacker with low privileges who can reach the affected code path over an adjacent network, with no user interaction required, can trigger the denial of service, and no particular configuration is noted beyond that.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:40Z"},"euvd":{"id":"EUVD-2022-7508","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/cgriego/active_attr/issues/184"]}