ghsa-6vwf-m72q-cw8h
Vulnerability from github
Published
2022-05-13 01:34
Modified
2022-05-13 01:34
Severity
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.

Show details on source website


{
  "affected": [],
  "aliases": [
    "CVE-2018-16840"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-416"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2018-10-31T18:29:00Z",
    "severity": "CRITICAL"
  },
  "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 \u0027easy\u0027 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.",
  "id": "GHSA-6vwf-m72q-cw8h",
  "modified": "2022-05-13T01:34:06Z",
  "published": "2022-05-13T01:34:06Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-16840"
    },
    {
      "type": "WEB",
      "url": "https://github.com/curl/curl/commit/81d135d67155c5295b1033679c606165d4e28f3f"
    },
    {
      "type": "WEB",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16840"
    },
    {
      "type": "WEB",
      "url": "https://curl.haxx.se/docs/CVE-2018-16840.html"
    },
    {
      "type": "WEB",
      "url": "https://security.gentoo.org/glsa/201903-03"
    },
    {
      "type": "WEB",
      "url": "https://usn.ubuntu.com/3805-1"
    },
    {
      "type": "WEB",
      "url": "http://www.securitytracker.com/id/1042013"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...