<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://cve.radiocsirt.org</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Wed, 07 Oct 2026 16:02:53 +0000</lastBuildDate>
    <item>
      <title>CVE-2021-22942</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2021-22942</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; https://github.com/rails/rails&lt;/p&gt;
&lt;p&gt;A possible open redirect vulnerability in the Host Authorization middleware in Action Pack &amp;gt;= 6.0.0 that could allow attackers to redirect users to a malicious website.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; https://github.com/rails/rails&lt;/p&gt;
&lt;p&gt;A possible open redirect vulnerability in the Host Authorization middleware in Action Pack &amp;gt;= 6.0.0 that could allow attackers to redirect users to a malicious website.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2021-22942</guid>
    </item>
    <item>
      <title>GHSA-2rqw-v265-jf8c — Open Redirect in ActionPack</title>
      <link>https://cve.radiocsirt.org/vuln/ghsa-2rqw-v265-jf8c</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; RubyGems: actionpack&lt;/p&gt;
&lt;p&gt;# Overview&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Versions Affected: &amp;gt;= 6.0.0.
Not affected: &amp;lt; 6.0.0
Fixed Versions: 6.1.4.1, 6.0.4.1&lt;/p&gt;
&lt;p&gt;# Impact&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Impacted applications will have allowed hosts with a leading dot. For example, configuration files that look like this:&lt;/p&gt;
&lt;p&gt;```ruby
config.hosts &amp;lt;&amp;lt;  &amp;#39;.EXAMPLE.com&amp;#39;
```&lt;/p&gt;
&lt;p&gt;When an allowed host contains a leading dot, a specially crafted Host header can be used to redirect to a malicious website.&lt;/p&gt;
&lt;p&gt;This vulnerability is similar to CVE-2021-22881, but CVE-2021-22881 did not take in to account domain name case sensitivity.&lt;/p&gt;
&lt;p&gt;# Releases&lt;/p&gt;
&lt;p&gt;The fixed releases are available at the normal locations.&lt;/p&gt;
&lt;p&gt;# Workarounds&lt;/p&gt;
&lt;p&gt;In the case a patch can’t be applied, the following monkey patch can be used in an initializer:&lt;/p&gt;
&lt;p&gt;```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/&lt;/p&gt;
&lt;p&gt;private
      def authorized?(request)
        origin_host =
          request.get_header(&amp;#34;HTTP_HOST&amp;#34;)&amp;amp;.slice(VALID_ORIGIN_HOST, 1) || &amp;#34;&amp;#34;
        forwarded_host =
          request.x_…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; RubyGems: actionpack&lt;/p&gt;
&lt;p&gt;# Overview&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Versions Affected: &amp;gt;= 6.0.0.
Not affected: &amp;lt; 6.0.0
Fixed Versions: 6.1.4.1, 6.0.4.1&lt;/p&gt;
&lt;p&gt;# Impact&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Impacted applications will have allowed hosts with a leading dot. For example, configuration files that look like this:&lt;/p&gt;
&lt;p&gt;```ruby
config.hosts &amp;lt;&amp;lt;  &amp;#39;.EXAMPLE.com&amp;#39;
```&lt;/p&gt;
&lt;p&gt;When an allowed host contains a leading dot, a specially crafted Host header can be used to redirect to a malicious website.&lt;/p&gt;
&lt;p&gt;This vulnerability is similar to CVE-2021-22881, but CVE-2021-22881 did not take in to account domain name case sensitivity.&lt;/p&gt;
&lt;p&gt;# Releases&lt;/p&gt;
&lt;p&gt;The fixed releases are available at the normal locations.&lt;/p&gt;
&lt;p&gt;# Workarounds&lt;/p&gt;
&lt;p&gt;In the case a patch can’t be applied, the following monkey patch can be used in an initializer:&lt;/p&gt;
&lt;p&gt;```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/&lt;/p&gt;
&lt;p&gt;private
      def authorized?(request)
        origin_host =
          request.get_header(&amp;#34;HTTP_HOST&amp;#34;)&amp;amp;.slice(VALID_ORIGIN_HOST, 1) || &amp;#34;&amp;#34;
        forwarded_host =
          request.x_…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/ghsa-2rqw-v265-jf8c</guid>
    </item>
  </channel>
</rss>
