243 lines
11 KiB
JSON
243 lines
11 KiB
JSON
{
|
|
"containers": {
|
|
"cna": {
|
|
"affected": [
|
|
{
|
|
"product": "https://github.com/rails/rails",
|
|
"vendor": "n/a",
|
|
"versions": [
|
|
{
|
|
"status": "affected",
|
|
"version": "Fixed in 6.1.2.1, 6.0.3.5, 5.2.4.5"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"descriptions": [
|
|
{
|
|
"lang": "en",
|
|
"value": "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."
|
|
}
|
|
],
|
|
"problemTypes": [
|
|
{
|
|
"descriptions": [
|
|
{
|
|
"cweId": "CWE-400",
|
|
"description": "Denial of Service (CWE-400)",
|
|
"lang": "en",
|
|
"type": "CWE"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"providerMetadata": {
|
|
"dateUpdated": "2021-08-05T11:07:11.000Z",
|
|
"orgId": "36234546-b8fa-4601-9d6f-f4e334aa8ea1",
|
|
"shortName": "hackerone"
|
|
},
|
|
"references": [
|
|
{
|
|
"tags": [
|
|
"x_refsource_MISC"
|
|
],
|
|
"url": "https://hackerone.com/reports/1023899"
|
|
},
|
|
{
|
|
"tags": [
|
|
"x_refsource_MISC"
|
|
],
|
|
"url": "https://discuss.rubyonrails.org/t/cve-2021-22880-possible-dos-vulnerability-in-active-record-postgresql-adapter/77129"
|
|
},
|
|
{
|
|
"name": "FEDORA-2021-b571fca1b8",
|
|
"tags": [
|
|
"vendor-advisory",
|
|
"x_refsource_FEDORA"
|
|
],
|
|
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XQ3NS4IBYE2I3MVMGAHFZBZBIZGHXHT3/"
|
|
},
|
|
{
|
|
"name": "FEDORA-2021-def0e32233",
|
|
"tags": [
|
|
"vendor-advisory",
|
|
"x_refsource_FEDORA"
|
|
],
|
|
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MO5OJ3F4ZL3UXVLJO6ECANRVZBNRS2IH/"
|
|
},
|
|
{
|
|
"name": "DSA-4929",
|
|
"tags": [
|
|
"vendor-advisory",
|
|
"x_refsource_DEBIAN"
|
|
],
|
|
"url": "https://www.debian.org/security/2021/dsa-4929"
|
|
},
|
|
{
|
|
"tags": [
|
|
"x_refsource_CONFIRM"
|
|
],
|
|
"url": "https://security.netapp.com/advisory/ntap-20210805-0009/"
|
|
}
|
|
],
|
|
"x_legacyV4Record": {
|
|
"CVE_data_meta": {
|
|
"ASSIGNER": "support@hackerone.com",
|
|
"ID": "CVE-2021-22880",
|
|
"STATE": "PUBLIC"
|
|
},
|
|
"affects": {
|
|
"vendor": {
|
|
"vendor_data": [
|
|
{
|
|
"product": {
|
|
"product_data": [
|
|
{
|
|
"product_name": "https://github.com/rails/rails",
|
|
"version": {
|
|
"version_data": [
|
|
{
|
|
"version_value": "Fixed in 6.1.2.1, 6.0.3.5, 5.2.4.5"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"vendor_name": "n/a"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"data_format": "MITRE",
|
|
"data_type": "CVE",
|
|
"data_version": "4.0",
|
|
"description": {
|
|
"description_data": [
|
|
{
|
|
"lang": "eng",
|
|
"value": "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."
|
|
}
|
|
]
|
|
},
|
|
"problemtype": {
|
|
"problemtype_data": [
|
|
{
|
|
"description": [
|
|
{
|
|
"lang": "eng",
|
|
"value": "Denial of Service (CWE-400)"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"references": {
|
|
"reference_data": [
|
|
{
|
|
"name": "https://hackerone.com/reports/1023899",
|
|
"refsource": "MISC",
|
|
"url": "https://hackerone.com/reports/1023899"
|
|
},
|
|
{
|
|
"name": "https://discuss.rubyonrails.org/t/cve-2021-22880-possible-dos-vulnerability-in-active-record-postgresql-adapter/77129",
|
|
"refsource": "MISC",
|
|
"url": "https://discuss.rubyonrails.org/t/cve-2021-22880-possible-dos-vulnerability-in-active-record-postgresql-adapter/77129"
|
|
},
|
|
{
|
|
"name": "FEDORA-2021-b571fca1b8",
|
|
"refsource": "FEDORA",
|
|
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XQ3NS4IBYE2I3MVMGAHFZBZBIZGHXHT3/"
|
|
},
|
|
{
|
|
"name": "FEDORA-2021-def0e32233",
|
|
"refsource": "FEDORA",
|
|
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MO5OJ3F4ZL3UXVLJO6ECANRVZBNRS2IH/"
|
|
},
|
|
{
|
|
"name": "DSA-4929",
|
|
"refsource": "DEBIAN",
|
|
"url": "https://www.debian.org/security/2021/dsa-4929"
|
|
},
|
|
{
|
|
"name": "https://security.netapp.com/advisory/ntap-20210805-0009/",
|
|
"refsource": "CONFIRM",
|
|
"url": "https://security.netapp.com/advisory/ntap-20210805-0009/"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"adp": [
|
|
{
|
|
"providerMetadata": {
|
|
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
|
|
"shortName": "CVE",
|
|
"dateUpdated": "2024-08-03T18:58:24.778Z"
|
|
},
|
|
"title": "CVE Program Container",
|
|
"references": [
|
|
{
|
|
"tags": [
|
|
"x_refsource_MISC",
|
|
"x_transferred"
|
|
],
|
|
"url": "https://hackerone.com/reports/1023899"
|
|
},
|
|
{
|
|
"tags": [
|
|
"x_refsource_MISC",
|
|
"x_transferred"
|
|
],
|
|
"url": "https://discuss.rubyonrails.org/t/cve-2021-22880-possible-dos-vulnerability-in-active-record-postgresql-adapter/77129"
|
|
},
|
|
{
|
|
"name": "FEDORA-2021-b571fca1b8",
|
|
"tags": [
|
|
"vendor-advisory",
|
|
"x_refsource_FEDORA",
|
|
"x_transferred"
|
|
],
|
|
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XQ3NS4IBYE2I3MVMGAHFZBZBIZGHXHT3/"
|
|
},
|
|
{
|
|
"name": "FEDORA-2021-def0e32233",
|
|
"tags": [
|
|
"vendor-advisory",
|
|
"x_refsource_FEDORA",
|
|
"x_transferred"
|
|
],
|
|
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MO5OJ3F4ZL3UXVLJO6ECANRVZBNRS2IH/"
|
|
},
|
|
{
|
|
"name": "DSA-4929",
|
|
"tags": [
|
|
"vendor-advisory",
|
|
"x_refsource_DEBIAN",
|
|
"x_transferred"
|
|
],
|
|
"url": "https://www.debian.org/security/2021/dsa-4929"
|
|
},
|
|
{
|
|
"tags": [
|
|
"x_refsource_CONFIRM",
|
|
"x_transferred"
|
|
],
|
|
"url": "https://security.netapp.com/advisory/ntap-20210805-0009/"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"cveMetadata": {
|
|
"assignerOrgId": "36234546-b8fa-4601-9d6f-f4e334aa8ea1",
|
|
"assignerShortName": "hackerone",
|
|
"cveId": "CVE-2021-22880",
|
|
"datePublished": "2021-02-11T16:11:22.000Z",
|
|
"dateReserved": "2021-01-06T00:00:00.000Z",
|
|
"dateUpdated": "2024-08-03T18:58:24.778Z",
|
|
"state": "PUBLISHED"
|
|
},
|
|
"dataType": "CVE_RECORD",
|
|
"dataVersion": "5.1"
|
|
} |