CVE-2023-26483

gosaml2 vulnerable to Denial of Service via deflate decompression bomb

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.

Category

5.3
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.19%
Vendor Advisory github.com
Affected: russellhaering gosaml2
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-26483?
CVE-2023-26483 has been scored as a medium severity vulnerability.
How to fix CVE-2023-26483?
To fix CVE-2023-26483, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2023-26483 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2023-26483 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-26483?
CVE-2023-26483 affects russellhaering gosaml2.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.