{"id":"CVE-2021-22885","state":"PUBLISHED","title":"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 in","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.","publishedAt":"2021-05-27T11:15:32.000Z","updatedAt":"2024-08-03T18:58:24.813Z","severity":null,"assigner":"hackerone","products":["n/a https://github.com/rails/rails"],"affected":[{"vendor":"n/a","product":"https://github.com/rails/rails","versions":[{"version":"6.1.3.1, 6.0.3.7, 5.2.4.6, 5.2.6","status":"affected"}]}],"references":["https://hackerone.com/reports/1106652","https://www.debian.org/security/2021/dsa-4929","https://security.netapp.com/advisory/ntap-20210805-0009/"],"weaknesses":["CWE-209"],"ingestedAt":"2026-10-29T19:48:02.192Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/22xxx/CVE-2021-22885.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-22885","state":"PUBLISHED","datePublished":"2021-05-27T11:15:32.000Z","dateUpdated":"2024-08-03T18:58:24.813Z","assignerShortName":"hackerone","assignerOrgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1","dateReserved":"2021-01-06T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"https://github.com/rails/rails","versions":[{"version":"6.1.3.1, 6.0.3.7, 5.2.4.6, 5.2.6","status":"affected"}]}],"references":[{"url":"https://hackerone.com/reports/1106652","tags":["x_refsource_MISC"]},{"url":"https://www.debian.org/security/2021/dsa-4929","name":"DSA-4929","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://security.netapp.com/advisory/ntap-20210805-0009/","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-209","description":"Information Exposure Through an Error Message (CWE-209)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"hackerone","dateUpdated":"2021-08-05T11:07:16.000Z","orgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"support@hackerone.com","ID":"CVE-2021-22885","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"https://github.com/rails/rails","version":{"version_data":[{"version_value":"6.1.3.1, 6.0.3.7, 5.2.4.6, 5.2.6"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Information Exposure Through an Error Message (CWE-209)"}]}]},"references":{"reference_data":[{"name":"https://hackerone.com/reports/1106652","refsource":"MISC","url":"https://hackerone.com/reports/1106652"},{"name":"DSA-4929","refsource":"DEBIAN","url":"https://www.debian.org/security/2021/dsa-4929"},{"name":"https://security.netapp.com/advisory/ntap-20210805-0009/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20210805-0009/"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://hackerone.com/reports/1106652","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.debian.org/security/2021/dsa-4929","name":"DSA-4929","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20210805-0009/","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T18:58:24.813Z"}}]}}}