UBUNTU-CVE-2018-16840

See a problem?
Source
https://ubuntu.com/security/notices/UBUNTU-CVE-2018-16840
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-16840.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2018-16840
Related
Published
2018-10-31T00:00:00Z
Modified
2018-10-31T00:00:00Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:18.04:LTS / curl

Package

Name
curl
Purl
pkg:deb/ubuntu/curl@7.58.0-2ubuntu3.3?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.58.0-2ubuntu3.3

Affected versions

7.*

7.55.1-1ubuntu2
7.55.1-1ubuntu2.1
7.57.0-1ubuntu1
7.58.0-2ubuntu1
7.58.0-2ubuntu2
7.58.0-2ubuntu3
7.58.0-2ubuntu3.1
7.58.0-2ubuntu3.2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "curl-dbgsym": "7.58.0-2ubuntu3.3",
            "curl": "7.58.0-2ubuntu3.3",
            "libcurl4": "7.58.0-2ubuntu3.3",
            "libcurl4-gnutls-dev": "7.58.0-2ubuntu3.3",
            "libcurl4-dbgsym": "7.58.0-2ubuntu3.3",
            "libcurl3-nss": "7.58.0-2ubuntu3.3",
            "libcurl4-doc": "7.58.0-2ubuntu3.3",
            "libcurl3-nss-dbgsym": "7.58.0-2ubuntu3.3",
            "libcurl3-gnutls": "7.58.0-2ubuntu3.3",
            "libcurl3-gnutls-dbgsym": "7.58.0-2ubuntu3.3",
            "libcurl4-openssl-dev": "7.58.0-2ubuntu3.3",
            "libcurl4-nss-dev": "7.58.0-2ubuntu3.3"
        }
    ]
}