Double Free Affecting curl package, versions <7.22.0-3ubuntu4.17


Severity

Recommended
medium

Based on Ubuntu security rating

    Threat Intelligence

    EPSS
    1.31% (87th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-UBUNTU1204-CURL-358585
  • published 27 Jun 2018
  • disclosed 31 Jul 2018

How to fix?

Upgrade Ubuntu:12.04 curl to version 7.22.0-3ubuntu4.17 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream curl package and not the curl package as distributed by Ubuntu. See How to fix? for Ubuntu:12.04 relevant fixed versions and status.

The libcurl API function called curl_maprintf() before version 7.51.0 can be tricked into doing a double-free due to an unsafe size_t multiplication, on systems using 32 bit size_t variables.