VDB

GHSA-xc3w-ghxg-pw5f

GHSA-xc3w-ghxg-pw5f PUBLISHED

Record from GitHub Advisory Database · Published July 26, 2023

libcurl can be told to save cookie, HSTS and/or alt-svc data to files. When doing this, it called `stat()` followed by `fopen()` in a way that made it vulnerable to a TOCTOU race condition problem. By exploiting this flaw, an attacker could trick the victim to create or overwrite protected files holding this data in ways it was not intended to.

Affected products

VendorProductVersions
wolficurl*
chainguardcurl*

Timeline

  • Jul 26, 2023 CVE Published
  • Apr 10, 2026 Distribution Patch
  • Apr 10, 2026 Security Advisory (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln GHSA-xc3w-ghxg-pw5f
vulnetix vdb fixes GHSA-xc3w-ghxg-pw5f

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/GHSA-xc3w-ghxg-pw5f/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›