Name | CVE-2021-27023 |
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 |
Source | CVE (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 Package | Release | Version | Status |
---|
puppet (PTS) | bullseye | 5.5.22-2 | vulnerable |
puppet-agent (PTS) | bookworm | 7.23.0-1 | fixed |
| sid, trixie | 8.10.0-2.1 | fixed |
puppetserver (PTS) | bookworm | 7.9.5-2+deb12u1 | fixed |
| sid, trixie | 8.7.0-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
puppet | source | (unstable) | (unfixed) | | | |
puppet-agent | source | (unstable) | (not affected) | | | |
puppetserver | source | (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