Arbitrary Code Injection Affecting rails package, versions <2:6.0.3.7+dfsg-2+deb11u1


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
4.11% (93rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN11-RAILS-2848580
  • published28 May 2022
  • disclosed26 May 2022

Introduced: 26 May 2022

CVE-2022-21831  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade Debian:11 rails to version 2:6.0.3.7+dfsg-2+deb11u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rails package and not the rails package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

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 Scores

version 3.1