Description (CNA)
miniupnpc through 2.3.3 contains a one-byte heap out-of-bounds read vulnerability in the minixml parseelt function's namespace-prefix handling that skips an end-of-buffer check after advancing past ':'. A malicious or spoofed UPnP gateway on the local network can send a device description or SOAP reply ending in ':' within an element name to crash the client.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| miniupnp project / miniupnpc | affected 0 through 2.3.3 |
CWE
CWE-125
References
- https://hackmd.io/@haind-pwn/miniupnpc-minixml-oob-read
- https://github.com/miniupnp/miniupnp/blob/bf4215a7574f88aa55859db9db00e3ae58cf42d6/miniupnpc/src/minixml.c#L141
- https://github.com/miniupnp/miniupnp/commit/64ef08a12aabab57be0bf7e40f047c8f14dedf9c
- https://github.com/miniupnp/miniupnp
- https://www.vulncheck.com/advisories/miniupnpc-through-2.3.3-heap-out-of-bounds-read-via-minixml-parseelt