CVE-2021-22880
CVSS V2 Medium 5
CVSS V3 High 7.5
Description
The PostgreSQL adapter in Active Record before 6.1.2.1, 6.0.3.5, 5.2.4.5 suffers from a regular expression denial of service (REDoS) vulnerability. Carefully crafted input can cause the input validation in the `money` type of the PostgreSQL adapter in Active Record to spend too much time in a regular expression, resulting in the potential for a DoS attack. This only impacts Rails applications that are using PostgreSQL along with money type columns that take user input.
Overview
- CVE ID
- CVE-2021-22880
- Assigner
- support@hackerone.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-02-11T18:15:17
- Last Modified Date
- 2022-01-04T16:38:08
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* | 1 | OR | 4.2.0 | 5.2.4.5 |
cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* | 1 | OR | 6.0.0 | 6.0.3.5 |
cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* | 1 | OR | 6.1.0 | 6.1.2.1 |
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:N/I:N/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- NONE
- Availability Impact
- PARTIAL
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- HIGH
- Base Score
- 7.5
- Base Severity
- HIGH
- Exploitability Score
- 3.9
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://hackerone.com/reports/1023899 | Exploit Patch Third Party Advisory |
https://discuss.rubyonrails.org/t/cve-2021-22880-possible-dos-vulnerability-in-active-record-postgresql-adapter/77129 | Mitigation Patch Vendor Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XQ3NS4IBYE2I3MVMGAHFZBZBIZGHXHT3/ | Mailing List Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MO5OJ3F4ZL3UXVLJO6ECANRVZBNRS2IH/ | Mailing List Third Party Advisory |
https://www.debian.org/security/2021/dsa-4929 | Third Party Advisory |
https://security.netapp.com/advisory/ntap-20210805-0009/ | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-22880 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-22880 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:39:11 | Added to TrackCVE | |||
2022-12-05 21:57:10 | cve-assignments@hackerone.com | support@hackerone.com | CVE Assigner | updated |
2022-12-05 21:57:10 | 2021-02-11T18:15Z | 2021-02-11T18:15:17 | CVE Published Date | updated |
2022-12-05 21:57:10 | 2022-01-04T16:38:08 | CVE Modified Date | updated | |
2022-12-05 21:57:10 | Analyzed | Vulnerability Status | updated |