CVE-2018-20751 An issue was discovered in crop_page in PoDoFo 0.9.6. For a crafted PDF document, pPage->GetObject()->GetDictionary().AddKey(PdfName("MediaBox"),var) can be problematic due to the function GetObject()...
HighCVSS 8.8
EPSS 1.6%
- Published
- Updated
- Exploit status
- No public exploit known
Description
An issue was discovered in crop_page in PoDoFo 0.9.6. For a crafted PDF document, pPage->GetObject()->GetDictionary().AddKey(PdfName("MediaBox"),var) can be problematic due to the function GetObject() being called for the pPage NULL pointer object. The value of pPage at this point is 0x0, which causes a NULL pointer dereference.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libpodofo(Debian:12) | < 0.9.6+dfsg-4 | 0.9.6+dfsg-4 |
| debian/libpodofo(Debian:13) | < 0.9.6+dfsg-4 | 0.9.6+dfsg-4 |
| debian/libpodofo(Debian:14) | < 0.9.6+dfsg-4 | 0.9.6+dfsg-4 |
| podofo project podofo | = 0.9.6 | No fix listed |
| alpine/podofo(Alpine:v3.13) | < 0.9.7-r0 | 0.9.7-r0 |
| alpine/podofo(Alpine:v3.14) | < 0.9.7-r0 | 0.9.7-r0 |
| alpine/podofo(Alpine:v3.15) | < 0.9.7-r0 | 0.9.7-r0 |
| alpine/podofo(Alpine:v3.16) | < 0.9.7-r0 | 0.9.7-r0 |
| alpine/podofo(Alpine:v3.17) | < 0.9.7-r0 | 0.9.7-r0 |
| alpine/podofo(Alpine:v3.18) | < 0.9.7-r0 | 0.9.7-r0 |
| alpine/podofo(Alpine:v3.19) | < 0.9.7-r0 | 0.9.7-r0 |
| alpine/podofo(Alpine:v3.20) | < 0.9.7-r0 | 0.9.7-r0 |
| alpine/podofo(Alpine:v3.21) | < 0.9.7-r0 | 0.9.7-r0 |
| alpine/podofo(Alpine:v3.22) | < 0.9.7-r0 | 0.9.7-r0 |
| alpine/podofo(Alpine:v3.23) | < 0.9.7-r0 | 0.9.7-r0 |
| alpine/podofo(Alpine:v3.24) | < 0.9.7-r0 | 0.9.7-r0 |
References
- Debian Security Tracker CVE-2018-20751 vendor-advisory
- research.loginsoft.com exploit third-party-advisory
- sourceforge.net exploit third-party-advisory
- security.alpinelinux.org vendor-advisory