{"answers":{"affected":"6 open source packages ship an affected version, including istio.io/istio. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-31045 in the wild and no public exploit code.","fix":"Upgrade istio.io/istio to a fixed version for your release line: 1.12.18, 1.13.5 or 1.14.1.","what":"CVE-2022-31045 is a high-severity memory corruption vulnerability in istio, published on 9 Jun 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-2022-31045 and fix it if it is affected.\n\nWhat it is: CVE-2022-31045 is a high-severity memory corruption vulnerability in istio, published on 9 Jun 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-2022-31045 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- istio.io/istio (Go): affected all versions; fixed in 1.12.18\n- istio.io/istio (Go): affected all versions; fixed in 1.12.18\n- istio.io/istio (Go): affected from 1.13.0; fixed in 1.13.5\n- istio.io/istio (Go): affected from 1.13.0; fixed in 1.13.5\n- istio.io/istio (Go): affected from 1.14.0; fixed in 1.14.1\n- istio.io/istio (Go): affected from 1.14.0; fixed in 1.14.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-2022-31045/ (Markdown: https://insights.sbomify.com/CVE-2022-31045/index.md)","id":"CVE-2022-31045","markdown":"https://insights.sbomify.com/CVE-2022-31045/index.md","name":"CVE-2022-31045","record":{"aliases":["GHSA-xwx5-5c9g-x68x","MINI-26xr-p39q-gp2f","MINI-2rfh-4hmw-pv37","MINI-42g9-8vc8-888j","MINI-4wh7-32qv-pjwv","MINI-883c-9xw3-gqhw","MINI-97hj-p395-r7c2","MINI-hrr9-4f73-96mp","MINI-r8jr-8qp2-hgw4"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"Istio service mesh","requires_auth":"none","summary":"Ill-formed headers can cause unexpected memory access and crashes in Istio Envoy proxies, primarily affecting exposed ingress gateways.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"istio","vendor":"istio"}],"cvss":{"score":7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H","version":"3.1"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"description":"Istio is an open platform to connect, manage, and secure microservices. In affected versions ill-formed headers sent to Envoy in certain configurations can lead to unexpected memory access resulting in undefined behavior or crashing. Users are most likely at risk if they have an Istio ingress Gateway exposed to external traffic. This vulnerability has been resolved in versions 1.12.8, 1.13.5, and 1.14.1. Users are advised to upgrade. There are no known workarounds for this issue.","ecosystems":["Go"],"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":"Ill-formed headers may lead to unexpected behavior in Istio","id":"CVE-2022-31045","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"memory_corruption","year":"2022"},"n_packages":6,"n_references":2,"next":{"headline":"Information Disclosure via Export Module in TYPO3 CMS","id":"CVE-2022-31046"},"packages":[{"ecosystem":"Go","fixed":["1.12.18"],"introduced":["0"],"last_affected":[],"package":"istio.io/istio","purl":null,"source":"GHSA-xwx5-5c9g-x68x"},{"ecosystem":"Go","fixed":["1.12.18"],"introduced":["0"],"last_affected":[],"package":"istio.io/istio","purl":"pkg:golang/istio.io/istio","source":"GHSA-xwx5-5c9g-x68x"},{"ecosystem":"Go","fixed":["1.13.5"],"introduced":["1.13.0"],"last_affected":[],"package":"istio.io/istio","purl":null,"source":"GHSA-xwx5-5c9g-x68x"},{"ecosystem":"Go","fixed":["1.13.5"],"introduced":["1.13.0"],"last_affected":[],"package":"istio.io/istio","purl":"pkg:golang/istio.io/istio","source":"GHSA-xwx5-5c9g-x68x"},{"ecosystem":"Go","fixed":["1.14.1"],"introduced":["1.14.0"],"last_affected":[],"package":"istio.io/istio","purl":null,"source":"GHSA-xwx5-5c9g-x68x"},{"ecosystem":"Go","fixed":["1.14.1"],"introduced":["1.14.0"],"last_affected":[],"package":"istio.io/istio","purl":"pkg:golang/istio.io/istio","source":"GHSA-xwx5-5c9g-x68x"}],"prev":{"headline":"Plaintext Storage of Keys and Passwords in Rundeck and PagerDuty Process Automation","id":"CVE-2022-31044"},"products":["istio"],"published":"2022-06-09","related":[{"cvss_score":9.8,"headline":"Missing authorization in n/a","id":"CVE-2021-31921","kev_date_added":null,"published":"2021-06-02"},{"cvss_score":8.8,"headline":"Information disclosure in n/a","id":"CVE-2021-34824","kev_date_added":null,"published":"2021-06-29"},{"cvss_score":8.7,"headline":"Istio JWKS resolver to prevent private key material from being exposed when JWKS fetch fails.","id":"CVE-2026-31837","kev_date_added":null,"published":"2026-03-10"},{"cvss_score":8.3,"headline":"Authorization Policy Bypass Due to Case Insensitive Host Comparison","id":"CVE-2021-39155","kev_date_added":null,"published":"2021-08-24"},{"cvss_score":8.1,"headline":"Fragments in Path May Lead to Authorization Policy Bypass","id":"CVE-2021-39156","kev_date_added":null,"published":"2021-08-24"},{"cvss_score":7.6,"headline":"Istio may allow identity impersonation if user has localhost access","id":"CVE-2022-39388","kev_date_added":null,"published":"2022-11-10"},{"cvss_score":7.5,"headline":"Istio vulnerable to denial of service attack due to Golang Regex Library","id":"CVE-2022-39278","kev_date_added":null,"published":"2022-10-13"}],"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":"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["istio"]},"summary":"Ill-formed headers can cause unexpected memory access and crashes in Istio Envoy proxies, primarily affecting exposed ingress gateways.","url":"https://insights.sbomify.com/CVE-2022-31045/"}