- Description
- A vulnerability in ActiveRecord <6.0.6.1, v6.1.7.1 and v7.0.4.1 related to the sanitization of comments. If malicious user input is passed to either the `annotate` query method, the `optimizer_hints` query method, or through the QueryLogs interface which automatically adds annotations, it may be sent to the database withinsufficient sanitization and be able to inject SQL outside of the comment.
- Source
- support@hackerone.com
- NVD status
- Modified
CVSS 3.1
- Type
- Primary
- Base score
- 8.8
- Impact score
- 5.9
- Exploitability score
- 2.8
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Severity
- HIGH
- Hype score
- Not currently trending
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:activerecord_project:activerecord:*:*:*:*:*:ruby:*:*",
"vulnerable": true,
"matchCriteriaId": "3B0AF7DB-45EB-4310-8409-90350D1AFF02",
"versionEndExcluding": "6.0.6.1",
"versionStartIncluding": "6.0.0"
},
{
"criteria": "cpe:2.3:a:activerecord_project:activerecord:*:*:*:*:*:ruby:*:*",
"vulnerable": true,
"matchCriteriaId": "0D94371F-6A6F-4D40-97A1-3B08C75E3AFB",
"versionEndExcluding": "6.1.7.1",
"versionStartIncluding": "6.1.0"
},
{
"criteria": "cpe:2.3:a:activerecord_project:activerecord:*:*:*:*:*:ruby:*:*",
"vulnerable": true,
"matchCriteriaId": "EDE689E3-57CB-4121-9EE3-1857079325E6",
"versionEndExcluding": "7.0.4.1",
"versionStartIncluding": "7.0.0"
}
],
"operator": "OR"
}
]
}
]