CVE-2019-12412
Linux Debian vulnerability analysis and mitigation

Overview

A vulnerability was discovered in libapreq2 versions 2.07 to 2.13 (CVE-2019-12412) where the multipart parser could dereference a null pointer leading to a process crash. The flaw was introduced in 2005 and affects all versions of libapreq2 that were shipped in various distributions (Debian Bug, Ubuntu Security).

Technical details

The vulnerability exists in the multipart parser where a NULL pointer dereference occurs when processing nested multipart form submissions. Specifically, when a Content-Type field contains 'multipart/' without a boundary attribute, the createmultipartcontext() function returns NULL, but the code proceeds to dereference this pointer without validation. The vulnerability has a CVSS 3.1 Base Score of 7.5 (High) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (Ubuntu Security).

Impact

When exploited, this vulnerability allows a remote attacker to cause a process crash by sending a specially crafted HTTP request, potentially leading to a denial of service condition. The impact is limited to availability, with no direct effect on confidentiality or integrity (NVD).

Mitigation and workarounds

The issue has been fixed by adding a NULL pointer check before dereferencing the context returned by createmultipartcontext(). The fix was committed to the Apache Subversion repository in revision 1866760. Various distributions have released patched versions: Ubuntu has fixed it in multiple releases including 18.04 LTS (2.13-7~deb10u1build0.18.04.1) and 16.04 LTS (2.13-4ubuntu2+esm1) (Ubuntu Security).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management