3.5low
cgriego active_attr Regex boolean_typecaster.rb call denial of service
- Severity
- 3.5low CVSS:3.1 by VulDB
- Exploit likelihood
- 1.20% (higher than 69% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
- Also known as
- GHSA-4whf-rmx5-8frv
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
| Product or package | Versions | Reported by |
|---|---|---|
| cgriego active_attr | 0.15.0, 0.15.1, 0.15.2 | CVE List |
| active_attr (RubyGems) | before 0.15.4 | GitHub Advisory Database |
| active_attr_project active_attr | before 0.15.3 | NVD |
All scores
| VulDB | 3.5low CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| VulDB | 3.5low CVSS:3.0 | CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
What each source says
CVE List
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.
CVE List (de)
Es wurde eine Schwachstelle in cgriego active_attr bis 0.15.2 entdeckt. Sie wurde als problematisch eingestuft. Es geht dabei um die Funktion call der Datei lib/active_attr/typecasting/boolean_typecaster.rb der Komponente Regex Handler. Mit der Manipulation des Arguments value mit unbekannten Daten kann eine denial of service-Schwachstelle ausgenutzt werden. Der Exploit steht zur öffentlichen Verfügung. Ein Aktualisieren auf die Version 0.15.3 vermag dieses Problem zu lösen. Der Patch wird als dab95e5843b01525444b82bd7b336ef1d79377df bezeichnet. Als bestmögliche Massnahme wird das Einspielen eines Upgrades empfohlen.
GitHub Advisory Database
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.
NVD (es)
Una vulnerabilidad ha sido encontrada en cgriego active_attr hasta 0.15.2 y clasificada como problemática. Esto afecta a la llamada de función del archivo lib/active_attr/typecasting/boolean_typecaster.rb del componente Regex Handler. La manipulación del argumento value conduce a la Denegación de Servicio (DoS). La explotación ha sido divulgada al público y puede utilizarse. La actualización a la versión 0.15.3 puede solucionar este problema. El nombre del parche es dab95e5843b01525444b82bd7b336ef1d79377df. Se recomienda actualizar el componente afectado. El identificador asociado de esta vulnerabilidad es VDB-216207.
References
| https://vuldb.com/?id.216207 | technical-description, third-party-advisory, vdb-entry, 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, related, third-party-advisory, web | |
| https://github.com/cgriego/active_attr/commit/dab95e5843b01525444b82bd7b336ef1d79377df | mitigation, patch, third-party-advisory, web | |
| https://github.com/cgriego/active_attr/releases/tag/v0.15.3 | mitigation, release-notes, 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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-4250 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-4whf-rmx5-8frv changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-4250 changed 2026-06-17 | Public domain |