GHSA-w749-p3v6-hccq
Vulnerability from github
Published
2022-03-08 21:25
Modified
2022-06-21 15:59
Severity ?
VLAI Severity ?
Summary
Possible code injection vulnerability in Rails / Active Storage
Details
The Active Storage module of Rails starting with version 5.2.0 is possibly vulnerable to code injection. This issue was patched in versions 5.2.6.3, 6.0.4.7, 6.1.4.7, and 7.0.2.3. To work around this issue, applications should implement a strict allow-list on accepted transformation methods or arguments. Additionally, a strict ImageMagick security policy will help mitigate this issue.
{ "affected": [ { "database_specific": { "last_known_affected_version_range": "\u003c= 5.2.6.2" }, "package": { "ecosystem": "RubyGems", "name": "activestorage" }, "ranges": [ { "events": [ { "introduced": "5.2.0" }, { "fixed": "5.2.6.3" } ], "type": "ECOSYSTEM" } ] }, { "database_specific": { "last_known_affected_version_range": "\u003c= 6.0.4.6" }, "package": { "ecosystem": "RubyGems", "name": "activestorage" }, "ranges": [ { "events": [ { "introduced": "6.0.0" }, { "fixed": "6.0.4.7" } ], "type": "ECOSYSTEM" } ] }, { "database_specific": { "last_known_affected_version_range": "\u003c= 6.1.4.6" }, "package": { "ecosystem": "RubyGems", "name": "activestorage" }, "ranges": [ { "events": [ { "introduced": "6.1.0" }, { "fixed": "6.1.4.7" } ], "type": "ECOSYSTEM" } ] }, { "database_specific": { "last_known_affected_version_range": "\u003c= 7.0.2.2" }, "package": { "ecosystem": "RubyGems", "name": "activestorage" }, "ranges": [ { "events": [ { "introduced": "7.0.0" }, { "fixed": "7.0.2.3" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2022-21831" ], "database_specific": { "cwe_ids": [ "CWE-94" ], "github_reviewed": true, "github_reviewed_at": "2022-03-08T21:25:54Z", "nvd_published_at": "2022-05-26T17:15:00Z", "severity": "CRITICAL" }, "details": "The Active Storage module of Rails starting with version 5.2.0 is possibly vulnerable to code injection. This issue was patched in versions 5.2.6.3, 6.0.4.7, 6.1.4.7, and 7.0.2.3. To work around this issue, applications should implement a strict allow-list on accepted transformation methods or arguments. Additionally, a strict ImageMagick security policy will help mitigate this issue.", "id": "GHSA-w749-p3v6-hccq", "modified": "2022-06-21T15:59:23Z", "published": "2022-03-08T21:25:54Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-21831" }, { "type": "WEB", "url": "https://github.com/rails/rails/commit/0a72f7d670e9aa77a0bb8584cb1411ddabb7546e" }, { "type": "ADVISORY", "url": "https://github.com/advisories/GHSA-w749-p3v6-hccq" }, { "type": "PACKAGE", "url": "https://github.com/rails/rails" }, { "type": "WEB", "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/CVE-2022-21831.yml" }, { "type": "WEB", "url": "https://groups.google.com/g/rubyonrails-security/c/n-p-W1yxatI" }, { "type": "WEB", "url": "https://lists.debian.org/debian-lts-announce/2022/09/msg00002.html" }, { "type": "WEB", "url": "https://rubysec.com/advisories/CVE-2022-21831" }, { "type": "WEB", "url": "https://security.netapp.com/advisory/ntap-20221118-0001" }, { "type": "WEB", "url": "https://www.debian.org/security/2023/dsa-5372" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "type": "CVSS_V3" } ], "summary": "Possible code injection vulnerability in Rails / Active Storage" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…