CVE-2021-27023 Unsafe HTTP Redirect in Puppet Agent and Puppet Server

Critical 9.8 Published Updated

Puppet Agent and Server leak HTTP credentials when following redirects to different hosts, exposing sensitive authentication data to attackers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-27023?

CVE-2021-27023 is a critical vulnerability in Fedoraproject Fedora, published on 18 Nov 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A flaw was discovered in Puppet Agent and Puppet Server that may result in a leak of HTTP credentials when following HTTP redirects to a different host. This is similar to CVE-2018-1000007

Which versions are affected by CVE-2021-27023?

4 open source packages ship an affected version, including puppet. It affects 4 products.

PackageAffectedFixed in
puppet RubyGemsAll versions6.25.1
puppet RubyGemsAll versions6.25.1
puppet RubyGemsFrom 7.0.07.12.1
puppet RubyGemsFrom 7.0.07.12.1
Linux distribution packages (6)
puppet-agent Red Hat:satellite:6.9::el7All versions0:6.26.0-1.el7sat
puppetserver Red Hat:satellite:6.9::el7All versions0:6.18.0-1.el7sat
puppet-agent Red Hat:satellite_capsule:6.9::el7All versions0:6.26.0-1.el7sat
puppetserver Red Hat:satellite_capsule:6.9::el7All versions0:6.18.0-1.el7sat
puppet SUSE:Linux Enterprise Module for Advanced Systems Management 12All versions3.8.5-15.18.1
rubygem-puppet SUSE:Linux Enterprise Module for Advanced Systems Management 12All versions4.8.1-32.6.1

Products include Fedoraproject Fedora, Puppet Puppet Agent, Puppet Puppet Enterprise, Puppet Puppet Server.

How do I fix CVE-2021-27023?

Upgrade puppet to a fixed version for your release line: 6.25.1 or 7.12.1.

Is CVE-2021-27023 being exploited?

There is no known exploitation of CVE-2021-27023 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-27023, GHSA-93j5-g845-9wqp, RHSA-2022:1478, SUSE-SU-2022:3355-1, SUSE-SU-2022:3794-1, UBUNTU-CVE-2021-27023.

Is CVE-2021-27023 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free