{"answers":{"affected":"4 open source packages ship an affected version, including puppet. It affects 4 products.","exploited":"There is no known exploitation of CVE-2021-27023 in the wild and no public exploit code.","fix":"Upgrade puppet to a fixed version for your release line: 6.25.1 or 7.12.1.","what":"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."},"fix_prompt":"Check this codebase for CVE-2021-27023 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2021-27023 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- puppet (RubyGems): affected all versions; fixed in 6.25.1\n- puppet (RubyGems): affected all versions; fixed in 6.25.1\n- puppet (RubyGems): affected from 7.0.0; fixed in 7.12.1\n- puppet (RubyGems): affected from 7.0.0; fixed in 7.12.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-27023/ (Markdown: https://insights.sbomify.com/CVE-2021-27023/index.md)","id":"CVE-2021-27023","markdown":"https://insights.sbomify.com/CVE-2021-27023/index.md","name":"CVE-2021-27023","record":{"aliases":["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"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Puppet configuration management","requires_auth":"none","summary":"Puppet Agent and Server leak HTTP credentials when following redirects to different hosts, exposing sensitive authentication data to attackers.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"puppet","cpe":[{"product":"fedora","vendor":"fedoraproject"},{"product":"puppet_agent","vendor":"puppet"},{"product":"puppet_enterprise","vendor":"puppet"},{"product":"puppet_server","vendor":"puppet"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[],"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","ecosystems":["Red Hat:satellite:6.9::el7","Red Hat:satellite_capsule:6.9::el7","RubyGems","SUSE:Linux Enterprise Module for Advanced Systems Management 12"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Unsafe HTTP Redirect in Puppet Agent and Puppet Server","id":"CVE-2021-27023","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":"fedoraproject:fedora","products":["fedoraproject:fedora","puppet:puppet_enterprise"],"type":"information_disclosure","year":"2021"},"n_packages":10,"n_references":2,"next":{"headline":"Privilege escalation in Puppet Continuous Delivery for Puppet Enterprise (CD4PE)","id":"CVE-2021-27024"},"packages":[{"ecosystem":"RubyGems","fixed":["6.25.1"],"introduced":["0"],"last_affected":[],"package":"puppet","purl":null,"source":"GHSA-93j5-g845-9wqp"},{"ecosystem":"RubyGems","fixed":["6.25.1"],"introduced":["0"],"last_affected":[],"package":"puppet","purl":"pkg:gem/puppet","source":"GHSA-93j5-g845-9wqp"},{"ecosystem":"RubyGems","fixed":["7.12.1"],"introduced":["7.0.0"],"last_affected":[],"package":"puppet","purl":null,"source":"GHSA-93j5-g845-9wqp"},{"ecosystem":"RubyGems","fixed":["7.12.1"],"introduced":["7.0.0"],"last_affected":[],"package":"puppet","purl":"pkg:gem/puppet","source":"GHSA-93j5-g845-9wqp"},{"ecosystem":"Red Hat:satellite:6.9::el7","fixed":["0:6.26.0-1.el7sat"],"introduced":["0"],"last_affected":[],"package":"puppet-agent","purl":"pkg:rpm/redhat/puppet-agent","source":"RHSA-2022:1478"},{"ecosystem":"Red Hat:satellite:6.9::el7","fixed":["0:6.18.0-1.el7sat"],"introduced":["0"],"last_affected":[],"package":"puppetserver","purl":"pkg:rpm/redhat/puppetserver","source":"RHSA-2022:1478"},{"ecosystem":"Red Hat:satellite_capsule:6.9::el7","fixed":["0:6.26.0-1.el7sat"],"introduced":["0"],"last_affected":[],"package":"puppet-agent","purl":"pkg:rpm/redhat/puppet-agent","source":"RHSA-2022:1478"},{"ecosystem":"Red Hat:satellite_capsule:6.9::el7","fixed":["0:6.18.0-1.el7sat"],"introduced":["0"],"last_affected":[],"package":"puppetserver","purl":"pkg:rpm/redhat/puppetserver","source":"RHSA-2022:1478"},{"ecosystem":"SUSE:Linux Enterprise Module for Advanced Systems Management 12","fixed":["3.8.5-15.18.1"],"introduced":["0"],"last_affected":[],"package":"puppet","purl":"pkg:rpm/suse/puppet\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Advanced%20Systems%20Management%2012","source":"SUSE-SU-2022:3355-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Advanced Systems Management 12","fixed":["4.8.1-32.6.1"],"introduced":["0"],"last_affected":[],"package":"rubygem-puppet","purl":"pkg:rpm/suse/rubygem-puppet\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Advanced%20Systems%20Management%2012","source":"SUSE-SU-2022:3794-1"}],"prev":{"headline":"Information disclosure in Puppet Enterprise","id":"CVE-2021-27022"},"products":["Puppet Enterprise, Puppet Server, Puppet Agent"],"published":"2021-11-18","related":[{"cvss_score":9.8,"headline":"PHP-CGI OS Command Injection","id":"CVE-2024-4577","kev_date_added":"2024-06-12","published":"2024-06-09"},{"cvss_score":9.8,"headline":"Grafana Authentication Bypass","id":"CVE-2021-39226","kev_date_added":"2022-08-25","published":"2021-10-05"},{"cvss_score":9.8,"headline":"VMware ESXi and Horizon DaaS OpenSLP Heap-Based Buffer Overflow","id":"CVE-2019-5544","kev_date_added":"2021-11-03","published":"2019-12-06"},{"cvss_score":9.6,"headline":"Google Chromium V8 Type Confusion","id":"CVE-2024-4947","kev_date_added":"2024-05-20","published":"2024-05-15"},{"cvss_score":9.6,"headline":"Google Chromium Visuals Use-After-Free","id":"CVE-2024-4671","kev_date_added":"2024-05-13","published":"2024-05-09"},{"cvss_score":9.6,"headline":"Google Chromium Mojo Insufficient Data Validation","id":"CVE-2022-3075","kev_date_added":"2022-09-08","published":"2022-09-26"},{"cvss_score":9.6,"headline":"Google Chromium Indexed DB API Use-After-Free","id":"CVE-2021-30633","kev_date_added":"2021-11-03","published":"2021-10-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"Puppet Agent and Server leak HTTP credentials when following redirects to different hosts, exposing sensitive authentication data to attackers.","url":"https://insights.sbomify.com/CVE-2021-27023/"}