CVE-2017-15015
High · 8.8CVSS
8.8
EPSS
1.4%
Published
Oct 5, 2017
CISA due date
—
Cloudanix analysis
A bug in image handling software inside certain Consul packages could let attackers crash services or run unwanted code by sending specially made files.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
NULL pointer dereference in PDFDelegateMessage within coders/pdf.c leads to memory corruption when processing crafted PDF input.
Why it matters to the business
Affected Consul packages may experience service crashes or potential code execution when handling untrusted PDF content, requiring prompt upgrades to avoid operational disruption despite low exploitation likelihood.
How an attack unfolds
An attacker crafts a malicious PDF that triggers PDFDelegateMessage, causing the NULL dereference when the vulnerable ImageMagick component in Consul processes the file.
How to fix it
Upgrade consul-1.17-fips, consul-1.17-fips-oci-entrypoint, and consul-1.17-fips-oci-entrypoint-compat to version 1.17.3-r1 or later.
How to confirm the fix worked
Verify installed package versions match or exceed the fixed versions listed for each affected Consul variant and test PDF processing functionality post-upgrade.
Typical attack path
- Locate an application or service using vulnerable Consul packages that processes PDF files
- Craft and deliver a malicious PDF to trigger the code path in coders/pdf.c
- Trigger NULL dereference resulting in crash or memory corruption for further exploitation
How to detect it
Inspect application logs and core dumps for crashes originating from pdf.c or PDFDelegateMessage; review any PDF processing activity around failure timestamps.
What your security team should do
- Immediately upgrade all listed Consul packages to 1.17.3-r1
- Review and restrict PDF processing workflows until patches are applied
- Monitor EPSS and KEV status for any change in threat landscape
The record
ImageMagick 7.0.7-0 Q16 has a NULL pointer dereference vulnerability in PDFDelegateMessage in coders/pdf.c.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | imagemagick | 0 | 8:6.9.9.34+dfsg-3 |
| Debian:11 | imagemagick | 0 | 8:6.9.9.34+dfsg-3 |
| Debian:12 | imagemagick | 0 | 8:6.9.9.34+dfsg-3 |
| Debian:13 | imagemagick | 0 | 8:6.9.9.34+dfsg-3 |
| Debian:8 | imagemagick | 0 | 8:6.8.9.9-5+deb8u16 |
| Debian:9 | imagemagick | 0 | 8:6.9.7.4+dfsg-11+deb9u10 |
| Ubuntu:14.04:LTS | imagemagick | 0 | 8:6.7.7.10-6ubuntu3.11 |
| Ubuntu:16.04:LTS | imagemagick | 0 | 8:6.8.9.9-7ubuntu5.11 |
| Ubuntu:18.04:LTS | imagemagick | 0 | 8:6.9.7.4+dfsg-16ubuntu6.2 |
Related vulnerabilities
- CVE-2017-17682 In ImageMagick 7.0.7-12 Q16, a large loop vulnerability was found in the function… Also affects imagemagick
- CVE-2017-17681 In ImageMagick 7.0.7-12 Q16, an infinite loop vulnerability was found in the function… Also affects imagemagick
- CVE-2017-15281 ReadPSDImage in coders/psd.c in ImageMagick 7.0.7-6 allows remote attackers to cause a… Also affects imagemagick
- CVE-2017-15017 ImageMagick 7.0.7-0 Q16 has a NULL pointer dereference vulnerability in ReadOneMNGImage… Also affects imagemagick
- CVE-2017-14739 The AcquireResampleFilterThreadSet function in magick/resample-private.h in ImageMagick… Also affects imagemagick
- CVE-2017-14741 The ReadCAPTIONImage function in coders/caption.c in ImageMagick 7.0.7-3 allows remote… Also affects imagemagick
- CVE-2017-14626 ImageMagick 7.0.7-0 Q16 has a NULL Pointer Dereference vulnerability in the function… Also affects imagemagick
- CVE-2017-14625 ImageMagick 7.0.7-0 Q16 has a NULL Pointer Dereference vulnerability in the function… Also affects imagemagick