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

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.37%, higher than 72% of CVEs (2026-12-01)
- Published: 2021-11-18T14:33:18.000Z
- Modified: 2026-06-17T03:44:08.763Z
- Also known as: GHSA-93j5-g845-9wqp
- Assigned by: puppet

## 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

(As written by CVE List.)

## Affected

- Puppet Enterprise, Puppet Server, Puppet Agent: Puppet Enterprise prior to 2019.8.9, Puppet Enterprise prior to 2021.4, Puppet Server prior to 6.17.1, Puppet Server prior to 7.4.2, Puppet Agent prior to 6.25.1, Puppet Agent prior to 7.12.1
- puppet (RubyGems): from 7.0.0 before 7.12.1; before 6.25.1
- puppet puppet_agent: before 6.25.1; from 7.0.0 before 7.12.1
- puppet puppet_enterprise: before 2019.8.9; from 2021.0.0 before 2021.4
- puppet puppet_server: before 6.17.1; from 7.0.0 before 7.4.2
- fedoraproject fedora: 35

## Every score

- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://puppet.com/security/cve/CVE-2021-27023> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/62SELE7EKVKZL4GABFMVYMIIUZ7FPEF7/> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-27023> (advisory)
- <https://github.com/puppetlabs/puppet> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puppet/CVE-2021-27023.yml> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/62SELE7EKVKZL4GABFMVYMIIUZ7FPEF7> (web)

## Sources

- CVE List: [CVE-2021-27023](https://www.cve.org/CVERecord?id=CVE-2021-27023), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-93j5-g845-9wqp](https://github.com/advisories/GHSA-93j5-g845-9wqp), CC-BY-4.0, modified 2024-11-29
- NVD: [CVE-2021-27023](https://nvd.nist.gov/vuln/detail/CVE-2021-27023), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-27023 · Whole record: https://cve.day/CVE-2021-27023.json · Rebuilt by cve.day 2026-11-25T22:58:05.650Z
