CVE and update status of the FreeBSD ports tree4,526 unaddressed CVEs in 616 portsAll times are CET

CVE details

CVE-2022-1292

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).

Score
7.3 high
Published
2022-05-03
Links
NVD · cve.org

Affected ports (2)

PortPackageVersionStatusMaintainer
security/linux-c7-openssl-devellinux-c7-openssl-devel1.0.2k_2unaddressedemulation@FreeBSD.org
security/openssl-unsafeopenssl-unsafe1.0.2.20170706unaddressedbrnrd@FreeBSD.org

VuXML

Template for a VuXML entry

Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.

  <vuln vid="FIXME (make newentry)">
    <topic>FIXME -- FIXME</topic>
    <affects>
      <package>
	<name>linux-c7-openssl-devel</name>
	<range><lt>1.0.2ze</lt></range>
      </package>
      <package>
	<name>openssl-unsafe</name>
	<range><lt>1.0.2ze</lt></range>
      </package>
    </affects>
    <description>
      <body xmlns="http://www.w3.org/1999/xhtml">
	<p>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).</p>
      </body>
    </description>
    <references>
      <cvename>CVE-2022-1292</cvename>
      <url>https://nvd.nist.gov/vuln/detail/CVE-2022-1292</url>
    </references>
    <dates>
      <discovery>2022-05-03</discovery>
      <entry>2026-10-25</entry>
    </dates>
  </vuln>