Use After Free Affecting curl package, versions <7.62.0-r0


0.0
critical

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 1.54% (87th percentile)
Expand this section
NVD
9.8 critical
Expand this section
SUSE
4.3 medium
Expand this section
Red Hat
5 medium

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-ALPINE318-CURL-5511844
  • published 2 Dec 2018
  • disclosed 31 Oct 2018

How to fix?

Upgrade Alpine:3.18 curl to version 7.62.0-r0 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 Alpine. See How to fix? for Alpine:3.18 relevant fixed versions and status.

A heap use-after-free flaw was found in curl versions from 7.59.0 through 7.61.1 in the code related to closing an easy handle. When closing and cleaning up an 'easy' handle in the Curl_close() function, the library code first frees a struct (without nulling the pointer) and might then subsequently erroneously write to a struct field within that already freed struct.