{"answers":{"affected":"2 open source packages ship an affected version, including golang and stdlib. It affects 6 products.","exploited":"There is no known exploitation of CVE-2021-34558 in the wild and no public exploit code.","fix":"Upgrade golang to a fixed version for your release line: 1.15.14 or 1.16.6.","what":"CVE-2021-34558 is a medium-severity denial of service vulnerability in Fedoraproject Fedora, published on 15 Jul 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-34558 and fix it if it is affected.\n\nWhat it is: CVE-2021-34558 is a medium-severity denial of service vulnerability in Fedoraproject Fedora, published on 15 Jul 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2021-34558 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- golang (Bitnami): affected all versions; fixed in 1.15.14, 1.16.6\n- stdlib (Go): affected all versions; fixed in 1.15.14, 1.16.6\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-34558/ (Markdown: https://insights.sbomify.com/CVE-2021-34558/index.md)","id":"CVE-2021-34558","markdown":"https://insights.sbomify.com/CVE-2021-34558/index.md","name":"CVE-2021-34558","record":{"aliases":["AZL-105164","AZL-105167","BIT-golang-2021-34558","DEBIAN-CVE-2021-34558","GHSA-hqrm-74p3-w275","GO-2021-0243","RHEA-2021:3287","RHSA-2021:3015","SUSE-SU-2021:2392-1","SUSE-SU-2021:2398-1","UBUNTU-CVE-2021-34558","openSUSE-SU-2021:1078-1","openSUSE-SU-2021:1079-1","openSUSE-SU-2021:2392-1","openSUSE-SU-2021:2398-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Go crypto/tls library","requires_auth":"none","summary":"A malicious TLS server can cause a Go TLS client to panic due to improper public key type assertion, resulting in a denial of service.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"fedora","vendor":"fedoraproject"},{"product":"go","vendor":"golang"},{"product":"cloud_insights_telegraf","vendor":"netapp"},{"product":"storagegrid","vendor":"netapp"},{"product":"trident","vendor":"netapp"},{"product":"timesten_in-memory_database","vendor":"oracle"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-295","name":"Improper Certificate Validation"}],"description":"The crypto/tls package of Go through 1.16.5 does not properly assert that the type of public key in an X.509 certificate matches the expected type when doing a RSA based key exchange, allowing a malicious TLS server to cause a TLS client to panic.","ecosystems":["Bitnami","Go","Red Hat:devtools:2021","Red Hat:openshift_service_on_aws:1::el8","SUSE:Linux Enterprise Module for Development Tools 15 SP2","SUSE:Linux Enterprise Module for Development Tools 15 SP3","openSUSE:Leap 15.2","openSUSE:Leap 15.3"],"exploits":{"exploitdb":0,"first_seen":"2021-07-13","github_poc":1,"max_poc_stars":45,"metasploit":0,"nuclei":0,"refs":[{"date":"2021-07-13T06:15:21Z","kind":"github_poc","ref":"https://github.com/alexzorin/cve-2021-34558","stars":45,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Denial of service in n/a","id":"CVE-2021-34558","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"fedoraproject:fedora","products":["fedoraproject:fedora","golang:go","netapp:storagegrid"],"type":"denial_of_service","year":"2021"},"n_packages":23,"n_references":16,"next":{"headline":"Other in WHA-GW-F2D2-0-AS- Z2-ETH","id":"CVE-2021-34559"},"packages":[{"ecosystem":"Bitnami","fixed":["1.15.14","1.16.6"],"introduced":["0","1.16.0"],"last_affected":[],"package":"golang","purl":"pkg:bitnami/golang","source":"BIT-golang-2021-34558"},{"ecosystem":"Go","fixed":["1.15.14","1.16.6"],"introduced":["0","1.16.0-0"],"last_affected":[],"package":"stdlib","purl":"pkg:golang/stdlib","source":"GO-2021-0243"},{"ecosystem":"Red Hat:devtools:2021","fixed":["0:1.15.14-1.el7_9"],"introduced":["0"],"last_affected":[],"package":"go-toolset-1.15","purl":"pkg:rpm/redhat/go-toolset-1.15","source":"RHSA-2021:3015"},{"ecosystem":"Red Hat:devtools:2021","fixed":["0:1.15.14-1.el7_9"],"introduced":["0"],"last_affected":[],"package":"go-toolset-1.15-build","purl":"pkg:rpm/redhat/go-toolset-1.15-build","source":"RHSA-2021:3015"},{"ecosystem":"Red Hat:devtools:2021","fixed":["0:1.15.14-1.el7_9"],"introduced":["0"],"last_affected":[],"package":"go-toolset-1.15-golang","purl":"pkg:rpm/redhat/go-toolset-1.15-golang","source":"RHSA-2021:3015"},{"ecosystem":"Red Hat:devtools:2021","fixed":["0:1.15.14-1.el7_9"],"introduced":["0"],"last_affected":[],"package":"go-toolset-1.15-golang-bin","purl":"pkg:rpm/redhat/go-toolset-1.15-golang-bin","source":"RHSA-2021:3015"},{"ecosystem":"Red Hat:devtools:2021","fixed":["0:1.15.14-1.el7_9"],"introduced":["0"],"last_affected":[],"package":"go-toolset-1.15-golang-docs","purl":"pkg:rpm/redhat/go-toolset-1.15-golang-docs","source":"RHSA-2021:3015"},{"ecosystem":"Red Hat:devtools:2021","fixed":["0:1.15.14-1.el7_9"],"introduced":["0"],"last_affected":[],"package":"go-toolset-1.15-golang-misc","purl":"pkg:rpm/redhat/go-toolset-1.15-golang-misc","source":"RHSA-2021:3015"},{"ecosystem":"Red Hat:devtools:2021","fixed":["0:1.15.14-1.el7_9"],"introduced":["0"],"last_affected":[],"package":"go-toolset-1.15-golang-race","purl":"pkg:rpm/redhat/go-toolset-1.15-golang-race","source":"RHSA-2021:3015"},{"ecosystem":"Red Hat:devtools:2021","fixed":["0:1.15.14-1.el7_9"],"introduced":["0"],"last_affected":[],"package":"go-toolset-1.15-golang-src","purl":"pkg:rpm/redhat/go-toolset-1.15-golang-src","source":"RHSA-2021:3015"},{"ecosystem":"Red Hat:devtools:2021","fixed":["0:1.15.14-1.el7_9"],"introduced":["0"],"last_affected":[],"package":"go-toolset-1.15-golang-tests","purl":"pkg:rpm/redhat/go-toolset-1.15-golang-tests","source":"RHSA-2021:3015"},{"ecosystem":"Red Hat:devtools:2021","fixed":["0:1.15.14-1.el7_9"],"introduced":["0"],"last_affected":[],"package":"go-toolset-1.15-runtime","purl":"pkg:rpm/redhat/go-toolset-1.15-runtime","source":"RHSA-2021:3015"},{"ecosystem":"Red Hat:devtools:2021","fixed":["0:1.15.14-1.el7_9"],"introduced":["0"],"last_affected":[],"package":"go-toolset-1.15-scldevel","purl":"pkg:rpm/redhat/go-toolset-1.15-scldevel","source":"RHSA-2021:3015"},{"ecosystem":"Red Hat:openshift_service_on_aws:1::el8","fixed":["0:1.1.1-51c4a5e.el8"],"introduced":["0"],"last_affected":[],"package":"rosa","purl":"pkg:rpm/redhat/rosa","source":"RHEA-2021:3287"},{"ecosystem":"Red Hat:openshift_service_on_aws:1::el8","fixed":["0:1.1.1-51c4a5e.el8"],"introduced":["0"],"last_affected":[],"package":"rosa-redistributable","purl":"pkg:rpm/redhat/rosa-redistributable","source":"RHEA-2021:3287"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP2","fixed":["1.15.14-1.36.1"],"introduced":["0"],"last_affected":[],"package":"go1.15","purl":"pkg:rpm/suse/go1.15\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP2","source":"SUSE-SU-2021:2398-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP2","fixed":["1.16.6-1.20.1"],"introduced":["0"],"last_affected":[],"package":"go1.16","purl":"pkg:rpm/suse/go1.16\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP2","source":"SUSE-SU-2021:2392-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP3","fixed":["1.15.14-1.36.1"],"introduced":["0"],"last_affected":[],"package":"go1.15","purl":"pkg:rpm/suse/go1.15\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP3","source":"SUSE-SU-2021:2398-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP3","fixed":["1.16.6-1.20.1"],"introduced":["0"],"last_affected":[],"package":"go1.16","purl":"pkg:rpm/suse/go1.16\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP3","source":"SUSE-SU-2021:2392-1"},{"ecosystem":"openSUSE:Leap 15.2","fixed":["1.15.14-lp152.23.1"],"introduced":["0"],"last_affected":[],"package":"go1.15","purl":"pkg:rpm/opensuse/go1.15\u0026distro=openSUSE%20Leap%2015.2","source":"openSUSE-SU-2021:1079-1"},{"ecosystem":"openSUSE:Leap 15.2","fixed":["1.16.6-lp152.5.1"],"introduced":["0"],"last_affected":[],"package":"go1.16","purl":"pkg:rpm/opensuse/go1.16\u0026distro=openSUSE%20Leap%2015.2","source":"openSUSE-SU-2021:1078-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["1.15.14-1.36.1"],"introduced":["0"],"last_affected":[],"package":"go1.15","purl":"pkg:rpm/opensuse/go1.15\u0026distro=openSUSE%20Leap%2015.3","source":"openSUSE-SU-2021:2398-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["1.16.6-1.20.1"],"introduced":["0"],"last_affected":[],"package":"go1.16","purl":"pkg:rpm/opensuse/go1.16\u0026distro=openSUSE%20Leap%2015.3","source":"openSUSE-SU-2021:2392-1"}],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2021-34557"},"products":["n/a"],"published":"2021-07-15","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":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHEA"},{"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":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"A malicious TLS server can cause a Go TLS client to panic due to improper public key type assertion, resulting in a denial of service.","url":"https://insights.sbomify.com/CVE-2021-34558/"}