{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-4047 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2021-4047 is a high-severity vulnerability in Redhat Openshift, published on 11 Apr 2022."},"fix_prompt":"Check this codebase for CVE-2021-4047 and fix it if it is affected.\n\nWhat it is: CVE-2021-4047 is a high-severity vulnerability in Redhat Openshift, published on 11 Apr 2022. \nExploitation: There is no known exploitation of CVE-2021-4047 in the wild and no public exploit code.\n\nAffected product: Redhat Openshift. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-4047/ (Markdown: https://insights.sbomify.com/CVE-2021-4047/index.md)","id":"CVE-2021-4047","markdown":"https://insights.sbomify.com/CVE-2021-4047/index.md","name":"CVE-2021-4047","record":{"aliases":["GHSA-v3g6-gh83-x752","RHSA-2021:5002"],"analysis":null,"analysis_generated_by":null,"assigner":"redhat","cpe":[{"product":"openshift","vendor":"redhat"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"The release of OpenShift 4.9.6 included four CVE fixes for the haproxy package, however the patch for CVE-2021-39242 was missing. This issue only affects Red Hat OpenShift 4.9.","ecosystems":["Red Hat:openshift:4.9::el8"],"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":"The release of OpenShift 4.9.6 included four CVE fixes for the haproxy package, however the patch for CVE-2021-39242 was missing.","id":"CVE-2021-4047","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:openshift","products":["redhat:openshift"],"type":null,"year":"2021"},"n_packages":2,"n_references":1,"next":{"headline":"Information disclosure in lapack","id":"CVE-2021-4048"},"packages":[{"ecosystem":"Red Hat:openshift:4.9::el8","fixed":["0:2.2.15-3.el8"],"introduced":["0"],"last_affected":[],"package":"haproxy","purl":"pkg:rpm/redhat/haproxy","source":"RHSA-2021:5002"},{"ecosystem":"Red Hat:openshift:4.9::el8","fixed":["0:2.2.15-3.el8"],"introduced":["0"],"last_affected":[],"package":"haproxy-debugsource","purl":"pkg:rpm/redhat/haproxy-debugsource","source":"RHSA-2021:5002"}],"prev":{"headline":"TCMAN GIM Cross-Site Scripting (XSS)","id":"CVE-2021-4046"},"products":["OpenShift"],"published":"2022-04-11","related":[{"cvss_score":10,"headline":"Command injection in n/a","id":"CVE-2014-3496","kev_date_added":null,"published":"2014-06-20"},{"cvss_score":9.8,"headline":"Hardcoded credentials in Red Hat OpenShift Enterprise","id":"CVE-2014-0234","kev_date_added":null,"published":"2020-02-12"},{"cvss_score":9.8,"headline":"Command injection in OpenShift Origin","id":"CVE-2013-2060","kev_date_added":null,"published":"2020-01-28"},{"cvss_score":9.1,"headline":"Path traversal in openshift-origin-msg-node-mcollective","id":"CVE-2013-4561","kev_date_added":null,"published":"2022-06-30"},{"cvss_score":8.8,"headline":"Command injection in Openshift","id":"CVE-2014-0163","kev_date_added":null,"published":"2019-12-11"},{"cvss_score":8.8,"headline":"Path traversal in atomic-openshift","id":"CVE-2018-1102","kev_date_added":null,"published":"2018-04-30"},{"cvss_score":8.8,"headline":"Privilege escalation in n/a","id":"CVE-2016-2160","kev_date_added":null,"published":"2016-06-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"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":null,"url":"https://insights.sbomify.com/CVE-2021-4047/"}