{"id":"CVE-2023-26483","aliases":["GHSA-6gc3-crp7-25w5","GO-2023-1602"],"summary":"gosaml2 vulnerable to Denial of Service via deflate decompression bomb","published_at":"2023-03-02T23:12:47Z","modified_at":"2026-09-10T03:49:52.708847Z","products":[],"rating":{"severity":"medium","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.009639999829232693,"percentile":0.6240299940109253,"date":"2026-11-19T00:00:00Z"},"priority":7.3,"details":"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.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"russellhaering/gosaml2","versions":["< 0.9.0"],"provider":"cvelistv5","source":"CVE-2023-26483","relation":"self"},{"ecosystem":"Go","package":"github.com/russellhaering/gosaml2","purl":"pkg:golang/github.com/russellhaering/gosaml2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.9.0"}]}],"fixed":["0.9.0"],"provider":"osv","source":"GHSA-6gc3-crp7-25w5","relation":"self"},{"ecosystem":"Go","package":"github.com/russellhaering/gosaml2","purl":"pkg:golang/github.com/russellhaering/gosaml2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.9.0"}]}],"fixed":["0.9.0"],"provider":"osv","source":"GO-2023-1602","relation":"self"},{"ecosystem":"NVD","package":"gosaml2_project:gosaml2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.0"}]}],"fixed":["0.9.0"],"provider":"nvd","source":"CVE-2023-26483","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 3","cpe":"cpe:/a:redhat:advanced_cluster_security:3","status":"affected","packages":["advanced-cluster-security/rhacs-main-rhel8","advanced-cluster-security/rhacs-roxctl-rhel8","advanced-cluster-security/rhacs-scanner-rhel8"],"package_count":3,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2023-26483"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4","cpe":"cpe:/a:redhat:advanced_cluster_security:4","status":"not_affected","packages":["advanced-cluster-security/rhacs-main-rhel8","advanced-cluster-security/rhacs-roxctl-rhel8","advanced-cluster-security/rhacs-scanner-rhel8"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-26483"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2023-26483","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2023-26483","license":"CC-BY-4.0","published_at":"2023-03-03T22:02:44.757Z","modified_at":"2025-02-25T15:02:24.668Z","summary":"gosaml2 vulnerable to Denial of Service via deflate decompression bomb","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"CVE-2023-26483"}],"affected":[{"ecosystem":"CVE","package":"russellhaering/gosaml2","versions":["< 0.9.0"],"provider":"cvelistv5","source":"CVE-2023-26483","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/russellhaering/gosaml2/security/advisories/GHSA-6gc3-crp7-25w5"},{"type":"WEB","url":"https://github.com/russellhaering/gosaml2/commit/f9d66040241093e8702649baff50cc70d2c683c0"},{"type":"WEB","url":"https://github.com/russellhaering/gosaml2/releases/tag/v0.9.0"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2023-1602"}]},{"provider":"nvd","source_id":"CVE-2023-26483","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26483","severity":[],"affected":[{"ecosystem":"NVD","package":"gosaml2_project:gosaml2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.0"}]}],"fixed":["0.9.0"],"provider":"nvd","source":"CVE-2023-26483","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-6gc3-crp7-25w5","relation":"self","url":"https://osv.dev/vulnerability/GHSA-6gc3-crp7-25w5","license":"CC-BY-4.0","published_at":"2023-03-02T23:12:47Z","modified_at":"2026-09-10T03:49:52.708847Z","summary":"gosaml2 vulnerable to Denial Of Service Via Deflate Decompression Bomb","details":"### Impact\nSAML 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.\n\n### Mitigation\nThe 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\".\n\nImplementors are encouraged not to rely on this.\n\n### Patches\nThis issue is addressed in v0.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"GHSA-6gc3-crp7-25w5"}],"affected":[{"ecosystem":"Go","package":"github.com/russellhaering/gosaml2","purl":"pkg:golang/github.com/russellhaering/gosaml2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.9.0"}]}],"fixed":["0.9.0"],"provider":"osv","source":"GHSA-6gc3-crp7-25w5","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/russellhaering/gosaml2/security/advisories/GHSA-6gc3-crp7-25w5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26483"},{"type":"WEB","url":"https://github.com/russellhaering/gosaml2/commit/f9d66040241093e8702649baff50cc70d2c683c0"},{"type":"PACKAGE","url":"https://github.com/russellhaering/gosaml2"},{"type":"WEB","url":"https://github.com/russellhaering/gosaml2/releases/tag/v0.9.0"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2023-1602"}]},{"provider":"osv","source_id":"GO-2023-1602","relation":"self","url":"https://osv.dev/vulnerability/GO-2023-1602","license":"CC-BY-4.0","published_at":"2023-03-03T17:17:54Z","modified_at":"2024-05-20T16:03:47Z","summary":"Denial of service via deflate decompression bomb in github.com/russellhaering/gosaml2","details":"A bug in SAML authentication library can result in Denial of Service attacks.\n\nAttackers can 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.","severity":[],"affected":[{"ecosystem":"Go","package":"github.com/russellhaering/gosaml2","purl":"pkg:golang/github.com/russellhaering/gosaml2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.9.0"}]}],"fixed":["0.9.0"],"provider":"osv","source":"GO-2023-1602","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-6gc3-crp7-25w5"},{"type":"FIX","url":"https://github.com/russellhaering/gosaml2/commit/f9d66040241093e8702649baff50cc70d2c683c0"},{"type":"WEB","url":"https://github.com/russellhaering/gosaml2/releases/tag/v0.9.0"}]},{"provider":"redhat-vex","source_id":"CVE-2023-26483","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2023-26483","license":"CC-BY-4.0","published_at":"2023-03-04T00:00:00Z","modified_at":"2023-07-07T08:31:27Z","summary":"gosaml2: Denial of service via `deflate`-compressed request","details":"A flaw was found in the gosaml2 package library. This issue may allow 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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"CVE-2023-26483"},{"type":"Red Hat","score":"Moderate","source":"CVE-2023-26483"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 3","cpe":"cpe:/a:redhat:advanced_cluster_security:3","status":"affected","packages":["advanced-cluster-security/rhacs-main-rhel8","advanced-cluster-security/rhacs-roxctl-rhel8","advanced-cluster-security/rhacs-scanner-rhel8"],"package_count":3,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2023-26483"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4","cpe":"cpe:/a:redhat:advanced_cluster_security:4","status":"not_affected","packages":["advanced-cluster-security/rhacs-main-rhel8","advanced-cluster-security/rhacs-roxctl-rhel8","advanced-cluster-security/rhacs-scanner-rhel8"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-26483"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-26483.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-26483"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2176466"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2023-26483"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26483"},{"type":"WEB","url":"https://github.com/russellhaering/gosaml2/security/advisories/GHSA-6gc3-crp7-25w5"}]}],"references":[{"type":"WEB","url":"https://github.com/russellhaering/gosaml2/security/advisories/GHSA-6gc3-crp7-25w5"},{"type":"WEB","url":"https://github.com/russellhaering/gosaml2/commit/f9d66040241093e8702649baff50cc70d2c683c0"},{"type":"WEB","url":"https://github.com/russellhaering/gosaml2/releases/tag/v0.9.0"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2023-1602"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26483"},{"type":"PACKAGE","url":"https://github.com/russellhaering/gosaml2"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-6gc3-crp7-25w5"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-26483.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-26483"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2176466"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2023-26483"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2023-26483","url":"https://www.cve.org/CVERecord?id=CVE-2023-26483","license":"CC-BY-4.0","modified_at":"2025-02-25T15:02:24.668Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2023-26483","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26483","relation":"self"},{"provider":"osv","source_id":"GHSA-6gc3-crp7-25w5","url":"https://osv.dev/vulnerability/GHSA-6gc3-crp7-25w5","license":"CC-BY-4.0","modified_at":"2026-09-10T03:49:52.708847Z","relation":"self"},{"provider":"osv","source_id":"GO-2023-1602","url":"https://osv.dev/vulnerability/GO-2023-1602","license":"CC-BY-4.0","modified_at":"2024-05-20T16:03:47Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2023-26483","url":"https://access.redhat.com/security/cve/CVE-2023-26483","license":"CC-BY-4.0","modified_at":"2023-07-07T08:31:27Z","relation":"self"}]}
