https://github.com/rails/rails
En bref
- Source
- NVD
- EPSS
- EPSS 2.15 % · centile 82 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- hackerone
- Statut NVD
- Modified
Rechercher sur…
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.
Faiblesses (CWE)
- CWE-89 — Injection SQL
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
Avis
- GHSA-hq7p-j377-6v63 — SQL Injection Vulnerability via ActiveRecord comments
Références européennes
- ENISA EUVD · EUVD-2023-0490
- GCVE · GCVE-0-2023-22794
Configurations affectées (CPE NVD)
cpe:2.3:a:activerecord_project:activerecord:*:*:*:*:*:ruby:*:*≥ 6.0.0 < 6.0.6.1cpe:2.3:a:activerecord_project:activerecord:*:*:*:*:*:ruby:*:*≥ 6.1.0 < 6.1.7.1cpe:2.3:a:activerecord_project:activerecord:*:*:*:*:*:ruby:*:*≥ 7.0.0 < 7.0.4.1
Produits affectés
| Produit | Versions |
|---|---|
| https://github.com/rails/rails | affected 6.0.6.1, 6.1.7.1, 7.0.4.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 |
| 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 |