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

CVE details

CVE-2021-3520

There's a flaw in lz4. An attacker who submits a crafted file to an application linked with lz4 may be able to trigger an integer overflow, leading to calling of memmove() on a negative size argument, causing an out-of-bounds write and/or a crash. The greatest impact of this flaw is to availability, with some potential impact to confidentiality and integrity as well.

Score
9.8 critical
Published
2021-06-02
Links
NVD · cve.org

Affected ports (2)

PortPackageVersionStatusMaintainer
archivers/linux-c7-lz4linux-c7-lz41.8.3unaddressedemulation@FreeBSD.org
archivers/linux-rl9-lz4linux-rl9-lz41.9.3_1unaddressedemulation@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>linux-c7-lz4</name>
	<range><lt>1.9.4</lt></range>
      </package>
      <package>
	<name>linux-rl9-lz4</name>
	<range><lt>1.9.4</lt></range>
      </package>
    </affects>
    <description>
      <body xmlns="http://www.w3.org/1999/xhtml">
	<p>There's a flaw in lz4. An attacker who submits a crafted file to an
	application linked with lz4 may be able to trigger an integer
	overflow, leading to calling of memmove() on a negative size argument,
	causing an out-of-bounds write and/or a crash. The greatest impact of
	this flaw is to availability, with some potential impact to
	confidentiality and integrity as well.</p>
      </body>
    </description>
    <references>
      <cvename>CVE-2021-3520</cvename>
      <url>https://nvd.nist.gov/vuln/detail/CVE-2021-3520</url>
    </references>
    <dates>
      <discovery>2021-06-02</discovery>
      <entry>2026-10-25</entry>
    </dates>
  </vuln>