<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-07T18:20:28.261410+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/cve-2021-22942</id>
    <title>CVE-2021-22942</title>
    <updated>2026-10-07T18:20:28.295655+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> https://github.com/rails/rails</p>
<p>A possible open redirect vulnerability in the Host Authorization middleware in Action Pack &gt;= 6.0.0 that could allow attackers to redirect users to a malicious website.</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/cve-2021-22942"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-2rqw-v265-jf8c</id>
    <title>GHSA-2rqw-v265-jf8c — Open Redirect in ActionPack</title>
    <updated>2026-10-07T18:20:28.295731+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> RubyGems: actionpack</p>
<p># Overview</p>
<p>There is a possible open redirect vulnerability in the Host Authorization middleware in Action Pack. This vulnerability has been assigned the CVE identifier CVE-2021-22942.</p>
<p>Versions Affected: &gt;= 6.0.0.
Not affected: &lt; 6.0.0
Fixed Versions: 6.1.4.1, 6.0.4.1</p>
<p># Impact</p>
<p>Specially crafted “X-Forwarded-Host” headers in combination with certain “allowed host” formats can cause the Host Authorization middleware in Action Pack to redirect users to a malicious website.</p>
<p>Impacted applications will have allowed hosts with a leading dot. For example, configuration files that look like this:</p>
<p>```ruby
config.hosts &lt;&lt;  '.EXAMPLE.com'
```</p>
<p>When an allowed host contains a leading dot, a specially crafted Host header can be used to redirect to a malicious website.</p>
<p>This vulnerability is similar to CVE-2021-22881, but CVE-2021-22881 did not take in to account domain name case sensitivity.</p>
<p># Releases</p>
<p>The fixed releases are available at the normal locations.</p>
<p># Workarounds</p>
<p>In the case a patch can’t be applied, the following monkey patch can be used in an initializer:</p>
<p>```ruby
module ActionDispatch
  class HostAuthorization
    HOSTNAME = /[a-z0-9.-]+|\[[a-f0-9]*:[a-f0-9.:]+\]/i
    VALID_ORIGIN_HOST = /\A(#{HOSTNAME})(?::\d+)?\z/
    VALID_FORWARDED_HOST = /(?:\A|,[ ]?)(#{HOSTNAME})(?::\d+)?\z/</p>
<p>private
      def authorized?(request)
        origin_host =
          request.get_header("HTTP_HOST")&amp;.slice(VALID_ORIGIN_HOST, 1) || ""
        forwarded_host =
          request.x_…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-2rqw-v265-jf8c"/>
  </entry>
</feed>
