{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/18494?format=json","vulnerability_id":"VCID-3h9c-dfvd-g3a4","summary":"Time-of-check Time-of-use (TOCTOU) Race Condition\nlibcurl can be told to save cookie, HSTS and/or alt-svc data to files. When\ndoing this, it called `stat()` followed by `fopen()` in a way that made it\nvulnerable to a TOCTOU race condition problem.\n\nBy exploiting this flaw, an attacker could trick the victim to create or\noverwrite protected files holding this data in ways it was not intended to.","aliases":[{"alias":"CVE-2023-32001"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/83330?format=json","purl":"pkg:ebuild/net-misc/curl@8.3.0-r2","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:ebuild/net-misc/curl@8.3.0-r2"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/59117?format=json","purl":"pkg:conan/libcurl@7.84.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3h9c-dfvd-g3a4"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:conan/libcurl@7.84.0"},{"url":"http://public2.vulnerablecode.io/api/packages/59118?format=json","purl":"pkg:conan/libcurl@8.1.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3h9c-dfvd-g3a4"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:conan/libcurl@8.1.2"}],"references":[{"reference_url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2023-32001.json","reference_id":"","reference_type":"","scores":[{"value":"5.5","scoring_system":"cvssv3","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L"}],"url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2023-32001.json"},{"reference_url":"https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml","reference_id":"","reference_type":"","scores":[{"value":"5.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"}],"url":"https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"},{"reference_url":"https://hackerone.com/reports/2039870","reference_id":"","reference_type":"","scores":[],"url":"https://hackerone.com/reports/2039870"},{"reference_url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BGJ7POX4ATGERTSBFJPW2EQH4Z65PSZJ/","reference_id":"","reference_type":"","scores":[],"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BGJ7POX4ATGERTSBFJPW2EQH4Z65PSZJ/"},{"reference_url":"https://www.debian.org/security/2023/dsa-5460","reference_id":"","reference_type":"","scores":[],"url":"https://www.debian.org/security/2023/dsa-5460"},{"reference_url":"https://bugzilla.redhat.com/show_bug.cgi?id=2222604","reference_id":"2222604","reference_type":"","scores":[],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2222604"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2023-32001","reference_id":"CVE-2023-32001","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-32001"},{"reference_url":"https://security.gentoo.org/glsa/202310-12","reference_id":"GLSA-202310-12","reference_type":"","scores":[],"url":"https://security.gentoo.org/glsa/202310-12"},{"reference_url":"https://usn.ubuntu.com/6237-1/","reference_id":"USN-6237-1","reference_type":"","scores":[],"url":"https://usn.ubuntu.com/6237-1/"}],"weaknesses":[{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."},{"cwe_id":367,"name":"Time-of-check Time-of-use (TOCTOU) Race Condition","description":"The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check. This can cause the product to perform invalid actions when the resource is in an unexpected state."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."}],"exploits":[],"severity_range_score":"5.5 - 5.5","exploitability":"0.5","weighted_severity":"5.0","risk_score":2.5,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-3h9c-dfvd-g3a4"}