Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2023-26483

Summary
Assigner-GitHub_M
Assigner Org ID-a0819718-46f1-4df5-94e2-005712e83aaa
Published At-03 Mar, 2023 | 22:02
Updated At-25 Feb, 2025 | 15:02
Rejected At-
Credits

gosaml2 vulnerable to Denial of Service via deflate decompression bomb

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.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:GitHub_M
Assigner Org ID:a0819718-46f1-4df5-94e2-005712e83aaa
Published At:03 Mar, 2023 | 22:02
Updated At:25 Feb, 2025 | 15:02
Rejected At:
▼CVE Numbering Authority (CNA)
gosaml2 vulnerable to Denial of Service via deflate decompression bomb

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 Products
Vendor
russellhaering
Product
gosaml2
Versions
Affected
  • < 0.9.0
Problem Types
TypeCWE IDDescription
CWECWE-409CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)
Type: CWE
CWE ID: CWE-409
Description: CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)
Metrics
VersionBase scoreBase severityVector
3.15.3MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Version: 3.1
Base score: 5.3
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/russellhaering/gosaml2/security/advisories/GHSA-6gc3-crp7-25w5
x_refsource_CONFIRM
https://github.com/russellhaering/gosaml2/commit/f9d66040241093e8702649baff50cc70d2c683c0
x_refsource_MISC
https://github.com/russellhaering/gosaml2/releases/tag/v0.9.0
x_refsource_MISC
https://pkg.go.dev/vuln/GO-2023-1602
x_refsource_MISC
Hyperlink: https://github.com/russellhaering/gosaml2/security/advisories/GHSA-6gc3-crp7-25w5
Resource:
x_refsource_CONFIRM
Hyperlink: https://github.com/russellhaering/gosaml2/commit/f9d66040241093e8702649baff50cc70d2c683c0
Resource:
x_refsource_MISC
Hyperlink: https://github.com/russellhaering/gosaml2/releases/tag/v0.9.0
Resource:
x_refsource_MISC
Hyperlink: https://pkg.go.dev/vuln/GO-2023-1602
Resource:
x_refsource_MISC
▼Authorized Data Publishers (ADP)
1. CVE Program Container
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/russellhaering/gosaml2/security/advisories/GHSA-6gc3-crp7-25w5
x_refsource_CONFIRM
x_transferred
https://github.com/russellhaering/gosaml2/commit/f9d66040241093e8702649baff50cc70d2c683c0
x_refsource_MISC
x_transferred
https://github.com/russellhaering/gosaml2/releases/tag/v0.9.0
x_refsource_MISC
x_transferred
https://pkg.go.dev/vuln/GO-2023-1602
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/russellhaering/gosaml2/security/advisories/GHSA-6gc3-crp7-25w5
Resource:
x_refsource_CONFIRM
x_transferred
Hyperlink: https://github.com/russellhaering/gosaml2/commit/f9d66040241093e8702649baff50cc70d2c683c0
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/russellhaering/gosaml2/releases/tag/v0.9.0
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://pkg.go.dev/vuln/GO-2023-1602
Resource:
x_refsource_MISC
x_transferred
2. CISA ADP Vulnrichment
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:security-advisories@github.com
Published At:03 Mar, 2023 | 23:15
Updated At:07 Nov, 2023 | 04:09

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.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Primary3.15.3MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Secondary3.15.3MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Type: Primary
Version: 3.1
Base score: 5.3
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Type: Secondary
Version: 3.1
Base score: 5.3
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CPE Matches

gosaml2_project
gosaml2_project
>>gosaml2>>Versions before 0.9.0(exclusive)
cpe:2.3:a:gosaml2_project:gosaml2:*:*:*:*:*:*:*:*
Weaknesses
CWE IDTypeSource
NVD-CWE-OtherPrimarynvd@nist.gov
CWE-409Secondarysecurity-advisories@github.com
CWE ID: NVD-CWE-Other
Type: Primary
Source: nvd@nist.gov
CWE ID: CWE-409
Type: Secondary
Source: security-advisories@github.com
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://github.com/russellhaering/gosaml2/commit/f9d66040241093e8702649baff50cc70d2c683c0security-advisories@github.com
Patch
https://github.com/russellhaering/gosaml2/releases/tag/v0.9.0security-advisories@github.com
Release Notes
https://github.com/russellhaering/gosaml2/security/advisories/GHSA-6gc3-crp7-25w5security-advisories@github.com
Vendor Advisory
https://pkg.go.dev/vuln/GO-2023-1602security-advisories@github.com
Third Party Advisory
Hyperlink: https://github.com/russellhaering/gosaml2/commit/f9d66040241093e8702649baff50cc70d2c683c0
Source: security-advisories@github.com
Resource:
Patch
Hyperlink: https://github.com/russellhaering/gosaml2/releases/tag/v0.9.0
Source: security-advisories@github.com
Resource:
Release Notes
Hyperlink: https://github.com/russellhaering/gosaml2/security/advisories/GHSA-6gc3-crp7-25w5
Source: security-advisories@github.com
Resource:
Vendor Advisory
Hyperlink: https://pkg.go.dev/vuln/GO-2023-1602
Source: security-advisories@github.com
Resource:
Third Party Advisory

Change History

0
Information is not available yet

Similar CVEs

0Records found

Details not found