CVE-2023-26483
Gosaml2 Project Gosaml2 ≤ 0.9.0
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2023-26483 is a medium-severity Data Amplification (CWE-409) vulnerability in Gosaml2 Project Gosaml2. Its CVSS base score is 5.3 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Endpoint Denial of Service (T1499); ranked in the top 38% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-0904
Vulnerability Data
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…
more
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.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Likely Mitigating Controls
Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Limits effects of data amplification from compressed or malicious inputs.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Secure-development practices include input-validation and resource-limit checks that prevent improper handling of compressed data.
Runtime monitoring of compute resources can detect exhaustion caused by decompression bombs.
Capacity planning and monitoring directly limits the availability impact of data-amplification attacks.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing can uncover decompression-bomb vulnerabilities before release.
Technical training for teams that build parsers/handlers of compressed input can teach developers about decompression bombs and the need for size limits during decompression, but the general awareness programme does not reach this niche implementation defect, and only a minority of developers receive the relevant specialised training.
Monitoring can detect anomalous resource usage but does not prevent the weakness.
Secure coding practices directly require bounds checking and safe handling of compressed data.
A.8.30 carries its effect through the secure-development practices (8.25–8.29) its contract requires of the supplier, so it reduces ordinary software weaknesses in delivered code the way those practices do; CWE-409 is a regular implementation weakness that secure coding and testing would address, but the clause's reach is bounded by the supplier's fallible practice, matching the owner-graded A.8.30 -> CWE-134 anchor at the clause's declared ceiling.
A.8.8's reach is DISCLOSURE — it sees only instances that carry a vendor-published flaw via vulnerability scanning, CVE tracking, and supplier reporting. CWE-409 does surface as CVEs (XML bombs in web servers, parsing libraries), so the disclosed third-party share is found. But the majority of CWE-409 instances live in first-party code (custom XML parsers, custom decompression handlers) where no advisory exists, and A.8.8 does not read source — that reach belongs to A.8.28/A.8.29. Same logic as A.8.8 finds CWE-89 = partial.