Improper Input Validation Affecting curl package, versions <7.22.0-3ubuntu4.17


Severity

Recommended
medium

Based on Ubuntu security rating

    Threat Intelligence

    EPSS
    0.66% (80th 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-358736
  • 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.

curl before version 7.51.0 doesn't parse the authority component of the URL correctly when the host name part ends with a '#' character, and could instead be tricked into connecting to a different host. This may have security implications if you for example use an URL parser that follows the RFC to check for allowed domains before using curl to request them.