CVE-2022-21831
Estado: ModificadaCrítica (9.8)—
A code injection vulnerability exists in the Active Storage >= v5.2.0 that could allow an attacker to execute code via image_processing arguments.
CVSS
- Versión: 3.1
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Puntuación base: 9.8
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 3.05%
- Percentil entre todas las CVEs puntuadas: 87
- Fecha de la puntuación: 6/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
Tecnologías afectadas (2)
CWE
- CWE-94
- CWE-94
Referencias
- https://github.com/advisories/GHSA-w749-p3v6-hccq
- https://lists.debian.org/debian-lts-announce/2022/09/msg00002.html
- https://security.netapp.com/advisory/ntap-20221118-0001/
- https://www.debian.org/security/2023/dsa-5372
- https://github.com/advisories/GHSA-w749-p3v6-hccq
- https://lists.debian.org/debian-lts-announce/2022/09/msg00002.html
- https://security.netapp.com/advisory/ntap-20221118-0001/
- https://www.debian.org/security/2023/dsa-5372
JSON original (NVD)
Mostrar
{
"id": "CVE-2022-21831",
"cveTags": [],
"metrics": {
"cvssMetricV2": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"version": "2.0",
"baseScore": 6.8,
"accessVector": "NETWORK",
"vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
"authentication": "NONE",
"integrityImpact": "PARTIAL",
"accessComplexity": "MEDIUM",
"availabilityImpact": "PARTIAL",
"confidentialityImpact": "PARTIAL"
},
"acInsufInfo": false,
"impactScore": 6.4,
"baseSeverity": "MEDIUM",
"obtainAllPrivilege": false,
"exploitabilityScore": 8.6,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": false,
"userInteractionRequired": false
}
],
"cvssMetricV31": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 9.8,
"attackVector": "NETWORK",
"baseSeverity": "CRITICAL",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "HIGH"
},
"impactScore": 5.9,
"exploitabilityScore": 3.9
}
]
},
"affected": [
{
"source": "support@hackerone.com",
"affectedData": [
{
"vendor": "n/a",
"product": "https://github.com/rails/rails",
"versions": [
{
"status": "affected",
"version": "7.0.2.3, 6.1.4.7, 6.0.4.7, 5.2.6.3"
}
]
}
]
}
],
"published": "2022-05-26T17:15:09.017",
"references": [
{
"url": "https://github.com/advisories/GHSA-w749-p3v6-hccq",
"tags": [
"Patch",
"Third Party Advisory"
],
"source": "support@hackerone.com"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2022/09/msg00002.html",
"tags": [
"Mailing List",
"Third Party Advisory"
],
"source": "support@hackerone.com"
},
{
"url": "https://security.netapp.com/advisory/ntap-20221118-0001/",
"tags": [
"Third Party Advisory"
],
"source": "support@hackerone.com"
},
{
"url": "https://www.debian.org/security/2023/dsa-5372",
"source": "support@hackerone.com"
},
{
"url": "https://github.com/advisories/GHSA-w749-p3v6-hccq",
"tags": [
"Patch",
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2022/09/msg00002.html",
"tags": [
"Mailing List",
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://security.netapp.com/advisory/ntap-20221118-0001/",
"tags": [
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://www.debian.org/security/2023/dsa-5372",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Secondary",
"source": "support@hackerone.com",
"description": [
{
"lang": "en",
"value": "CWE-94"
}
]
},
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-94"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "A code injection vulnerability exists in the Active Storage >= v5.2.0 that could allow an attacker to execute code via image_processing arguments."
},
{
"lang": "es",
"value": "Se presenta una vulnerabilidad de inyección de código en Active Storage versiones posteriores a v5.2.0 incluyéndola, que podría permitir a un atacante ejecutar código por medio de argumentos image_processing"
}
],
"lastModified": "2026-06-17T04:27:03.960",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:rubyonrails:active_storage:*:*:*:*:*:ruby:*:*",
"vulnerable": true,
"matchCriteriaId": "D24017C1-76C5-47FE-8D2D-6DC06276275F",
"versionEndExcluding": "5.2.6.3",
"versionStartIncluding": "5.2.0"
},
{
"criteria": "cpe:2.3:a:rubyonrails:active_storage:*:*:*:*:*:ruby:*:*",
"vulnerable": true,
"matchCriteriaId": "E453F0F6-D607-4FCE-B407-9461546197AD",
"versionEndExcluding": "6.0.4.7",
"versionStartIncluding": "6.0.0"
},
{
"criteria": "cpe:2.3:a:rubyonrails:active_storage:*:*:*:*:*:ruby:*:*",
"vulnerable": true,
"matchCriteriaId": "D8D86489-28E0-444A-9A93-19D87079F54B",
"versionEndExcluding": "6.1.4.7",
"versionStartIncluding": "6.1.0"
},
{
"criteria": "cpe:2.3:a:rubyonrails:active_storage:*:*:*:*:*:ruby:*:*",
"vulnerable": true,
"matchCriteriaId": "CD5A13EC-AC72-4FD2-9B2B-3E57628545C2",
"versionEndExcluding": "7.0.2.3",
"versionStartIncluding": "7.0.0"
}
],
"operator": "OR"
}
]
},
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "07B237A9-69A3-4A9C-9DA0-4E06BD37AE73"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "support@hackerone.com"
}