https://github.com/rails/rails
At a glance
- Source
- NVD
- EPSS
- EPSS 2.60 % · percentile 85 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- hackerone
- NVD status
- Modified
Description
A possible escalation to RCE vulnerability exists when using YAML serialized columns in Active Record < 7.0.3.1, <6.1.6.1, <6.0.5.1 and <5.2.8.1 which could allow an attacker, that can manipulate data in the database (via means like SQL injection), the ability to escalate to an RCE.
Weaknesses (CWE)
- CWE-502 — Deserialization of Untrusted Data
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) |
Advisories
- GHSA-3hhc-qp5v-9p2j — Active Record RCE bug with Serialized Columns
European references
- ENISA EUVD · EUVD-2022-6218
- GCVE · GCVE-0-2022-32224
CERT-FR advisories
- CERTFR-2022-AVI-639 — Vulnérabilité dans Ruby on Rails · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:activerecord_project:activerecord:*:*:*:*:*:ruby:*:*< 5.2.8.1cpe:2.3:a:activerecord_project:activerecord:*:*:*:*:*:ruby:*:*≥ 6.0.0 < 6.0.5.1cpe:2.3:a:activerecord_project:activerecord:*:*:*:*:*:ruby:*:*≥ 6.1.0 < 6.1.6.1cpe:2.3:a:activerecord_project:activerecord:*:*:*:*:*:ruby:*:*≥ 7.0.0 < 7.0.3.1
Affected products
| Product | Versions |
|---|---|
| https://github.com/rails/rails | affected 7.0.3.1, 6.1.6.1, 6.0.5.1, 5.2.8.1 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |