Vulnerability · Published Jun 2, 2023 · Assigned by mitre
CVE-2023-33476
Critical 9.8
In plain English
A critical-severity out-of-bounds write in the minidlna package (Debian). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 81% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
ReadyMedia (MiniDLNA) versions from 1.1.15 up to 1.3.2 is vulnerable to Buffer Overflow. The vulnerability is caused by incorrect validation logic when handling HTTP requests using chunked transport encoding. This results in other code later using attacker-controlled chunk values that exceed the length of the allocated buffer, resulting in out-of-bounds read/write.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | minidlna | 1.3.0+dfsg-2.2+deb12u1 | DEBIAN-CVE-2023-33476 |
| Debian:12 | minidlna | 1.3.0+dfsg-2.2+deb12u1 | DSA-5434-1 |
| Debian:13 | minidlna | 1.3.2+dfsg-1.1 | DEBIAN-CVE-2023-33476 |
| Debian:14 | minidlna | 1.3.2+dfsg-1.1 | DEBIAN-CVE-2023-33476 |
| Ubuntu:22.04:LTS | minidlna | 1.3.0+dfsg-2.1ubuntu0.1 | USN-6398-1 |
| Ubuntu:22.04:LTS | minidlna | 1.3.0+dfsg-2.1ubuntu0.1 | UBUNTU-CVE-2023-33476 |
Affected products (as reported)
Weakness: CWE-787 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://sourceforge.net/projects/minidlna/
- https://blog.coffinsec.com/0day/2023/05/31/minidlna-heap-overflow-rca.html
- https://sourceforge.net/p/minidlna/git/ci/9bd58553fae5aef3e6dd22f51642d2c851225aec/
- [debian-lts-announce] 20230621 [SECURITY] [DLA 3465-1] minidlna security update mailing-list
- DSA-5434 vendor-advisory
- GLSA-202311-12 vendor-advisory