SIPGO
SIPGO: DoS via unvalidated Content-Length in the stream parser
SIPGO is a library for writing SIP services in the GO language. Prior to 1.4.1, ParserStream.parseSingle in sip/parser_stream.go allocates a SIP body buffer from the client-controlled Content-Length header before ParseMaxMessageLength is enforced. An unauthenticated peer can send a stream-transport message over TCP, TLS, WS, or WSS with an oversized declared length, causing excessive memory allocation and denial of service before the body is read. This issue is fixed in version 1.4.1.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-789
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
emiago sipgo
- < 1.4.1
Fixed in 1.4.1
Mitigation
Upgrade sipgo to 1.4.1 or later.
References
- Vendor advisory github.com/emiago/sipgo/security/advisories/GH…
- Patch github.com/emiago/sipgo/commit/a7be60a07f48c06…
- Release notes github.com/emiago/sipgo/releases/tag/v1.4.1
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.