CVE-2021-27023

NameCVE-2021-27023
DescriptionA 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
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
puppet (PTS)bullseye5.5.22-2vulnerable
puppet-agent (PTS)bookworm7.23.0-1fixed
sid, trixie8.4.0-2fixed
puppetserver (PTS)bookworm7.9.5-2fixed
sid, trixie8.4.0-7fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
puppetsource(unstable)(unfixed)
puppet-agentsource(unstable)(not affected)
puppetserversource(unstable)(not affected)

Notes

[bullseye] - puppet <ignored> (Minor issue)
[buster] - puppet <ignored> (Minor issue)
[stretch] - puppet <ignored> (Minor issue)
- puppet-agent <not-affected> (Fixed before initial release, in 6.25.1)
- puppetserver <not-affected> (Fixed before initial release, in 7.4.2)
https://puppet.com/security/cve/cve-2021-27023
https://github.com/puppetlabs/puppet/commit/e90023a8b54a58073d71dae655d7636e2c9bcc61 (6.25.1)
Marginal/unclear security implications, the redirects are fully under control of
the puppet masters and the advisory states this CVE would be similar to CVE-2018-1000007,
but CVE is for curl, which obviously has different scope being a library. Plus, all
reasonably secure installations use client auth on the agents
Previous client code in lib/puppet/network/http/connection.rb also vulnerable

Search for package or bug name: Reporting problems