Description (CNA)
SIPGO is a library for writing SIP services in the GO language. Prior to 1.4.3, WSConnection.Read in sip/transport_ws.go creates a wsutil.Reader without setting MaxFrameSize, allowing NextFrame to accept a client-controlled header.Length before ParseMaxMessageLength is applied. An unauthenticated WS or WSS peer can send a frame header declaring an extremely large payload, causing an oversized allocation or a makeslice length panic before the payload is read and crashing or exhausting memory in the server process. This issue is fixed in version 1.4.3.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| emiago / sipgo | affected < 1.4.3 |
CWE
CWE-789
References
- https://github.com/emiago/sipgo/security/advisories/GHSA-8h6x-h86x-75wh
- https://github.com/emiago/sipgo/commit/769e4bc958376e2363566c8f7042202b410becdc
- https://github.com/emiago/sipgo/releases/tag/v1.4.3
ADP enrichment
No English description supplied.