libupnp chunked HTTP bodies can bypass g_maxContentLength and be fully buffered
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| pupnp | pupnp | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Pupnp | Pupnp |
|
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.410% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Pupnp Project
Pupnp Project pupnp |
|
| CPEs | cpe:2.3:a:pupnp_project:pupnp:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Pupnp Project
Pupnp Project pupnp |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Pupnp
Pupnp pupnp |
|
| Vendors & Products |
Pupnp
Pupnp pupnp |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | pupnp is an SDK for development of UPnP device and control point applications. Prior to 2.0.2, Transfer-Encoding: chunked causes the HTTP parser in upnp/src/genlib/net/http/httpparser.c to leave parser->content_length at zero while parser_parse_chunky_entity and parser_parse_chunky_body accumulate decoded bytes in parser->msg.entity. The g_maxContentLength checks in http_RecvMessage in upnp/src/genlib/net/http/httpreadwrite.c therefore reject oversized numeric Content-Length bodies but do not enforce the same limit on decoded chunked bodies. A remote peer that can reach a SOAP, GENA, miniserver, or control-point HTTP response path can make the process buffer an entity larger than the configured maximum, causing resource exhaustion and denial of service. This issue is fixed in 2.0.2. | |
| Title | libupnp chunked HTTP bodies can bypass g_maxContentLength and be fully buffered | |
| Weaknesses | CWE-770 | |
| References |
| |
| Metrics |
cvssV3_1
|