Out-of-bounds Write Affecting curl package, versions <7.47.0-1ubuntu2.2


Severity

Recommended
medium

Based on Ubuntu security rating

    Threat Intelligence

    EPSS
    0.06% (28th 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-UBUNTU1604-CURL-358612
  • published 27 Jun 2018
  • disclosed 31 Jul 2018

How to fix?

Upgrade Ubuntu:16.04 curl to version 7.47.0-1ubuntu2.2 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:16.04 relevant fixed versions and status.

The base64 encode function in curl before version 7.51.0 is prone to a buffer being under allocated in 32bit systems if it receives at least 1Gb as input via CURLOPT_USERNAME.