{"answers":{"affected":"3 open source packages ship an affected version, including github.com/russellhaering/gosaml2. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-26483 in the wild and no public exploit code.","fix":"Upgrade github.com/russellhaering/gosaml2 to 0.9.0 or later.","what":"CVE-2023-26483 is a medium-severity denial of service vulnerability in russellhaering gosaml2, published on 3 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-26483 and fix it if it is affected.\n\nWhat it is: CVE-2023-26483 is a medium-severity denial of service vulnerability in russellhaering gosaml2, published on 3 Mar 2023. 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-2023-26483 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/russellhaering/gosaml2 (Go): affected all versions; fixed in 0.9.0\n- github.com/russellhaering/gosaml2 (Go): affected all versions; fixed in 0.9.0\n- github.com/russellhaering/gosaml2 (Go): affected all versions; fixed in 0.9.0\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-2023-26483/ (Markdown: https://insights.sbomify.com/CVE-2023-26483/index.md)","id":"CVE-2023-26483","markdown":"https://insights.sbomify.com/CVE-2023-26483/index.md","name":"CVE-2023-26483","record":{"aliases":["GHSA-6gc3-crp7-25w5","GO-2023-1602"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Go SAML library","requires_auth":"none","summary":"Attackers can cause denial of service in SAML Service Providers using gosaml2 by sending compressed requests that exhaust memory.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"gosaml2","vendor":"gosaml2_project"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-409","name":"Improper Handling of Highly Compressed Data (Data Amplification)"}],"description":"gosaml2 is a Pure Go implementation of SAML 2.0. SAML Service Providers using this library for SAML authentication support are likely susceptible to Denial of Service attacks. A bug in this library enables attackers to craft a `deflate`-compressed request which will consume significantly more memory during processing than the size of the original request. This may eventually lead to memory exhaustion and the process being killed. The maximum compression ratio achievable with `deflate` is 1032:1, so by limiting the size of bodies passed to gosaml2, limiting the rate and concurrency of calls, and ensuring that lots of memory is available to the process it _may_ be possible to help Go's garbage collector \"keep up\". Implementors are encouraged not to rely on this. This issue is fixed  in version 0.9.0.","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":"gosaml2 vulnerable to Denial of Service via deflate decompression bomb","id":"CVE-2023-26483","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2023"},"n_packages":3,"n_references":4,"next":{"headline":"On a compromised KubeVirt node, the virt-handler service account can be used to modify all node specs","id":"CVE-2023-26484"},"packages":[{"ecosystem":"Go","fixed":["0.9.0"],"introduced":["0"],"last_affected":[],"package":"github.com/russellhaering/gosaml2","purl":null,"source":"GHSA-6gc3-crp7-25w5"},{"ecosystem":"Go","fixed":["0.9.0"],"introduced":["0"],"last_affected":[],"package":"github.com/russellhaering/gosaml2","purl":"pkg:golang/github.com/russellhaering/gosaml2","source":"GHSA-6gc3-crp7-25w5"},{"ecosystem":"Go","fixed":["0.9.0"],"introduced":["0"],"last_affected":[],"package":"github.com/russellhaering/gosaml2","purl":"pkg:golang/github.com/russellhaering/gosaml2","source":"GO-2023-1602"}],"prev":{"headline":"Scope of workflow operations is not validated in nextcloud server","id":"CVE-2023-26482"},"products":["gosaml2"],"published":"2023-03-03","related":[{"cvss_score":7.5,"headline":"Denial of Service (DoS)","id":"CVE-2020-7731","kev_date_added":null,"published":"2021-04-30"}],"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":"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-02-25","vendors":["russellhaering"]},"summary":"Attackers can cause denial of service in SAML Service Providers using gosaml2 by sending compressed requests that exhaust memory.","url":"https://insights.sbomify.com/CVE-2023-26483/"}