The c_rehash script does not properly sanitise shell metacharacters to prevent command injection. This script is distributed by some operating systems in a manner where it is automatically executed. On such operating systems, an attacker could execute arbitrary commands with the privileges of the script. Use of the c_rehash script is considered obsolete and should be replaced by the OpenSSL rehash command line tool. Fixed in OpenSSL 3.0.3 (Affected 3.0.0,3.0.1,3.0.2). Fixed in OpenSSL 1.1.1o (Affected 1.1.1-1.1.1n). Fixed in OpenSSL 1.0.2ze (Affected 1.0.2-1.0.2zd).
{
"license": "CC-BY-4.0",
"sources": [
{
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2022-1292",
"database_specific": {
"status": "Modified"
},
"id": "CVE-2022-1292",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-1292",
"published": "2022-05-03T16:15:18.823Z",
"imported": "2026-07-17T21:24:44.975Z",
"modified": "2026-06-17T04:22:09.873Z"
},
{
"url": "https://api.github.com/advisories/GHSA-qjmp-vmxc-7p8r",
"id": "GHSA-qjmp-vmxc-7p8r",
"html_url": "https://github.com/advisories/GHSA-qjmp-vmxc-7p8r",
"published": "2022-05-04T00:00:23Z",
"imported": "2026-07-17T21:24:45.166Z",
"modified": "2025-08-13T15:31:33Z"
},
{
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2022-24621",
"id": "EUVD-2022-24621",
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-24621",
"imported": "2026-07-17T21:24:55.382Z",
"published": "2022-05-03T15:15:19Z",
"modified": "2025-12-30T04:55:25Z"
}
]
}