Name | CVE-2022-21831 |
Description | A code injection vulnerability exists in the Active Storage >= v5.2.0 that could allow an attacker to execute code via image_processing arguments. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3093-1, DSA-5372-1 |
Debian Bugs | 1011940 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
rails (PTS) | jessie, jessie (lts) | 2:4.1.8-1+deb8u9 | vulnerable |
| stretch (security), stretch (lts), stretch | 2:4.2.7.1-1+deb9u5 | vulnerable |
| buster (security), buster, buster (lts) | 2:5.2.2.1+dfsg-1+deb10u5 | fixed |
| bullseye (security), bullseye | 2:6.0.3.7+dfsg-2+deb11u2 | fixed |
| bookworm | 2:6.1.7.3+dfsg-2~deb12u1 | fixed |
| sid, trixie | 2:6.1.7.3+dfsg-4 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
rails | source | jessie | (unfixed) | end-of-life | | |
rails | source | buster | 2:5.2.2.1+dfsg-1+deb10u4 | | DLA-3093-1 | |
rails | source | bullseye | 2:6.0.3.7+dfsg-2+deb11u1 | | DSA-5372-1 | |
rails | source | (unstable) | 2:6.1.4.7+dfsg-1 | | | 1011940 |
Notes
https://github.com/advisories/GHSA-w749-p3v6-hccq
https://github.com/rails/rails/commit/b0b5eaf477c907819ead1808d09bfaae3eb4cc54 (v6.1.4.7)
https://github.com/rails/rails/commit/92f64fec3136baabbebac97073c5213ea055dc53 (v6.0.4.7)
https://github.com/rails/rails/commit/94e2f00d2abedbea1ef62fc775d031ffda00662c (v5.2.6.3)