Affected versions
Ubuntu18.04:LTS/openssl1.0
- Affected versions
- <1.0.2n-1ubuntu5.9
- Fixed version
- 1.0.2n-1ubuntu5.9
Ubuntu18.04:LTS/openssl
- Affected versions
- <1.1.1-1ubuntu2.1~18.04.17
- Fixed version
- 1.1.1-1ubuntu2.1~18.04.17
Ubuntu20.04:LTS/openssl
- Affected versions
- <1.1.1f-1ubuntu2.13
- Fixed version
- 1.1.1f-1ubuntu2.13
Ubuntu22.04:LTS/nodejs
- Affected versions
- <12.22.9~dfsg-1ubuntu3.1
- Fixed version
- 12.22.9~dfsg-1ubuntu3.1
Ubuntu22.04:LTS/openssl
- Affected versions
- <3.0.2-0ubuntu1.1
- Fixed version
- 3.0.2-0ubuntu1.1
UbuntuPro:14.04:LTS/openssl
- Affected versions
- <1.0.1f-1ubuntu2.27+esm10
- Fixed version
- 1.0.1f-1ubuntu2.27+esm10
UbuntuPro:16.04:LTS/edk2
- Affected versions
- <0~20160408.ffea0a2c-2ubuntu0.2+esm3
- Fixed version
- 0~20160408.ffea0a2c-2ubuntu0.2+esm3
UbuntuPro:16.04:LTS/openssl
- Affected versions
- <1.0.2g-1ubuntu4.20+esm3
- Fixed version
- 1.0.2g-1ubuntu4.20+esm3
- Affected versions
- <1.0.2g-1ubuntu4.fips.4.20.3
- Fixed version
- 1.0.2g-1ubuntu4.fips.4.20.3
- Affected versions
- <1.1.1-1ubuntu2.fips.2.1~18.04.17
- Fixed version
- 1.1.1-1ubuntu2.fips.2.1~18.04.17
- Affected versions
- <1.1.1f-1ubuntu2.fips.13.1
- Fixed version
- 1.1.1f-1ubuntu2.fips.13.1
- Affected versions
- *
- Fixed version
- Not reported
- Affected versions
- *
- Fixed version
- Not reported
- Affected versions
- *
- Fixed version
- Not reported
Description
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).
Links
- https://mta.openssl.org/pipermail/openssl-announce/2022-May/000224.html
- https://ubuntu.com/security/CVE-2022-1292
- https://ubuntu.com/security/notices/USN-5402-1
- https://ubuntu.com/security/notices/USN-5402-2
- https://ubuntu.com/security/notices/USN-6457-1
- https://ubuntu.com/security/notices/USN-7018-1
- https://ubuntu.com/security/notices/USN-7060-1
- https://www.cve.org/CVERecord?id=CVE-2022-1292

