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

CVE details

CVE-2022-40138

An integer conversion error in Hermes bytecode generation, prior to commit 6aa825e480d48127b480b08d13adf70033237097, could have been used to perform Out-Of-Bounds operations and subsequently execute arbitrary code. Note that this is only exploitable in cases where Hermes is used to execute untrusted JavaScript. Hence, most React Native applications are not affected.

Score
9.8 critical
Published
2022-10-11
Links
NVD · cve.org

Affected ports (1)

PortPackageVersionStatusMaintainer
lang/hermeshermes-javascript-engine0.13.0_1unaddressedyuri@FreeBSD.org

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>hermes-javascript-engine</name>
	<range><lt>2022-09-27</lt></range>
      </package>
    </affects>
    <description>
      <body xmlns="http://www.w3.org/1999/xhtml">
	<p>An integer conversion error in Hermes bytecode generation, prior to
	commit 6aa825e480d48127b480b08d13adf70033237097, could have been used
	to perform Out-Of-Bounds operations and subsequently execute arbitrary
	code. Note that this is only exploitable in cases where Hermes is used
	to execute untrusted JavaScript. Hence, most React Native applications
	are not affected.</p>
      </body>
    </description>
    <references>
      <cvename>CVE-2022-40138</cvename>
      <url>https://nvd.nist.gov/vuln/detail/CVE-2022-40138</url>
    </references>
    <dates>
      <discovery>2022-10-11</discovery>
      <entry>2026-10-25</entry>
    </dates>
  </vuln>