{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2021-3586 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2021-3586 is a critical vulnerability in servicemesh-operator, published on 22 Aug 2022. 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-3586 and fix it if it is affected.\n\nWhat it is: CVE-2021-3586 is a critical vulnerability in servicemesh-operator, published on 22 Aug 2022. 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-3586 in the wild and no public exploit code.\n\nAffected product: servicemesh-operator. 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-3586/ (Markdown: https://insights.sbomify.com/CVE-2021-3586/index.md)","id":"CVE-2021-3586","markdown":"https://insights.sbomify.com/CVE-2021-3586/index.md","name":"CVE-2021-3586","record":{"aliases":["GHSA-hq9j-p426-983m","RHSA-2021:2380"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["data_read","data_modify","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Service Mesh Operator","requires_auth":"none","summary":"Improper NetworkPolicy configuration in servicemesh-operator allows unrestricted pod-to-pod access, compromising data confidentiality, integrity, and availability.","user_interaction":"not_required","vuln_class":"misconfiguration"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"openshift_service_mesh","vendor":"redhat"},{"product":"servicemesh-operator","vendor":"redhat"}],"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":[{"id":"CWE-1188","name":"Initialization of a Resource with an Insecure Default"}],"description":"A flaw was found in servicemesh-operator. The NetworkPolicy resources installed for Maistra do not properly specify which ports may be accessed, allowing access to all ports on these resources from any pod. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.","ecosystems":["Red Hat:service_mesh:2.0::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":"Misconfiguration in servicemesh-operator","id":"CVE-2021-3586","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"misconfiguration","year":"2021"},"n_packages":1,"n_references":2,"next":{"headline":"memory contents disclosure in cli_feat_read_cb","id":"CVE-2021-3588"},"packages":[{"ecosystem":"Red Hat:service_mesh:2.0::el8","fixed":["0:2.0.5-3.el8"],"introduced":["0"],"last_affected":[],"package":"servicemesh-operator","purl":"pkg:rpm/redhat/servicemesh-operator","source":"RHSA-2021:2380"}],"prev":{"headline":"Information disclosure in openstack/tripleo-heat-templates.","id":"CVE-2021-3585"},"products":["servicemesh-operator"],"published":"2022-08-22","related":[{"cvss_score":7.1,"headline":"Envoyproxy: openshift service mesh envoy http header sanitization bypass leading to dos and unauthorized access","id":"CVE-2025-0752","kev_date_added":null,"published":"2025-01-28"},{"cvss_score":7,"headline":"Privilege escalation in openshift-service-mesh/kiali-rhel7-operator","id":"CVE-2020-1704","kev_date_added":null,"published":"2020-02-17"}],"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":"Improper NetworkPolicy configuration in servicemesh-operator allows unrestricted pod-to-pod access, compromising data confidentiality, integrity, and availability.","url":"https://insights.sbomify.com/CVE-2021-3586/"}