{"answers":{"affected":"2 open source packages ship an affected version, including golang and stdlib. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-58189 in the wild and no public exploit code.","fix":"Upgrade golang to a fixed version for your release line: 1.24.8 or 1.25.2.","what":"CVE-2025-58189 is a medium-severity vulnerability in Golang Go, published on 29 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-58189 and fix it if it is affected.\n\nWhat it is: CVE-2025-58189 is a medium-severity vulnerability in Golang Go, published on 29 Oct 2025. 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-2025-58189 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- golang (Bitnami): affected all versions; fixed in 1.24.8, 1.25.2\n- stdlib (Go): affected all versions; fixed in 1.24.8, 1.25.2\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-2025-58189/ (Markdown: https://insights.sbomify.com/CVE-2025-58189/index.md)","id":"CVE-2025-58189","markdown":"https://insights.sbomify.com/CVE-2025-58189/index.md","name":"CVE-2025-58189","record":{"aliases":["AZL-78917","AZL-98832","BELL-CVE-2025-58189","BIT-golang-2025-58189","CLEANSTART-2026-MM35384","CLEANSTART-2026-YA61137","CLEANSTART-2026-YO61836","DEBIAN-CVE-2025-58189","ECHO-6e83-4dca-520d","GHSA-cxq7-xw9v-rcv3","GO-2025-4008","MINI-224p-j6fm-v7c5","MINI-2636-4vqh-r8w6","MINI-273j-w63x-6hx5","MINI-28v4-xx63-7rxp","MINI-29j3-fvr4-9vjx","MINI-2c95-6xpv-jprg","MINI-2j65-2wrh-gh7m","MINI-2j9q-6cxg-8v46","MINI-2jp9-4r82-45cr","MINI-2p99-xg36-7pcm","MINI-2q98-5qw5-93w7","MINI-2qqp-gxqw-ghrr","MINI-2rrw-5q4h-2g6q","MINI-2vj6-f8xm-4cvw","MINI-2vmp-cg6m-mx3f","MINI-2w33-r63c-wrr3","MINI-2w6p-9vwg-8m99","MINI-2xgp-4vr9-4c65","MINI-3283-w3x8-3fqq","MINI-33f5-mv42-3qv3","MINI-33vm-j5fr-qc36","MINI-35cx-239r-c92x","MINI-35wc-wq3r-vhfq","MINI-37fm-9qv3-3m65","MINI-38x2-5fx7-wxw3","MINI-3c3h-hmq4-qp2h","MINI-3cj8-9rhr-5r6p","MINI-3gh6-g7vm-93rp","MINI-3h6m-7vc4-rgp8","MINI-3m2p-355q-cc2c","MINI-3p3p-3vg4-c8fc","MINI-3r2h-m8j3-89gv","MINI-3r2m-74j2-8973","MINI-3ww9-45j5-4v7r","MINI-3xvw-c8v5-9xj7","MINI-42qc-r9hm-wh2f","MINI-43gf-v966-rw2c","MINI-4664-2hg4-944h","MINI-466x-4hxh-3jpq","MINI-48gw-pwfv-8rwc","MINI-48qq-6cqw-x56x","MINI-49hx-3j8x-7993","MINI-4fh5-p5vx-cfj5","MINI-4g6q-8qj4-jrhp","MINI-4h3x-94vc-hhcm","MINI-4j23-6fxx-8fcc","MINI-4vxg-8mwv-cj78","MINI-4wjc-62mp-33pv","MINI-4x52-pgjg-9qg5","MINI-5332-8pq9-m4hf","MINI-55px-q82q-2p72","MINI-55q2-w25x-v56q","MINI-584v-rc4f-vj5j","MINI-5877-2f7c-wwgx","MINI-5956-76v9-2fwh","MINI-5j52-rjm9-3mq8","MINI-5j8w-wmw2-3j3g","MINI-5p7f-2m2j-mpx6","MINI-5pc4-g353-pvq4","MINI-5pr7-w2f7-9cwj","MINI-5qhp-xq3m-p437","MINI-5vgc-vg3c-w2g7","MINI-5w6x-24fx-pgxm","MINI-64p7-7pg7-v7xq","MINI-66g7-jrc9-5wfw","MINI-6933-m3w7-vr56","MINI-6cjc-vh2r-7w46","MINI-6gwc-m2c8-jjcj","MINI-6j7v-w643-pj2p","MINI-6jqx-5pgc-6fqx","MINI-6p44-4gx3-3ggx","MINI-6pgc-8pq2-7grr","MINI-6rwh-2g2h-q67x","MINI-726j-fx92-7c4r","MINI-727g-6j66-h239","MINI-7339-cgwv-fhmp","MINI-7472-64g5-h4gm","MINI-74vm-4hgr-9x57","MINI-75f2-22x6-qvfh","MINI-76cr-c77x-pg3p","MINI-774c-f78w-24rf","MINI-7gqm-vr9c-xcj2","MINI-7mxm-9r7h-f2g9","MINI-7q37-qvq3-mmjf","MINI-7vw5-c6px-hfqr","MINI-7wq9-6729-4gf9","MINI-7wxg-f49x-v5xf","MINI-7xwx-q337-pcw8","MINI-833m-3pc2-qgr3","MINI-84jh-475r-grjh","MINI-853g-m8pc-567f","MINI-884m-fj5p-r868","MINI-8cfc-5669-899m","MINI-8g78-4m38-hpjg","MINI-8j3w-mh8p-hh7x","MINI-8j72-v799-mww3","MINI-8p4r-mwp5-g4gp","MINI-8qgm-hc4q-qg4p","MINI-8vjq-7w9f-f23v","MINI-8vrr-4g88-w4qf","MINI-93fj-5r83-89c2","MINI-958x-j785-gpmx","MINI-95ff-fvv8-4qhr","MINI-9856-6fgj-h568","MINI-9gcg-v8xq-9g9j","MINI-9j36-j3mv-552v","MINI-9mg3-gvhq-5888","MINI-9qfw-rc4x-vxqw","MINI-9r3j-c5xw-j2pm","MINI-9v37-v8q9-jmqg","MINI-9vp3-hv62-g2f9","MINI-9w53-4v79-4j65","MINI-c64w-j682-v3qj","MINI-c729-pq52-rj5p","MINI-c83v-g4fc-8rv9","MINI-cf6q-775r-qqj4","MINI-cg9v-9878-pw6c","MINI-chgh-qmmw-m3fq","MINI-cj5g-f265-67mp","MINI-cm28-4r2r-2vhg","MINI-cp7h-4rrx-6w93","MINI-cv6m-xrv8-v9q6","MINI-cv9x-5mrp-fcqj","MINI-f443-qpcw-g3gq","MINI-f66v-4rm9-j7g3","MINI-f677-5w34-4pmj","MINI-f8ww-g3v6-xww2","MINI-f9m8-32qc-h35w","MINI-fg4v-x68m-42g4","MINI-fh4m-cww5-8pgj","MINI-fm5j-fg7w-jg33","MINI-fp93-4cvq-vrrm","MINI-fqjc-8v76-q82x","MINI-fqvh-c9x5-wgx6","MINI-fxcg-fwch-245p","MINI-g4gm-5cm7-qwx7","MINI-g523-5ggp-xwpw","MINI-g5w8-24vw-f25q","MINI-g6q6-33g4-cwfm","MINI-g7m7-5fhq-vvxm","MINI-g973-ffpr-w8j5","MINI-gc39-mmw8-9hqq","MINI-gcjf-wq5p-v8v5","MINI-gcx7-chfr-vw83","MINI-gf3p-9jrv-494v","MINI-gm82-q9q9-324c","MINI-gmv5-7v68-2xqv","MINI-grcg-45f3-cv9f","MINI-gv22-5g99-x5rw","MINI-gv4x-m259-5pvw","MINI-h2pq-vmmq-c79w","MINI-h2w9-m7c9-qpx6","MINI-h2x7-5j5g-x22x","MINI-h438-6grr-gc8f","MINI-h466-hh5j-8xrm","MINI-h6mq-2wmm-vp77","MINI-hf3x-7h9j-fr2c","MINI-hg7g-3643-8rj6","MINI-hgv8-jg4g-4jr7","MINI-hj8p-wr9f-9wpw","MINI-hm7v-3q2q-3rp4","MINI-hmvc-w822-q247","MINI-hmvh-h9pc-2hmc","MINI-hrr5-r7rv-9r3f","MINI-j397-997c-x88v","MINI-j3g7-5xhh-35cm","MINI-j4fr-6xjh-qfq6","MINI-j4gm-hqpg-j3gm","MINI-j4hw-h4jr-v82f","MINI-j4ww-2wpf-7636","MINI-j5xj-q8pr-m998","MINI-j7xv-96hv-3wg6","MINI-j9c2-5xp4-3m2g","MINI-j9fj-774g-3w38","MINI-j9wj-46cv-q9rr","MINI-jchq-3vhm-7mmw","MINI-jg9r-w68w-ffch","MINI-jv6q-qc43-6x9q","MINI-jx6c-4jhv-pwh8","MINI-m2gq-m8vx-39qc","MINI-m2j9-gx5c-vxgh","MINI-m6gx-4883-6qf8","MINI-m7gf-c4h3-4h3x","MINI-m88g-65ww-33xf","MINI-m9fj-g66x-qgrj","MINI-m9x2-v8p9-fj59","MINI-mggh-8q3g-g4rr","MINI-mgr3-c6v5-c4mf","MINI-mh3m-h8vq-q463","MINI-mjg3-pxh9-h28h","MINI-mmhf-c5wj-82vx","MINI-mqpm-43xf-h4gv","MINI-mvrc-q2j3-9fxh","MINI-mw2g-hvvx-893h","MINI-mw2v-v3rp-6367","MINI-mw33-p98x-6hc5","MINI-mw52-677j-4729","MINI-mxwp-7wp2-p3qw","MINI-p43w-f37f-p2wr","MINI-pc48-9v58-cg7q","MINI-pf2j-4648-76g9","MINI-pg9r-83cp-8928","MINI-pjjq-7qw4-83m3","MINI-pp2w-vqff-7g39","MINI-ppfp-95r2-3vwq","MINI-pw6w-9vpj-559j","MINI-pwv5-gf25-p2p5","MINI-px3v-7pf3-wxr2","MINI-q8vf-qwm7-8v3j","MINI-qcgm-vwh5-57fm","MINI-qfpx-c4gg-2r94","MINI-qfw2-vw5m-4whj","MINI-qhxp-54xc-fxx9","MINI-qjh9-4qqw-879j","MINI-qmgw-3qmr-47vf","MINI-qqrr-8pm8-876r","MINI-qr79-545g-6w2p","MINI-qvr7-87gv-fv89","MINI-r2p6-mg5p-hx2w","MINI-r2wf-pf3f-8qfg","MINI-r2x3-q3g6-h7h4","MINI-r42p-9pc7-f2cv","MINI-r4hp-366r-7vj3","MINI-r5hp-c6g2-87cf","MINI-r989-gr77-mjp5","MINI-r9cr-4qg8-4p4p","MINI-rch3-mhj3-x9f7","MINI-rg55-cq36-2332","MINI-rj3p-8cm7-5r3h","MINI-rq52-235r-9gq2","MINI-rqfr-9w23-mmgw","MINI-rw5c-r9r8-rwp7","MINI-rw8h-wfr2-28xm","MINI-rx3m-mq4h-jrg8","MINI-v24w-9c8c-5fcx","MINI-v276-vw85-pxjj","MINI-v353-674w-77qj","MINI-v447-rx27-4xcp","MINI-v569-59hw-g96g","MINI-v63g-f9m3-j2fg","MINI-v6gx-5qfr-c8cg","MINI-v888-96jp-pmfj","MINI-vfpp-84wc-f6w2","MINI-vh2h-gcmf-fj26","MINI-vmfr-4grg-6x75","MINI-vp3q-hcp7-538p","MINI-vqww-99mh-mjqw","MINI-vwpg-89qr-64q5","MINI-w455-9j49-489x","MINI-w55r-q7x7-57q4","MINI-w5f8-mgf4-7r57","MINI-w62g-3w49-7pcw","MINI-w7vg-jrjx-h9jf","MINI-w8pf-5g49-4mpm","MINI-wg2p-4hp5-8jm9","MINI-whh8-7mg5-c6vh","MINI-wp28-p4xg-6pw5","MINI-wpvc-559q-gmjp","MINI-wqww-ffwv-8rf8","MINI-wrc6-f9m4-v3j4","MINI-wxm9-fwj7-fwgg","MINI-x22p-jv7j-5q8m","MINI-x39r-gwxp-rm7f","MINI-x6cv-4pxm-m3mx","MINI-x8wm-fqqf-p2gj","MINI-xg4p-hg3x-jvqc","MINI-xghw-w933-pg4j","MINI-xhp9-wr7c-cgrm","MINI-xjrj-v774-5gmc","MINI-xm4f-92j2-7j32","MINI-xqr8-chgc-h5mf","MINI-xrc8-vr82-xcfj","MINI-xv42-pvx5-vhpf","MINI-xw53-j8m5-p25q","MINI-xw7v-qfvj-6wcf","ROOT-OS-DEBIAN-13-CVE-2025-58189","UBUNTU-CVE-2025-58189"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Go crypto/tls library","requires_auth":"none","summary":"An attacker can inject unescaped data into error logs during failed TLS handshakes, potentially exposing sensitive information to system administrators.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Go","cpe":[{"product":"go","vendor":"golang"}],"cvss":{"score":5.3,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"description":"When Conn.Handshake fails during ALPN negotiation the error contains attacker controlled information (the ALPN protocols sent by the client) which is not escaped.","ecosystems":["Bitnami","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":"ALPN negotiation error contains attacker controlled information in crypto/tls","id":"CVE-2025-58189","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"golang:go","products":["golang:go"],"type":"information_disclosure","year":"2025"},"n_packages":2,"n_references":4,"next":{"headline":"Infinite parsing loop in golang.org/x/net","id":"CVE-2025-58190"},"packages":[{"ecosystem":"Bitnami","fixed":["1.24.8","1.25.2"],"introduced":["0","1.25.0"],"last_affected":[],"package":"golang","purl":"pkg:bitnami/golang","source":"BIT-golang-2025-58189"},{"ecosystem":"Go","fixed":["1.24.8","1.25.2"],"introduced":["0","1.25.0"],"last_affected":[],"package":"stdlib","purl":"pkg:golang/stdlib","source":"GO-2025-4008"}],"prev":{"headline":"Panic when validating certificates with DSA public keys in crypto/x509","id":"CVE-2025-58188"},"products":["crypto/tls"],"published":"2025-10-29","related":[{"cvss_score":8.1,"headline":"Microsoft Windows CryptoAPI Spoofing","id":"CVE-2020-0601","kev_date_added":"2021-11-03","published":"2020-01-14"},{"cvss_score":9.8,"headline":"Missing bound checks can lead to memory corruption in safe Go in cmd/compile","id":"CVE-2026-27143","kev_date_added":null,"published":"2026-04-08"},{"cvss_score":9.8,"headline":"Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses in net/netip","id":"CVE-2024-24790","kev_date_added":null,"published":"2024-06-05"},{"cvss_score":9.8,"headline":"Arbitrary code execution via go.mod toolchain directive in cmd/go","id":"CVE-2023-39320","kev_date_added":null,"published":"2023-09-08"},{"cvss_score":9.8,"headline":"Improper handling of JavaScript whitespace in html/template","id":"CVE-2023-24540","kev_date_added":null,"published":"2023-05-11"},{"cvss_score":9.8,"headline":"Backticks not treated as string delimiters in html/template","id":"CVE-2023-24538","kev_date_added":null,"published":"2023-04-06"},{"cvss_score":9.8,"headline":"Other in go/golang","id":"CVE-2012-2666","kev_date_added":null,"published":"2021-07-09"}],"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":"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-04","vendors":["Go standard library"]},"summary":"An attacker can inject unescaped data into error logs during failed TLS handshakes, potentially exposing sensitive information to system administrators.","url":"https://insights.sbomify.com/CVE-2025-58189/"}