BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2021-22885 in Debian Linux and 2 more products

High 7.5 Fix available

A possible information disclosure / unintended method execution vulnerability in Action Pack >= 2.0.0 when using the `redirect_to` or `polymorphic_url`helper with untrusted user input.

Affects 3 products from 2 vendors. Facts below cite their sources.

CVSS 3.17.5
EPSS4.0%
EPSS percentile91th
FixAvailable

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Debian Debian Linux 10.0
Rubyonrails Rails ≥ 5.2.0.0, < 5.2.4.6 ≥ 6.0.0.0, < 6.0.3.7 ≥ 6.1.0.0, < 6.1.3.1
Rubyonrails Actionpack Page-Caching No version listed by the source

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

A possible information disclosure / unintended method execution vulnerability in Action Pack >= 2.0.0 when using the `redirect_to` or `polymorphic_url`helper with untrusted user input.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2021-22885
BreachSpider IDBS-2021-GLOBAL-078451-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published2021-05-27
Last modified2024-11-21
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-209: CWE-209

Related attack patterns (CAPEC)

CAPEC-7 Blind SQL Injection via CWE-209

CAPEC-215 Fuzzing for application mapping via CWE-209

CAPEC-463 Padding Oracle Crypto Attack via CWE-209

CAPEC-54 Query System for Information via CWE-209

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A vulnerability in Action Pack >= 2.0.0 allows for information disclosure and unintended method execution through the use of `redirect_to` or `polymorphic_url` with untrusted user input.

An attacker can exploit this vulnerability by providing specially crafted input to the `redirect_to` or `polymorphic_url` methods, potentially leading to the execution of arbitrary methods or disclosure of sensitive information.

Questions

What is CVE-2021-22885?

A vulnerability in Action Pack >= 2.0.0 allows for information disclosure and unintended method execution through the use of `redirect_to` or `polymorphic_url` with untrusted user input.

What is the CVSS score for CVE-2021-22885?

CVE-2021-22885 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 4.0%.

Is CVE-2021-22885 actively exploited?

No confirmed active exploitation of CVE-2021-22885 as of 2026-05-30.

How do I remediate CVE-2021-22885?

Priority: HIGH.

What systems are affected by CVE-2021-22885?

CVE-2021-22885 affects Debian Debian Linux; Rubyonrails Rails, Actionpack Page-Caching.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.