{ "schema_version": "1.4.0", "id": "GHSA-wcg9-65qx-c5vj", "modified": "2025-04-20T03:39:20Z", "published": "2022-05-17T00:31:37Z", "aliases": [ "CVE-2017-1000373" ], "details": "The OpenBSD qsort() function is recursive, and not randomized, an attacker can construct a pathological input array of N elements that causes qsort() to deterministically recurse N/4 times. This allows attackers to consume arbitrary amounts of stack memory and manipulate stack memory to assist in arbitrary code execution attacks. This affects OpenBSD 6.1 and possibly earlier versions.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L" } ], "affected": [], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000373" }, { "type": "WEB", "url": "https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libc/stdlib/qsort.c?rev=1.15&content-type=text/x-cvsweb-markup" }, { "type": "WEB", "url": "https://support.apple.com/HT208112" }, { "type": "WEB", "url": "https://support.apple.com/HT208113" }, { "type": "WEB", "url": "https://support.apple.com/HT208115" }, { "type": "WEB", "url": "https://support.apple.com/HT208144" }, { "type": "WEB", "url": "https://www.exploit-db.com/exploits/42271" }, { "type": "WEB", "url": "https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt" }, { "type": "WEB", "url": "http://www.securityfocus.com/bid/99177" }, { "type": "WEB", "url": "http://www.securitytracker.com/id/1039427" } ], "database_specific": { "cwe_ids": [ "CWE-400" ], "severity": "MODERATE", "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2017-06-19T16:29:00Z" } }